Maven perform checks out all other projects in the parent directory, this wasn't happening with 2.0-beta-8 or beta-7 --------------------------------------------------------------------------------------------------------------------
Key: MRELEASE-439
URL: http://jira.codehaus.org/browse/MRELEASE-439
Project: Maven 2.x Release Plugin
Issue Type: Bug
Affects Versions: 2.0-beta-9
Environment: Windows XP
Reporter: jack
Here is my POM file:
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.xxxx.test</groupId>
<artifactId>test1</artifactId>
<name>test project</name>
<version>0.0.139-SNAPSHOT</version>
<packaging>pom</packaging>
<organization>
<name>xxxxxx</name>
<url>http://www.xxx.com</url>
</organization>
<build>
<!-- Configure plugins for all child builds (overridable) -->
<pluginManagement>
<plugins>
<!-- Default JAVA support level is 1.5 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<!-- Release Manager Defaults -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-9</version>
<configuration>
<tagBase>
http://xxx.xxxx.com/svn/md.svn/TRUNK/com.xxxxxx/tags
</tagBase>
<allowTimestampedSnapshots>
false
</allowTimestampedSnapshots>
<commitByProject>true</commitByProject>
<generateReleasePoms>false</generateReleasePoms>
<updateDependencies>true</updateDependencies>
<remoteTagging>true</remoteTagging>
<goals />
<username>xxxxx</username>
<password>xxxxxx</password>
</configuration>
</plugin>
<!-- JAR plugin configuration -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Class-Path>
/home/md/lib/java/overrides
</Class-Path>
</manifestEntries>
<addMavenDescriptor>
true
</addMavenDescriptor>
<index>true</index>
<manifest>
<addClasspath>true</addClasspath>
<addDefaultImplementationEntries>
true
</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>
true
</addDefaultSpecificationEntries>
<addExtensions>false</addExtensions>
<classpathMavenRepositoryLayout>
false
</classpathMavenRepositoryLayout>
<classpathPrefix>lib</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
<!-- Source Plugin Configuration -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Configure Eclipse Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<downloadSources>true</downloadSources>
<useProjectReferences>
false
</useProjectReferences>
</configuration>
</plugin>
<!-- Configure Surefire (JUnit) Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.3</version>
<configuration>
<skipTests>false</skipTests>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<!-- Bring in plugins -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
</build>
<scm>
<connection>scm:svn:http://xxx.xxxxx.com/svn/md.svn/TRUNK/com.xxxx/trunk</connection>
<developerConnection>scm:svn:http://xxxx.xxxx.com/svn/md.svn/TRUNK/com.xxxx/trunk</developerConnection>
<url>http://xxxxx.com/svn/md.svn/TRUNK/com.xxxxx/trunk</url>
</scm>
<distributionManagement>
<repository>
<id>inhouse</id>
<name>Inhouse Internal Release Repository</name>
<url>
scp://[email protected]/home/md/maven2/maven2_repositories/inhouse
</url>
</repository>
<snapshotRepository>
<id>inhouse_snapshot</id>
<name>Inhouse Internal Snapshot Repository</name>
<url>
scp://[email protected]/home/md/maven2/maven2_repositories/inhouse_snapshot
</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>reporting</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<distributionManagement>
<site>
<id>xxxxx.md.website</id>
<name>Development</name>
<url>scp://[email protected]/data/users/ci/site</url>
</site>
</distributionManagement>
<build>
<pluginManagement>
<plugins>
<!-- Site plugin configuration
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<!--
outputDirectory>../site</outputDirectory -->
<outputEncoding>UTF-8</outputEncoding>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<outputDirectory>${basedir}/target/site</outputDirectory>
<plugins>
<!-- General project information -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>
maven-project-info-reports-plugin
</artifactId>
<configuration>
<dependencyLocationEnabled>false</dependencyLocationEnabled>
</configuration>
</plugin>
<!-- Generate Javadocs -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<!-- Generate "JDepend" report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<configuration>
<classDirectory>target</classDirectory>
<skip>true</skip>
</configuration>
</plugin>
<!-- Report about JUnit Test Results -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
<!-- Cobertura Test Coverage Report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
<!-- Clover Test Coverage Report -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
<configuration>
<generateXml>true</generateXml>
</configuration>
</plugin>
<!-- FindBugs Report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<xmlOutput>true</xmlOutput>
<effort>Max</effort>
</configuration>
</plugin>
<!-- TAGS Report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
</plugin>
<!-- "PMD" and "CPD" Reports -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<rulesets>
<ruleset>http://xxxxxx.com/dst_rules.xml</ruleset>
</rulesets>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
<targetJdk>1.6</targetJdk>
</configuration>
</plugin>
<!-- Coding Standards Violation Report
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<!-- Cross references report -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
</plugin>
<!-- Generate Dashboard Summary Report
(MUST BE LAST REPORT) -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>dashboard-maven-plugin</artifactId>
</plugin>
</plugins>
</reporting>
</profile>
</profiles>
</project>
In above POM file, if I change the verison of release plugin to 2.0-beta-8 it
works fine, as soon as I chnage it back to 2.0-beta-9...
prepare works fine, but in perform
It says,
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] ------------------------------------------------------------------------
[INFO] Building test project
[INFO] task-segment: [release:perform] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:perform]
[INFO] Checking out the project to perform the release ...
[INFO] Executing: cmd.exe /X /C "svn --username csvn --password *****
--non-interactive checkout
http://xx.xxxx.com/svn/md.svn/TRUNK/com.xxxxxx/tags/test1-0.0.139
C:\work\work1\test1\target\checkout"
[INFO] Working directory: C:\work\work1\test1\target
After that, it searches for all projects in my workspace, which is
C:\work\work1 directory and puts them in target/checkout dir until the process
runs out of memory...
Any help would be greatly appreciated.
The reason I am upgrading the version of release plugin is to avoid the 'Unable
to tag SCM error'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
