Change add-ons/registry packaging
<phase>generate-resources</phase>
<configuration>
<target>
+ <patternset id="no.sources.javadoc">
+ <exclude name="**/target/*-sources.*" />
+ <exclude name="**/target/*-javadoc.*" />
+ </patternset>
<copy todir="target/add-ons/sam">
<fileset dir="${basedir}/../sam">
<include name="**/target/*.jar" />
<include name="**/target/*.war" />
<exclude name="**/sam-example*.*" />
+ <patternset refid="no.sources.javadoc"/>
</fileset>
<flattenmapper />
</copy>
<fileset dir="${basedir}/../locator">
<include name="**/target/*.jar" />
<include name="**/target/*.war" />
+ <patternset refid="no.sources.javadoc"/>
</fileset>
<fileset dir="${basedir}/../locator-service">
<include name="**/target/*.jar" />
+ <patternset refid="no.sources.javadoc"/>
</fileset>
<flattenmapper />
</copy>
<fileset dir="${basedir}/../job">
<include name="**/target/*.jar" />
<include name="**/target/*.war" />
+ <patternset refid="no.sources.javadoc"/>
</fileset>
<flattenmapper />
</copy>
- <copy todir="target/add-ons/registry/policies">
+ <copy todir="target/add-ons/registry/lib">
<fileset dir="${basedir}/../policies">
<include name="**/target/*.jar" />
<include name="**/target/*.war" />
+ <patternset refid="no.sources.javadoc"/>
</fileset>
<flattenmapper />
</copy>
<present targetdir="target/add-ons/job">
<mapper type="flatten" />
</present>
- <present targetdir="target/add-ons/registry/policies">
+ <present targetdir="target/add-ons/registry/lib">
<mapper type="flatten" />
</present>
</none>
