Attach the adapters and api jars to the normal artifact. This way they will be deployed when the normal artifact is deployed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@560590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
33
pom.xml
33
pom.xml
@@ -263,6 +263,39 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<!--
|
||||||
|
- Attach the adapters and api jars to the normal artifact. This way
|
||||||
|
- they will be deployed when the normal artifact is deployed.
|
||||||
|
-->
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<version>1.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-artifacts</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>attach-artifact</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifacts>
|
||||||
|
<artifact>
|
||||||
|
<file>${project.build.directory}/${project.artifactId}-adapters-${project.version}.jar</file>
|
||||||
|
<type>jar</type>
|
||||||
|
<classifier>adapters</classifier>
|
||||||
|
</artifact>
|
||||||
|
<artifact>
|
||||||
|
<file>${project.build.directory}/${project.artifactId}-api-${project.version}.jar</file>
|
||||||
|
<type>jar</type>
|
||||||
|
<classifier>api</classifier>
|
||||||
|
</artifact>
|
||||||
|
</artifacts>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<!--
|
<!--
|
||||||
- Many of JCL's tests use tricky techniques to place the generated
|
- Many of JCL's tests use tricky techniques to place the generated
|
||||||
|
|||||||
Reference in New Issue
Block a user