Solve release related issues.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@582955 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
53
pom.xml
53
pom.xml
@@ -287,6 +287,32 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<version>2.3</version>
|
||||||
|
<configuration>
|
||||||
|
<!-- Pick up this configuration from settings.xml. -->
|
||||||
|
<altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
|
||||||
|
<updateReleaseInfo>true</updateReleaseInfo>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
|
<version>2.0-beta-6</version>
|
||||||
|
<configuration>
|
||||||
|
<!--
|
||||||
|
- The site needs to be built prior to deploy,
|
||||||
|
- because it is included in the assembly.
|
||||||
|
-->
|
||||||
|
<goals>site deploy</goals>
|
||||||
|
<!-- Pass these arguments to the deploy plugin. -->
|
||||||
|
<arguments>-Prelease</arguments>
|
||||||
|
</configuration>
|
||||||
|
</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
|
||||||
@@ -346,9 +372,11 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<version>2.1</version>
|
<version>2.2-beta-1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
|
<!-- Do not deploy the assemblies to the repository. -->
|
||||||
|
<attach>false</attach>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>src/assembly/assembly.xml</descriptor>
|
<descriptor>src/assembly/assembly.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
@@ -365,6 +393,29 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>release</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<!-- Create the assemblies automatically during release. -->
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>package</phase>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
|
|||||||
Reference in New Issue
Block a user