You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Scott Deboy <sc...@gmail.com> on 2010/10/27 09:47:13 UTC
problems building extras release using maven
I'm trying to build the extras companion using the maven release plugin.
I'm using this command:
mvn -DdryRun=true site:site release:prepare
And I get this error...any ideas?
[INFO] [INFO] Building jar:
/Users/admin/work-local/log4j-trunk/log4j-extras/target/apache-log4j-extras-1.1-javadoc.jar
[INFO] [INFO] Preparing source:jar
[INFO] [WARNING] Removing: assembly from forked lifecycle, to prevent
recursive invocation.
[INFO] [WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] [INFO] [antrun:run {execution: javadoc.resources}]
[INFO] [INFO] Executing tasks
[INFO] [INFO] Executed tasks
[INFO] [INFO] [source:jar {execution: default}]
[INFO] [INFO] Building jar:
/Users/admin/work-local/log4j-trunk/log4j-extras/target/apache-log4j-extras-1.1-sources.jar
[INFO] [INFO] [assembly:assembly {execution: default}]
[INFO] [INFO] Reading assembly descriptor: src/assembly/bin.xml
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [ERROR] BUILD FAILURE
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] :
org.apache.maven.plugin.assembly.io.DefaultAssemblyReader@40cdc794
[INFO] site did not exist in the target directory - please run site:site
before creating the assembly
[INFO]
[INFO] Mojo configuration is invalid: site did not exist in the target
directory - please run site:site before creating the assembly
Re: problems building extras release using maven
Posted by Christian Grobmeier <gr...@gmail.com>.
Not sure, but this should not happen according to this:
http://maven.apache.org/plugins/maven-release-plugin/introduction.html
Is there a special configuration in the pom?
Can check tomorrow, if you like.
On Wed, Oct 27, 2010 at 4:00 PM, Scott Deboy <sc...@gmail.com> wrote:
> Thanks Christian
>
> I did try that, and it didn't work.
>
> The site folder under target is being removed when I run release:prepare
>
> Scott
>
> On Wed, Oct 27, 2010 at 2:10 AM, Christian Grobmeier <gr...@gmail.com>
> wrote:
>>
>> Not tried it myself before, but could you try to make:
>> mvn site:site
>> before doing:
>> mvn -DdryRun=true release:prepare
>> it seems that the site is not created
>>
>>
>> On Wed, Oct 27, 2010 at 9:47 AM, Scott Deboy <sc...@gmail.com>
>> wrote:
>> > I'm trying to build the extras companion using the maven release plugin.
>> >
>> > I'm using this command:
>> > mvn -DdryRun=true site:site release:prepare
>> >
>> > And I get this error...any ideas?
>> >
>> > [INFO] [INFO] Building jar:
>> >
>> > /Users/admin/work-local/log4j-trunk/log4j-extras/target/apache-log4j-extras-1.1-javadoc.jar
>> > [INFO] [INFO] Preparing source:jar
>> > [INFO] [WARNING] Removing: assembly from forked lifecycle, to prevent
>> > recursive invocation.
>> > [INFO] [WARNING] Removing: jar from forked lifecycle, to prevent
>> > recursive
>> > invocation.
>> > [INFO] [INFO] [antrun:run {execution: javadoc.resources}]
>> > [INFO] [INFO] Executing tasks
>> > [INFO] [INFO] Executed tasks
>> > [INFO] [INFO] [source:jar {execution: default}]
>> > [INFO] [INFO] Building jar:
>> >
>> > /Users/admin/work-local/log4j-trunk/log4j-extras/target/apache-log4j-extras-1.1-sources.jar
>> > [INFO] [INFO] [assembly:assembly {execution: default}]
>> > [INFO] [INFO] Reading assembly descriptor: src/assembly/bin.xml
>> > [INFO] [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] [ERROR] BUILD FAILURE
>> > [INFO] [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] [INFO] :
>> > org.apache.maven.plugin.assembly.io.DefaultAssemblyReader@40cdc794
>> > [INFO] site did not exist in the target directory - please run site:site
>> > before creating the assembly
>> > [INFO]
>> > [INFO] Mojo configuration is invalid: site did not exist in the target
>> > directory - please run site:site before creating the assembly
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Re: problems building extras release using maven
Posted by Scott Deboy <sc...@gmail.com>.
Thanks Christian
I did try that, and it didn't work.
The site folder under target is being removed when I run release:prepare
Scott
On Wed, Oct 27, 2010 at 2:10 AM, Christian Grobmeier <gr...@gmail.com>wrote:
> Not tried it myself before, but could you try to make:
> mvn site:site
> before doing:
> mvn -DdryRun=true release:prepare
> it seems that the site is not created
>
>
> On Wed, Oct 27, 2010 at 9:47 AM, Scott Deboy <sc...@gmail.com>
> wrote:
> > I'm trying to build the extras companion using the maven release plugin.
> >
> > I'm using this command:
> > mvn -DdryRun=true site:site release:prepare
> >
> > And I get this error...any ideas?
> >
> > [INFO] [INFO] Building jar:
> >
> /Users/admin/work-local/log4j-trunk/log4j-extras/target/apache-log4j-extras-1.1-javadoc.jar
> > [INFO] [INFO] Preparing source:jar
> > [INFO] [WARNING] Removing: assembly from forked lifecycle, to prevent
> > recursive invocation.
> > [INFO] [WARNING] Removing: jar from forked lifecycle, to prevent
> recursive
> > invocation.
> > [INFO] [INFO] [antrun:run {execution: javadoc.resources}]
> > [INFO] [INFO] Executing tasks
> > [INFO] [INFO] Executed tasks
> > [INFO] [INFO] [source:jar {execution: default}]
> > [INFO] [INFO] Building jar:
> >
> /Users/admin/work-local/log4j-trunk/log4j-extras/target/apache-log4j-extras-1.1-sources.jar
> > [INFO] [INFO] [assembly:assembly {execution: default}]
> > [INFO] [INFO] Reading assembly descriptor: src/assembly/bin.xml
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [ERROR] BUILD FAILURE
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] :
> > org.apache.maven.plugin.assembly.io.DefaultAssemblyReader@40cdc794
> > [INFO] site did not exist in the target directory - please run site:site
> > before creating the assembly
> > [INFO]
> > [INFO] Mojo configuration is invalid: site did not exist in the target
> > directory - please run site:site before creating the assembly
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
>
Re: problems building extras release using maven
Posted by Christian Grobmeier <gr...@gmail.com>.
Not tried it myself before, but could you try to make:
mvn site:site
before doing:
mvn -DdryRun=true release:prepare
it seems that the site is not created
On Wed, Oct 27, 2010 at 9:47 AM, Scott Deboy <sc...@gmail.com> wrote:
> I'm trying to build the extras companion using the maven release plugin.
>
> I'm using this command:
> mvn -DdryRun=true site:site release:prepare
>
> And I get this error...any ideas?
>
> [INFO] [INFO] Building jar:
> /Users/admin/work-local/log4j-trunk/log4j-extras/target/apache-log4j-extras-1.1-javadoc.jar
> [INFO] [INFO] Preparing source:jar
> [INFO] [WARNING] Removing: assembly from forked lifecycle, to prevent
> recursive invocation.
> [INFO] [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> invocation.
> [INFO] [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] [INFO] Executing tasks
> [INFO] [INFO] Executed tasks
> [INFO] [INFO] [source:jar {execution: default}]
> [INFO] [INFO] Building jar:
> /Users/admin/work-local/log4j-trunk/log4j-extras/target/apache-log4j-extras-1.1-sources.jar
> [INFO] [INFO] [assembly:assembly {execution: default}]
> [INFO] [INFO] Reading assembly descriptor: src/assembly/bin.xml
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [ERROR] BUILD FAILURE
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] :
> org.apache.maven.plugin.assembly.io.DefaultAssemblyReader@40cdc794
> [INFO] site did not exist in the target directory - please run site:site
> before creating the assembly
> [INFO]
> [INFO] Mojo configuration is invalid: site did not exist in the target
> directory - please run site:site before creating the assembly
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org