With -X debug traces:

rob@robuntu:~/odf/target/checkout$ mvn install -Prelease-distribution
-pl=. -Duser.name=robweir -X
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (rdebian-8)
Java version: 1.6.0_27
Java home: /usr/lib/jvm/java-6-openjdk-i386/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "3.2.0-58-generic" arch: "i386" Family: "unix"
[DEBUG] Building Maven user-level plugin registry from:
'/home/rob/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'/usr/share/maven2/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM: org.apache:apache:pom:13 of project:
org.apache.odftoolkit:odftoolkit:pom:0.6.1-incubating in relative
path: ../pom.xml
[DEBUG] Parent-POM: org.apache:apache:pom:13 not found in relative
path: ../pom.xml
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:13 for project:
org.apache.odftoolkit:odftoolkit:pom:0.6.1-incubating from the
repository.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Couldn't find specified project in module list:
/home/rob/odf/target/checkout/.
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Couldn't find specified
project in module list: /home/rob/odf/target/checkout/.
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:304)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.MissingProjectException: Couldn't
find specified project in module list: /home/rob/odf/target/checkout/.
    at 
org.apache.maven.project.ProjectSorter.findProject(ProjectSorter.java:316)
    at 
org.apache.maven.project.ProjectSorter.applyMakeFilter(ProjectSorter.java:245)
    at org.apache.maven.project.ProjectSorter.<init>(ProjectSorter.java:230)
    at org.apache.maven.execution.ReactorManager.<init>(ReactorManager.java:99)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:288)
    ... 11 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Feb 10 14:31:45 EST 2014
[INFO] Final Memory: 3M/38M
[INFO] ------------------------------------------------------------------------
rob@robuntu:~/odf/target/checkout$


On Mon, Feb 10, 2014 at 11:16 AM, Rob Weir <[email protected]> wrote:
> On Mon, Feb 10, 2014 at 1:15 AM, Florian Hopf <[email protected]> wrote:
>> On 10.02.2014 00:29, Svante Schubert wrote:
>>>
>>> Havn't done it for years, I would have to read in again myself, but
>>> guess Florian did it last time and might remember easier.
>>
>>
>> Well, I wouldn't remember what to do but fortunately this guide tells what
>> to do :) http://www.apache.org/dev/publishing-maven-artifacts.html
>>
>
> That helped.  I got further, including post to Nexus.  But now I'm
> dying on step 5 of our instructions:
>
> rob@robuntu:~/odf/target/checkout$ mvn install -Prelease-distribution
> -pl=. -Duser.name=&lt;robweir&gt;
> [3] 16245
> lt: command not found
> [4] 16266
> gt: command not foundrobweir: command not found
>
> rob@robuntu:~/odf/target/checkout$ [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Couldn't find specified project in module list:
> /home/rob/odf/target/checkout/.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Mon Feb 10 11:06:24 EST 2014
> [INFO] Final Memory: 3M/38M
> [INFO] 
> ------------------------------------------------------------------------
>
>
> I tried as well with -Duser.name=robweir and get the same initial
> error about not finding specified project
>
> Any ideas?
>
> -Rob
>
>
>>
>>>
>>> By the way, I did not meant "repository.apache.org", I meant the Maven
>>> Central Sonatype repository.
>>
>>
>> We are not publishing to Maven Central directly. There is a Nexus instance
>> hosted at Apache that is used as a staging repository and then synced with
>> Maven Central.
>>
>> The sync with Maven central should only be done once the release has been
>> voted on.
>>
>> Rob: I suspect that the Maven release process on your local machine failed
>> quite late and you can't roll it back, but you can try to do the following:
>>
>> mvn release:rollback followed by another mvn release:prepare and mvn
>> release:perform. If the process can't continue because there are already
>> tags in SVN you can either use a new version for the release oder delete the
>> SVN tags manually.
>>
>> I'll try to be available if there are any questions.
>>
>> Regards
>> Florian
>>
>> --
>> Florian Hopf
>> Freelance Software Developer
>>
>> http://blog.florian-hopf.de

Reply via email to