Oh, and to be sure, once you edit those entries, you either need to also edit 
them in the pom.xml of the tag and run perform *or* delete the tag and and 
re-run both prepare and preform.  

On Oct 21, 2012, at 9:49 PM, Brian Topping <[email protected]> wrote:

> Try adding "/trunk" after the <developerConnection> and <connection> entries. 
>  
> 
> On Oct 21, 2012, at 9:36 PM, Russell Gold <[email protected]> wrote:
> 
>> This is my first time releasing this project via maven, and I am presumably 
>> doing something wrong.
>> 
>> The release:prepare step seems to work just fine, ending with:
>> 
>>    [INFO] Building jar: 
>> /Users/rgold/projects/httpunit/httpunit/target/httpunit-1.7.2-javadoc.jar
>>    [INFO] 
>>    [INFO] --- maven-gpg-plugin:1.1:sign (sign-artifacts) @ httpunit ---
>>    GPG Passphrase: ***********
>> *[INFO] 
>> ------------------------------------------------------------------------
>>    [INFO] BUILD SUCCESS
>>    [INFO] 
>> ------------------------------------------------------------------------
>>    [INFO] Total time: 56.441s
>>    [INFO] Finished at: Sun Oct 21 21:23:40 EDT 2012
>>    [INFO] Final Memory: 15M/81M
>>    [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Checking in modified POMs...
>> [INFO] Executing: /bin/sh -c cd /Users/rgold/projects/httpunit/httpunit && 
>> svn --non-interactive commit --file 
>> /var/folders/t5/whm3w7t93l521hxh3cn_v2rw0000gn/T/maven-scm-1558011316.commit 
>> --targets 
>> /var/folders/t5/whm3w7t93l521hxh3cn_v2rw0000gn/T/maven-scm-6609960458242262828-targets
>> [INFO] Working directory: /Users/rgold/projects/httpunit/httpunit
>> [INFO] Tagging release with the label httpunit-1.7.2...
>> [INFO] Executing: /bin/sh -c cd /Users/rgold/projects/httpunit/httpunit && 
>> svn --non-interactive copy --file 
>> /var/folders/t5/whm3w7t93l521hxh3cn_v2rw0000gn/T/maven-scm-1454972466.commit 
>> --revision 1111 
>> https://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit 
>> https://httpunit.svn.sourceforge.net/svnroot/httpunit/tags/httpunit-1.7.2
>> [INFO] Working directory: /Users/rgold/projects/httpunit/httpunit
>> [INFO] Transforming 'HttpUnit'...
>> [INFO] Not removing release POMs
>> [INFO] Checking in modified POMs...
>> [INFO] Executing: /bin/sh -c cd /Users/rgold/projects/httpunit/httpunit && 
>> svn --non-interactive commit --file 
>> /var/folders/t5/whm3w7t93l521hxh3cn_v2rw0000gn/T/maven-scm-946716656.commit 
>> --targets 
>> /var/folders/t5/whm3w7t93l521hxh3cn_v2rw0000gn/T/maven-scm-2228214041112649129-targets
>> [INFO] Working directory: /Users/rgold/projects/httpunit/httpunit
>> [INFO] Release preparation complete.
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1:21.002s
>> [INFO] Finished at: Sun Oct 21 21:23:57 EDT 2012
>> [INFO] Final Memory: 6M/81M
>> [INFO] 
>> ------------------------------------------------------------------------
>> 
>> but when I try release:perform, I get
>> 
>> /Users/rgold/projects/httpunit/httpunit> mvn release:perform
>> [INFO] Scanning for projects...
>> [INFO]                                                                       
>>   
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Building HttpUnit 1.7.3-SNAPSHOT
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] 
>> [INFO] --- maven-release-plugin:2.1:perform (default-cli) @ httpunit ---
>> [INFO] Checking out the project to perform the release ...
>> [INFO] Executing: /bin/sh -c cd 
>> /Users/rgold/projects/httpunit/httpunit/target && svn --non-interactive 
>> checkout 
>> https://httpunit.svn.sourceforge.net/svnroot/httpunit/tags/httpunit-1.7.2 
>> /Users/rgold/projects/httpunit/httpunit/target/checkout
>> [INFO] Working directory: /Users/rgold/projects/httpunit/httpunit/target
>> [INFO] Executing goals 'deploy'...
>> [INFO] Executing: /bin/sh -c cd 
>> /Users/rgold/projects/httpunit/httpunit/target/checkout && 
>> /opt/local/share/java/maven3/bin/mvn deploy --no-plugin-updates 
>> -Psonatype-oss-release -f pom.xml
>>    [WARNING] Command line option -npu is deprecated and will be removed in 
>> future Maven versions.
>>    [INFO] Scanning for projects...
>>    [ERROR] The build could not read 1 project -> [Help 1]
>>    [ERROR]   
>>    [ERROR]   The project  
>> (/Users/rgold/projects/httpunit/httpunit/target/checkout/pom.xml) has 1 error
>>    [ERROR]     Non-readable POM 
>> /Users/rgold/projects/httpunit/httpunit/target/checkout/pom.xml: 
>> /Users/rgold/projects/httpunit/httpunit/target/checkout/pom.xml (No such 
>> file or directory)
>>    [ERROR] 
>>    [ERROR] To see the full stack trace of the errors, re-run Maven with the 
>> -e switch.
>>    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>    [ERROR] 
>>    [ERROR] For more information about the errors and possible solutions, 
>> please read the following articles:
>>    [ERROR] [Help 1] 
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1:48.207s
>> [INFO] Finished at: Sun Oct 21 21:25:52 EDT 2012
>> [INFO] Final Memory: 6M/81M
>> [INFO] 
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-release-plugin:2.1:perform (default-cli) on 
>> project httpunit: Maven execution failed, exit code: '1' -> [Help 1]
>> 
>> My presumption is that there is something wrong with my pom (attached). 
>> <pom.xml>
>> The scm section is:
>> 
>>      <scm>
>>              <url>http://httpunit.svn.sourceforge.net/viewvc/httpunit</url>
>>              
>> <developerConnection>scm:svn:https://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit</developerConnection>
>>              
>> <connection>scm:svn:http://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit</connection>
>>      </scm>
>> 
>> What am I missing? 
>> 
>> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to