You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2011/04/12 22:35:37 UTC

[parent] Maven problems trying to RC commons-parent.

Hi All:

I'd like to RC [parent] to pick up the test jar changes.

I thought we had a special set of instructions to release [parent] compared
to Commons [components] but I cannot find the page anymore. I must have been
dreaming.

When I run:

mvn clean deploy -Prelease -Ptest-deploy

I get:

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.887s
[INFO] Finished at: Tue Apr 12 16:27:26 EDT 2011
[INFO] Final Memory: 16M/219M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2.1:single (default) on
project commons-parent: Error reading assemblies: No ass
embly descriptors found. -> [Help 1]
[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/MojoExecutionException

?

-- 
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory

Re: [parent] Maven problems trying to RC commons-parent.

Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Apr 12, 2011 at 8:05 PM, sebb <se...@gmail.com> wrote:

> On 12 April 2011 21:39, Gary Gregory <ga...@gmail.com> wrote:
> > I forgot to specify:
> >
> > Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> > Maven home: C:\Java\apache-maven-3.0.3\bin\..
> > Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> > Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> > Default locale: en_US, platform encoding: Cp1252
> > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>
> AFAIK, one cannot use the "release" profile, as that assumes there is
> an assembly descriptor, which is not relevant for the parent.
>
> Try
>
>  mvn gpg:sign deploy  -Ptest-deploy
>
> instead.
>
> That works for me with Maven 2.2.1
>

Works with M3 too, thank you.

Gary


>
> >
> > Gary
> >
> > On Tue, Apr 12, 2011 at 4:35 PM, Gary Gregory <garydgregory@gmail.com
> >wrote:
> >
> >> Hi All:
> >>
> >> I'd like to RC [parent] to pick up the test jar changes.
> >>
> >> I thought we had a special set of instructions to release [parent]
> compared
> >> to Commons [components] but I cannot find the page anymore. I must have
> been
> >> dreaming.
> >>
> >> When I run:
> >>
> >> mvn clean deploy -Prelease -Ptest-deploy
> >>
> >> I get:
> >>
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] BUILD FAILURE
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Total time: 3.887s
> >> [INFO] Finished at: Tue Apr 12 16:27:26 EDT 2011
> >> [INFO] Final Memory: 16M/219M
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-assembly-plugin:2.2.1:single (default) on
> >> project commons-parent: Error reading assemblies: No ass
> >> embly descriptors found. -> [Help 1]
> >> [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/MojoExecutionException
> >>
> >> ?
> >>
> >> --
> >> Thank you,
> >> Gary
> >>
> >> http://garygregory.wordpress.com/
> >> http://garygregory.com/
> >> http://people.apache.org/~ggregory/
> >> http://twitter.com/GaryGregory
> >>
> >
> >
> >
> > --
> > Thank you,
> > Gary
> >
> > http://garygregory.wordpress.com/
> > http://garygregory.com/
> > http://people.apache.org/~ggregory/
> > http://twitter.com/GaryGregory
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory

Re: [parent] Maven problems trying to RC commons-parent.

Posted by sebb <se...@gmail.com>.
On 12 April 2011 21:39, Gary Gregory <ga...@gmail.com> wrote:
> I forgot to specify:
>
> Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

AFAIK, one cannot use the "release" profile, as that assumes there is
an assembly descriptor, which is not relevant for the parent.

Try

 mvn gpg:sign deploy  -Ptest-deploy

instead.

That works for me with Maven 2.2.1

>
> Gary
>
> On Tue, Apr 12, 2011 at 4:35 PM, Gary Gregory <ga...@gmail.com>wrote:
>
>> Hi All:
>>
>> I'd like to RC [parent] to pick up the test jar changes.
>>
>> I thought we had a special set of instructions to release [parent] compared
>> to Commons [components] but I cannot find the page anymore. I must have been
>> dreaming.
>>
>> When I run:
>>
>> mvn clean deploy -Prelease -Ptest-deploy
>>
>> I get:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 3.887s
>> [INFO] Finished at: Tue Apr 12 16:27:26 EDT 2011
>> [INFO] Final Memory: 16M/219M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-assembly-plugin:2.2.1:single (default) on
>> project commons-parent: Error reading assemblies: No ass
>> embly descriptors found. -> [Help 1]
>> [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/MojoExecutionException
>>
>> ?
>>
>> --
>> Thank you,
>> Gary
>>
>> http://garygregory.wordpress.com/
>> http://garygregory.com/
>> http://people.apache.org/~ggregory/
>> http://twitter.com/GaryGregory
>>
>
>
>
> --
> Thank you,
> Gary
>
> http://garygregory.wordpress.com/
> http://garygregory.com/
> http://people.apache.org/~ggregory/
> http://twitter.com/GaryGregory
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [parent] Maven problems trying to RC commons-parent.

Posted by Gary Gregory <ga...@gmail.com>.
I forgot to specify:

Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: C:\Java\apache-maven-3.0.3\bin\..
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

Gary

On Tue, Apr 12, 2011 at 4:35 PM, Gary Gregory <ga...@gmail.com>wrote:

> Hi All:
>
> I'd like to RC [parent] to pick up the test jar changes.
>
> I thought we had a special set of instructions to release [parent] compared
> to Commons [components] but I cannot find the page anymore. I must have been
> dreaming.
>
> When I run:
>
> mvn clean deploy -Prelease -Ptest-deploy
>
> I get:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3.887s
> [INFO] Finished at: Tue Apr 12 16:27:26 EDT 2011
> [INFO] Final Memory: 16M/219M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.2.1:single (default) on
> project commons-parent: Error reading assemblies: No ass
> embly descriptors found. -> [Help 1]
> [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/MojoExecutionException
>
> ?
>
> --
> Thank you,
> Gary
>
> http://garygregory.wordpress.com/
> http://garygregory.com/
> http://people.apache.org/~ggregory/
> http://twitter.com/GaryGregory
>



-- 
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory