Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit javax.annotation-api dependency no longer matches AEM on Java 8 package export #1934

Closed
3 tasks done
adamcin opened this issue Jun 7, 2019 · 0 comments · Fixed by #1935
Closed
3 tasks done

Comments

@adamcin
Copy link
Contributor

adamcin commented Jun 7, 2019

Required Information

  • AEM Version, including Service Packs, Cumulative Fix Packs, etc: 6.4 on Java 8
  • ACS AEM Commons Version: master
  • Reproducible on Latest? yes/no

Expected Behavior

The acs-aem-commons-bundle should activate upon installation in AEM 6.4 on Java 8.

Actual Behavior

acs-aem-commons-bundle no longer activates in AEM 6.4 on Java 8 after adding javax.annotation-api:1.3.2 dependency to pom. The OSGi wiring conflict is due to the boot classloader exporting javax.annotation,version=0.0.0.1_008_JavaSE from org.apache.felix.framework, while the latest version of the bundle is expecting javax.annotation,version=[1.3,2) -- Cannot be resolved.

Steps to Reproduce

  1. Start vanilla AEM 6.4 instance on Java 8
  2. checkout master and run mvn clean install -PautoInstallPackage

Links

Change introduced in #1893

adamcin added a commit to adamcin/acs-aem-commons that referenced this issue Jun 7, 2019
adamcin added a commit to adamcin/acs-aem-commons that referenced this issue Jun 7, 2019
davidjgonzalez pushed a commit that referenced this issue Jun 7, 2019
…#1935)

* resolves #1934 add explicit javax.annotation version to bundle-plugin

* updated changelog for issue #1934

* add comment describing retention period for explicit javax.annotation import.
id-keenan added a commit to id-keenan/acs-aem-commons that referenced this issue Jun 7, 2019
* master:
  resolves Adobe-Consulting-Services#1934 add explicit javax.annotation version to bundle-plugin (Adobe-Consulting-Services#1935)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant