apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vlad Rozov <v.ro...@datatorrent.com>
Subject Re: maven-shade-plugin
Date Wed, 07 Dec 2016 02:47:10 GMT
Apex depends on httpclient 4.3.5 and if httpclient follows proper 
semantic versioning, httpclient 4.5.2 should be binary compatible with 
4.3.5. You may try to replace httpclient-4.3.5.jar and 
httpcore-4.3.2.jar in the apex lib installation 
(/opt/datatorrent/current/lib) with httpclient-4.5.2.jar and the 
corresponding httpcore dependency.

Thank you,

Vlad

On 12/6/16 12:07, Jim wrote:
>
> Munagala,
>
> I don’t get the error that you identify; but I also don’t see the 
> shaded module in the FILE folder when done.
>
> And, since the deps was copied in the maven-assembly-plugin, I still 
> see the 4.5.2 httpclient library in the FILES folder.
>
> So I don’t think this is set up properly yet.
>
> Jim
>
> *From:*Jim [mailto:jim@facility.supplies]
> *Sent:* Tuesday, December 6, 2016 1:52 PM
> *To:* users@apex.apache.org
> *Subject:* RE: maven-shade-plugin
>
> Did that correctly shade the httpclient library then?
>
> *From:*Munagala Ramanath [mailto:ram@datatorrent.com]
> *Sent:* Tuesday, December 6, 2016 1:45 PM
> *To:* users@apex.apache.org <mailto:users@apex.apache.org>
> *Subject:* Re: maven-shade-plugin
>
> I tried your pom.xml with the simple project generated by the maven 
> apex archetype and got this error:
>
> --------------------
>
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-resources-plugin:2.7:copy-resources 
> (copy-resources) on project edi: Mark invalid -> [Help 1]
>
> --------------------
>
> I then added this fragment to the maven-resources-plugin element:
>
>         <dependencies>
>
>           <dependency>
>
> <groupId>org.apache.maven.shared</groupId>
>
> <artifactId>maven-filtering</artifactId>
>
> <version>1.3</version>
>
>           </dependency>
>
>         </dependencies>
>
> This time the build was successful. There is some discussion of this 
> "Mark invalid" error at:
>
> http://stackoverflow.com/questions/26281322/mavenfailed-to-execute-goal-org-apache-maven-pluginsmaven-resources-plugin2-7
>
> Ram
>
> On Tue, Dec 6, 2016 at 5:41 AM, Jim <jim@facility.supplies 
> <mailto:jim@facility.supplies>> wrote:
>
>     Good morning,
>
>     Has anyone successfully gotten the maven-shade-plugin to work to
>     create the necessary datatorrent .apa file, with the appropriate
>     ancillary libraries?
>
>     I am having a problem with Amazon’s EMR and a conflict with the
>     org.apache.httpcomponents.httpclient library.  My application
>     requires the latest version, 4.5.2, and the Hadoop / yarn system
>     requires an earlier version.
>
>     So I am trying to use the maven-shade-plugin to bundle and
>     relocate the httpcomponents libraries to eliminate the conflict.
>
>     Can someone see my source files below, and let me know the correct
>     way to configure my pom.xml so that the shade plugin works, in
>     conjunction with the rest of the plugins?  I have included both
>     the pom.xml, and the appPackage.xml that is used by the
>     maven-assembly-plugin in the step right after the shad plugin.
>
>     I have attempted to highlight the maven-shade-plugin section, but
>     am not sure if it will carry through to everyone’s email reader!
>
>     Thanks in advance for any assistance you can provide to get this
>     working!
>
>     Jim
>
>     ====================================== pom.xml
>     ======================================================================
>
>     /<?/*xml version**="1.0" **encoding**="UTF-8"*/?>
>     /<*project **xmlns**="http://maven.apache.org/POM/4.0.0"
>     **xmlns:**xsi**="http://www.w3.org/2001/XMLSchema-instance"
>     **xsi**:schemaLocation**="http://maven.apache.org/POM/4.0.0
>     http://maven.apache.org/xsd/maven-4.0.0.xsd"*>
>     <*modelVersion*>4.0.0</*modelVersion*>
>
>     <*groupId*>supplies.facility</*groupId*>
>     <*version*>1.0-SNAPSHOT</*version*>
>     <*artifactId*>edi</*artifactId*>
>     <*packaging*>jar</*packaging*>
>
>     /<!-- change these to the appropriate values -->
>     /<*name*>FS EDI</*name*>
>     <*description*>Facility Supplies EDI Processor</*description*>
>
>     <*properties*>
>     /<!-- change this if you desire to use a different version of
>     DataTorrent -->
>     /<*malhar.version*>3.5.0</*malhar.version*>
>     <*apex.version*>3.4.0</*apex.version*>
>     <*datatorrent.apppackage.classpath*>lib/*.jar</*datatorrent.apppackage.classpath*>
>     <*apex.apppackage.classpath*>lib/*.jar</*apex.apppackage.classpath*>
>     <*datatorrent.appconf.files*>files/*</*datatorrent.appconf.files*>
>     <*elasticsearch.version*>[2.2,2.3-alpha)</*elasticsearch.version*>
>     <*smooks.version*>1.6</*smooks.version*>
>     <*maven-enforcer-plugin.version*>[1.0,2.0-alpha)</*maven-enforcer-plugin.version*>
>     </*properties*>
>
>     /<!-- repository to provide the DataTorrent artifacts -->
>     /<*repositories*>
>     <*repository*>
>     <*snapshots*>
>     <*enabled*>false</*enabled*>
>     </*snapshots*>
>     <*id*>Datatorrent-Releases</*id*>
>     <*name*>DataTorrent Release Repository</*name*>
>     <*url*>https://www.datatorrent.com/maven/content/repositories/releases/</*url*>
>     </*repository*>
>     <*repository*>
>     <*releases*>
>     <*enabled*>false</*enabled*>
>     </*releases*>
>     <*id*>DataTorrent-Snapshots</*id*>
>     <*name*>DataTorrent Early Access Program Snapshot Repository</*name*>
>     <*url*>https://www.datatorrent.com/maven/content/repositories/snapshots/</*url*>
>     </*repository*>
>     </*repositories*>
>
>     <*build*>
>     <*plugins*>
>     <*plugin*>
>     <*groupId*>org.apache.maven.plugins</*groupId*>
>     <*artifactId*>maven-eclipse-plugin</*artifactId*>
>     <*version*>2.9</*version*>
>     <*configuration*>
>     <*downloadSources*>true</*downloadSources*>
>     </*configuration*>
>     </*plugin*>
>     <*plugin*>
>     <*artifactId*>maven-compiler-plugin</*artifactId*>
>     <*version*>3.3</*version*>
>     <*configuration*>
>     <*encoding*>UTF-8</*encoding*>
>     <*source*>1.7</*source*>
>     <*target*>1.7</*target*>
>     <*debug*>true</*debug*>
>     <*optimize*>false</*optimize*>
>     <*showDeprecation*>true</*showDeprecation*>
>     <*showWarnings*>true</*showWarnings*>
>     </*configuration*>
>     </*plugin*>
>     <*plugin*>
>     <*artifactId*>maven-dependency-plugin</*artifactId*>
>     <*version*>2.8</*version*>
>     <*executions*>
>     <*execution*>
>     <*id*>copy-dependencies</*id*>
>     <*phase*>prepare-package</*phase*>
>     <*goals*>
>     <*goal*>copy-dependencies</*goal*>
>     </*goals*>
>     <*configuration*>
>     <*outputDirectory*>target/deps</*outputDirectory*>
>     <*includeScope*>runtime</*includeScope*>
>     </*configuration*>
>     </*execution*>
>     </*executions*>
>     </*plugin*>
>
>
>     <*plugin*>
>     <*groupId*>org.apache.maven.plugins</*groupId*>
>     <*artifactId*>maven-enforcer-plugin</*artifactId*>
>     <*version*>1.4.1</*version*>
>     <*executions*>
>     <*execution*>
>     <*id*>enforce</*id*>
>     <*configuration*>
>     <*rules*>
>     <*DependencyConvergence*/>
>     </*rules*>
>     </*configuration*>
>     <*goals*>
>     <*goal*>enforce</*goal*>
>     </*goals*>
>     </*execution*>
>     </*executions*>
>     </*plugin*>
>
>     <*plugin*>
>             <*groupId*>org.apache.maven.plugins</*groupId*>
>             <*artifactId*>maven-shade-plugin</*artifactId*>
>             <*version*>2.4.3</*version*>
>             <*executions*>
>               <*execution*>
>                 <*phase*>package</*phase*>
>                 <*goals*>
>                   <*goal*>shade</*goal*>
>                 </*goals*>
>                 <*configuration*>
>                  
>     <*shadedArtifactAttached*>true</*shadedArtifactAttached*>
>                   <*relocations*>
>                     <*relocation*>
>                       <*pattern*>org.apache.httpcomponents</*pattern*>
>                      
>     <*shadedPattern*>org.shaded.httpcomponents</*shadedPattern*>
>                       <*includes*>
>                         <*include*>org.apache.httpcomponents.*</*include*>
>                       </*includes*>
>                     </*relocation*>
>                   </*relocations*>
>                 </*configuration*>
>               </*execution*>
>             </*executions*>
>           </*plugin*>
>
>     <*plugin*>
>     <*groupId*>org.apache.maven.plugins</*groupId*>
>     <*artifactId*>maven-assembly-plugin</*artifactId*>
>     <*version*>2.6</*version*>
>     <*executions*>
>     <*execution*>
>     <*id*>app-package-assembly</*id*>
>     <*phase*>package</*phase*>
>     <*goals*>
>     <*goal*>single</*goal*>
>     </*goals*>
>     <*configuration*>
>     <*finalName*>${project.artifactId}-${project.version}-apexapp</*finalName*>
>     <*appendAssemblyId*>false</*appendAssemblyId*>
>     <*descriptors*>
>     <*descriptor*>src/assemble/appPackage.xml</*descriptor*>
>     </*descriptors*>
>     <*archiverConfig*>
>     <*defaultDirectoryMode*>0755</*defaultDirectoryMode*>
>     </*archiverConfig*>
>     <*archive*>
>     <*manifestEntries*>
>     <*Class-Path*>${datatorrent.apppackage.classpath}</*Class-Path*>
>     <*DT-Engine-Version*>${apex.version}</*DT-Engine-Version*>
>     <*DT-App-Package-Name*>${project.artifactId}</*DT-App-Package-Name*>
>     <*DT-App-Package-Version*>${project.version}</*DT-App-Package-Version*>
>     <*DT-App-Package-Display-Name*>${project.name
>     <http://project.name>}</*DT-App-Package-Display-Name*>
>     <*DT-App-Package-Description*>${project.description}</*DT-App-Package-Description*>
>     </*manifestEntries*>
>     </*archive*>
>     </*configuration*>
>     </*execution*>
>     </*executions*>
>     </*plugin*>
>
>     <*plugin*>
>     <*groupId*>org.apache.maven.plugins</*groupId*>
>     <*artifactId*>maven-antrun-plugin</*artifactId*>
>     <*version*>1.8</*version*>
>     <*executions*>
>     <*execution*>
>     <*phase*>package</*phase*>
>     <*configuration*>
>     <*target*>
>     <*move
>     **file**="${project.build.directory}/${project.artifactId}-${project.version}-apexapp.jar"
>     **tofile**="${project.build.directory}/${project.artifactId}-${project.version}.apa"
>     */>
>     </*target*>
>     </*configuration*>
>     <*goals*>
>     <*goal*>run</*goal*>
>     </*goals*>
>     </*execution*>
>     <*execution*>
>     /<!-- create resource directory for xml javadoc-->
>     /<*id*>createJavadocDirectory</*id*>
>     <*phase*>generate-resources</*phase*>
>     <*configuration*>
>     <*tasks*>
>     <*delete
>     **dir**="${project.build.directory}/generated-resources/xml-javadoc"*/>
>     <*mkdir
>     **dir**="${project.build.directory}/generated-resources/xml-javadoc"*/>
>     </*tasks*>
>     </*configuration*>
>     <*goals*>
>     <*goal*>run</*goal*>
>     </*goals*>
>     </*execution*>
>     </*executions*>
>     </*plugin*>
>
>     <*plugin*>
>     <*groupId*>org.codehaus.mojo</*groupId*>
>     <*artifactId*>build-helper-maven-plugin</*artifactId*>
>     <*version*>1.10</*version*>
>     <*executions*>
>     <*execution*>
>     <*id*>attach-artifacts</*id*>
>     <*phase*>package</*phase*>
>     <*goals*>
>     <*goal*>attach-artifact</*goal*>
>     </*goals*>
>     <*configuration*>
>     <*artifacts*>
>     <*artifact*>
>     <*file*>target/${project.artifactId}-${project.version}.apa</*file*>
>     <*type*>apa</*type*>
>     </*artifact*>
>     </*artifacts*>
>     <*skipAttach*>false</*skipAttach*>
>     </*configuration*>
>     </*execution*>
>     </*executions*>
>     </*plugin*>
>
>     /<!-- generate javdoc -->
>     /<*plugin*>
>     <*groupId*>org.apache.maven.plugins</*groupId*>
>     <*artifactId*>maven-javadoc-plugin</*artifactId*>
>     <*version*>2.10.3</*version*>
>     <*executions*>
>     /<!-- generate xml javadoc -->
>     /<*execution*>
>     <*id*>xml-doclet</*id*>
>     <*phase*>generate-resources</*phase*>
>     <*goals*>
>     <*goal*>javadoc</*goal*>
>     </*goals*>
>     <*configuration*>
>     <*doclet*>com.github.markusbernhardt.xmldoclet.XmlDoclet</*doclet*>
>     <*additionalparam*>-d
>     ${project.build.directory}/generated-resources/xml-javadoc
>     -filename
>     ${project.artifactId}-${project.version}-javadoc.xml</*additionalparam*>
>     <*useStandardDocletOptions*>false</*useStandardDocletOptions*>
>     <*docletArtifact*>
>     <*groupId*>com.github.markusbernhardt</*groupId*>
>     <*artifactId*>xml-doclet</*artifactId*>
>     <*version*>1.0.4</*version*>
>     </*docletArtifact*>
>     </*configuration*>
>     </*execution*>
>     </*executions*>
>     </*plugin*>
>     /<!-- Transform xml javadoc to stripped down version containing
>     only class/interface comments and tags-->
>     /<*plugin*>
>     <*groupId*>org.codehaus.mojo</*groupId*>
>     <*artifactId*>xml-maven-plugin</*artifactId*>
>     <*version*>1.0.1</*version*>
>     <*executions*>
>     <*execution*>
>     <*id*>transform-xmljavadoc</*id*>
>     <*phase*>generate-resources</*phase*>
>     <*goals*>
>     <*goal*>transform</*goal*>
>     </*goals*>
>     </*execution*>
>     </*executions*>
>     <*configuration*>
>     <*transformationSets*>
>     <*transformationSet*>
>     <*dir*>${project.build.directory}/generated-resources/xml-javadoc</*dir*>
>     <*includes*>
>     <*include*>${project.artifactId}-${project.version}-javadoc.xml</*include*>
>     </*includes*>
>     <*stylesheet*>XmlJavadocCommentsExtractor.xsl</*stylesheet*>
>     <*outputDir*>${project.build.directory}/generated-resources/xml-javadoc</*outputDir*>
>     </*transformationSet*>
>     </*transformationSets*>
>     </*configuration*>
>     </*plugin*>
>     /<!-- copy xml javadoc to class jar -->
>     /<*plugin*>
>     <*groupId*>org.apache.maven.plugins</*groupId*>
>     <*artifactId*>maven-resources-plugin</*artifactId*>
>     <*version*>2.7</*version*>
>     <*executions*>
>     <*execution*>
>     <*id*>copy-resources</*id*>
>     <*phase*>process-resources</*phase*>
>     <*goals*>
>     <*goal*>copy-resources</*goal*>
>     </*goals*>
>     <*configuration*>
>     <*outputDirectory*>${basedir}/target/classes</*outputDirectory*>
>     <*resources*>
>     <*resource*>
>     <*directory*>${project.build.directory}/generated-resources/xml-javadoc</*directory*>
>     <*includes*>
>     <*include*>${project.artifactId}-${project.version}-javadoc.xml</*include*>
>     </*includes*>
>     <*filtering*>true</*filtering*>
>     </*resource*>
>     </*resources*>
>     </*configuration*>
>     </*execution*>
>     </*executions*>
>     </*plugin*>
>     </*plugins*>
>     </*build*>
>
>     <*dependencies*>
>     //<*dependency*>
>     <*groupId*>org.apache.apex</*groupId*>
>     <*artifactId*>malhar-library</*artifactId*>
>     <*version*>${malhar.version}</*version*>
>     </*dependency*>
>     //<*dependency*>
>     <*groupId*>org.apache.apex</*groupId*>
>     <*artifactId*>apex-common</*artifactId*>
>     <*version*>${apex.version}</*version*>
>     <*scope*>provided</*scope*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.apache.apex</*groupId*>
>     <*artifactId*>apex-engine</*artifactId*>
>     <*version*>${apex.version}</*version*>
>     <*scope*>test</*scope*>
>     <*exclusions*>
>     <*exclusion*>
>     <*artifactId*>commons-lang</*artifactId*>
>     <*groupId*>commons-lang</*groupId*>
>     </*exclusion*>
>     </*exclusions*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>junit</*groupId*>
>     <*artifactId*>junit</*artifactId*>
>     <*version*>4.8.2</*version*>
>     <*scope*>test</*scope*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.elasticsearch</*groupId*>
>     <*artifactId*>elasticsearch</*artifactId*>
>     <*version*>${elasticsearch.version}</*version*>
>     <*exclusions*>
>     <*exclusion*>
>     <*artifactId*>jackson-dataformat-cbor</*artifactId*>
>     <*groupId*>com.fasterxml.jackson.dataformat</*groupId*>
>     </*exclusion*>
>     </*exclusions*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.milyn</*groupId*>
>     <*artifactId*>milyn-smooks-edi</*artifactId*>
>     <*version*>${smooks.version}</*version*>
>     <*exclusions*>
>     <*exclusion*>
>     <*artifactId*>xercesImpl</*artifactId*>
>     <*groupId*>xerces</*groupId*>
>     </*exclusion*>
>     <*exclusion*>
>     <*artifactId*>icu4j</*artifactId*>
>     <*groupId*>com.ibm.icu</*groupId*>
>     </*exclusion*>
>     <*exclusion*>
>     <*artifactId*>xalan</*artifactId*>
>     <*groupId*>xalan</*groupId*>
>     </*exclusion*>
>     <*exclusion*>
>     <*artifactId*>commons-lang</*artifactId*>
>     <*groupId*>commons-lang</*groupId*>
>     </*exclusion*>
>     </*exclusions*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.slf4j</*groupId*>
>     <*artifactId*>slf4j-api</*artifactId*>
>     <*version*>1.7.16</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.apache.hadoop</*groupId*>
>     <*artifactId*>hadoop-common</*artifactId*>
>     <*version*>2.2.0</*version*>
>     <*scope*>provided</*scope*>
>     <*exclusions*>
>     <*exclusion*>
>     <*artifactId*>commons-lang</*artifactId*>
>     <*groupId*>commons-lang</*groupId*>
>     </*exclusion*>
>     </*exclusions*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>commons-lang</*groupId*>
>     <*artifactId*>commons-lang</*artifactId*>
>     <*version*>2.5</*version*>
>     </*dependency*>
>     //<*dependency*>
>     <*groupId*>com.amazonaws</*groupId*>
>     <*artifactId*>aws-java-sdk-sqs</*artifactId*>
>     <*version*>1.11.56</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.amazonaws</*groupId*>
>     <*artifactId*>amazon-sqs-java-messaging-lib</*artifactId*>
>     <*version*>1.0.1</*version*>
>     <*exclusions*>
>     <*exclusion*>
>     <*groupId*>com.amazonaws</*groupId*>
>     <*artifactId*>aws-java-sdk-sqs</*artifactId*>
>     </*exclusion*>
>     </*exclusions*>
>     </*dependency*>
>     //<*dependency*>
>     <*groupId*>axis</*groupId*>
>     <*artifactId*>axis</*artifactId*>
>     <*version*>1.4</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.apache.axis</*groupId*>
>     <*artifactId*>axis-jaxrpc</*artifactId*>
>     <*version*>1.4</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.postgresql</*groupId*>
>     <*artifactId*>postgresql</*artifactId*>
>     <*version*>9.4.1208.jre7</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.jayway.jsonpath</*groupId*>
>     <*artifactId*>json-path</*artifactId*>
>     <*version*>2.2.0</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.esotericsoftware</*groupId*>
>     <*artifactId*>kryo</*artifactId*>
>     <*version*>4.0.0</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>de.javakaffee</*groupId*>
>     <*artifactId*>kryo-serializers</*artifactId*>
>     <*version*>0.41</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.github.jknack</*groupId*>
>     <*artifactId*>handlebars</*artifactId*>
>     <*version*>4.0.5</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.github.jknack</*groupId*>
>     <*artifactId*>handlebars-jackson2</*artifactId*>
>     <*version*>4.0.5</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.github.jknack</*groupId*>
>     <*artifactId*>handlebars-guava-cache</*artifactId*>
>     <*version*>4.0.5</*version*>
>     </*dependency*>
>     </*dependencies*>
>
>     <*dependencyManagement*>
>     <*dependencies*>
>     <*dependency*>
>     <*groupId*>com.google.guava</*groupId*>
>     <*artifactId*>guava</*artifactId*>
>     <*version*>20.0</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>commons-beanutils</*groupId*>
>     <*artifactId*>commons-beanutils</*artifactId*>
>     <*version*>1.9.3</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>commons-cli</*groupId*>
>     <*artifactId*>commons-cli</*artifactId*>
>     <*version*>1.3.1</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>commons-codec</*groupId*>
>     <*artifactId*>commons-codec</*artifactId*>
>     <*version*>1.10</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>commons-lang</*groupId*>
>     <*artifactId*>commons-lang</*artifactId*>
>     <*version*>2.6</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>commons-logging</*groupId*>
>     <*artifactId*>commons-logging</*artifactId*>
>     <*version*>1.1.3</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>javax.servlet</*groupId*>
>     <*artifactId*>servlet-api</*artifactId*>
>     <*version*>2.5</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>log4j</*groupId*>
>     <*artifactId*>log4j</*artifactId*>
>     <*version*>1.2.17</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.codehaus.jackson</*groupId*>
>     <*artifactId*>jackson-core-asl</*artifactId*>
>     <*version*>1.9.2</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.codehaus.jackson</*groupId*>
>     <*artifactId*>jackson-mapper-asl</*artifactId*>
>     <*version*>1.9.2</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.slf4j</*groupId*>
>     <*artifactId*>slf4j-api</*artifactId*>
>     <*version*>1.7.16</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.slf4j</*groupId*>
>     <*artifactId*>slf4j-log4j12</*artifactId*>
>     <*version*>1.7.5</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.apache.httpcomponents</*groupId*>
>     <*artifactId*>httpclient</*artifactId*>
>     <*version*>4.5.2</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>io.netty</*groupId*>
>     <*artifactId*>netty</*artifactId*>
>     <*version*>3.10.6.Final</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.fasterxml.jackson.core</*groupId*>
>     <*artifactId*>jackson-core</*artifactId*>
>     <*version*>2.8.4</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>joda-time</*groupId*>
>     <*artifactId*>joda-time</*artifactId*>
>     <*version*>2.9.6</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.thoughtworks.xstream</*groupId*>
>     <*artifactId*>xstream</*artifactId*>
>     <*version*>1.4.9</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>jaxen</*groupId*>
>     <*artifactId*>jaxen</*artifactId*>
>     <*version*>1.1.1</*version*>
>     <*exclusions*>
>     <*exclusion*>
>     <*groupId*>jaxen</*groupId*>
>     <*artifactId*>jaxen</*artifactId*>
>     </*exclusion*>
>     </*exclusions*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>xml-apis</*groupId*>
>     <*artifactId*>xml-apis</*artifactId*>
>     <*version*>1.3.02</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.apache.commons</*groupId*>
>     <*artifactId*>commons-compress</*artifactId*>
>     <*version*>1.10</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.apache.apex</*groupId*>
>     <*artifactId*>apex-common</*artifactId*>
>     <*version*>${apex.version}</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.ow2.asm</*groupId*>
>     <*artifactId*>asm</*artifactId*>
>     <*version*>5.0.4</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>commons-collections</*groupId*>
>     <*artifactId*>commons-collections</*artifactId*>
>     <*version*>3.2.2</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.amazonaws</*groupId*>
>     <*artifactId*>aws-java-sdk-core</*artifactId*>
>     <*version*>1.11.56</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>org.objenesis</*groupId*>
>     <*artifactId*>objenesis</*artifactId*>
>     <*version*>2.2</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.fasterxml.jackson.core</*groupId*>
>     <*artifactId*>jackson-databind</*artifactId*>
>     <*version*>2.6.6</*version*>
>     </*dependency*>
>     <*dependency*>
>     <*groupId*>com.fasterxml.jackson.core</*groupId*>
>     <*artifactId*>jackson-dataformat-cbor</*artifactId*>
>     <*version*>2.6.6</*version*>
>     </*dependency*>
>     <*dependency*>
>             <*groupId*>org.apache.maven.plugins</*groupId*>
>             <*artifactId*>maven-shade-plugin</*artifactId*>
>             <*version*>2.4.3</*version*>
>           </*dependency*>
>     </*dependencies*>
>     </*dependencyManagement*>
>
>     </*project*>
>
>     ============================= appPackage.xml
>     ===================================================
>
>     <*assembly **xmlns**="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
>     **xmlns:**xsi**="http://www.w3.org/2001/XMLSchema-instance" **xsi:schemaLocation**="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
>     http://maven.apache.org/xsd/assembly-1.1.2.xsd"*><*id*>appPackage</*id*><*formats*><*format*>jar</*format*></*formats*><*includeBaseDirectory*>false</*includeBaseDirectory*><*fileSets*><*fileSet*><*directory*>${basedir}/target/</*directory*><*outputDirectory*>${file.separator}app</*outputDirectory*><*includes*><*include*>${project.artifactId}-${project.version}.jar</*include*></*includes*></*fileSet*><*fileSet*><*directory*>${basedir}/target/deps</*directory*><*outputDirectory*>${file.separator}lib</*outputDirectory*></*fileSet*><*fileSet*><*directory*>${basedir}/src/site/conf</*directory*><*outputDirectory*>${file.separator}conf</*outputDirectory*><*includes*><*include*>*.xml</*include*></*includes*></*fileSet*><*fileSet*><*directory*>${basedir}/src/main/resources/META-INF</*directory*><*outputDirectory*>${file.separator}META-INF</*outputDirectory*></*fileSet*><*fileSet*><*directory*>${basedir}/src/main/resources/app</*directory*><*outputDirectory*>${file.separator}app</*outputDirectory*></*fileSet*><*fileSet*><*directory*>${basedir}/src/main/resources/resources</*directory*><*outputDirectory*>${file.separator}resources</*outputDirectory*></*fileSet*></*fileSets*></*assembly*>
>


Mime
View raw message