in pom.xml have this:
<instructions> <embed-transitive>true</embed-transitive> <export-package> com.amazonaws.httpmethod, com.amazonaws.services.s3.* </export-package> <embed-dependency> gson, aws-java-sdk, jackson-core </embed-dependency> ...
and dependencies have these:
<dependency> <groupid>com.amazonaws</groupid> <artifactid>aws-java-sdk-s3</artifactid> <version>1.11.115</version> </dependency> <dependency> <groupid>com.amazonaws</groupid> <artifactid>aws-java-sdk-core</artifactid> <version>1.11.115</version> </dependency>
when build .jar mvn clean install
, upload aem see this:
what these "extra" packages in red can't resolve, , how can resolve them?
how can prevent happening before build , upload package aem?
the packages in red packages you've imported in you're classes java import
. dependencies imports come need embedded in pom in <embed-dependency>
. alternatively, can install aem bundle exports packages in order bundle imports resolved.
Comments
Post a Comment