You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Heuer <he...@acm.org> on 2005/10/27 20:13:49 UTC
[m2] doc error for assembly plugin
Hello,
Running the assembly plugin as documented on
> http://maven.apache.org/plugins/maven-assembly-plugin/howto.html
results in an error,
$ mvn assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies
[ERROR] BUILD FAILURE
[INFO] -----------------------------------------------------------------
[INFO] You must specify descriptor or descriptorId
but if one uses an unqualified descriptorId property value
$ mvn assembly:assembly -DdescriptorId=jar-with-dependencies
[INFO] [assembly:assembly]
[INFO] Building jar: .../myproject-SNAPSHOT-jar-with-dependencies.jar
[INFO] -----------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] -----------------------------------------------------------------
it seems to work fine. Is this an error with the assembly plugin or with
the docs?
michael
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] doc error for assembly plugin
Posted by Brett Porter <br...@gmail.com>.
The docs. It should be just descriptorId
On 10/28/05, Michael Heuer <he...@acm.org> wrote:
> Hello,
>
> Running the assembly plugin as documented on
>
> > http://maven.apache.org/plugins/maven-assembly-plugin/howto.html
>
> results in an error,
>
> $ mvn assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies
>
> [ERROR] BUILD FAILURE
> [INFO] -----------------------------------------------------------------
> [INFO] You must specify descriptor or descriptorId
>
>
> but if one uses an unqualified descriptorId property value
>
> $ mvn assembly:assembly -DdescriptorId=jar-with-dependencies
>
> [INFO] [assembly:assembly]
> [INFO] Building jar: .../myproject-SNAPSHOT-jar-with-dependencies.jar
> [INFO] -----------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] -----------------------------------------------------------------
>
> it seems to work fine. Is this an error with the assembly plugin or with
> the docs?
>
> michael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] manifest for assembly jar-with-dependencies
Posted by Michael Heuer <he...@acm.org>.
> http://jira.codehaus.org/browse/MNG-1380
On Mon, 31 Oct 2005, Brett Porter wrote:
> Yes, that's an issue with the assembly plugin. If there is no
> corresponding JIRA issue, please file one.
>
> - Brett
>
> On 10/28/05, Michael Heuer <he...@acm.org> wrote:
> > Hello,
> >
> > I followed the guide at
> >
> > > http://maven.apache.org/guides/mini/guide-manifest.html
> >
> > to add entries to my MANIFEST.MF, and that works fine with
> >
> > $ mvn package
> >
> > However, it seems that the assembly plugin does not reuse the
> > configuration information when building the jar-with-dependencies jar, so
> > I'm left with a default manifest in that jar.
> >
> > michael
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] manifest for assembly jar-with-dependencies
Posted by Brett Porter <br...@gmail.com>.
Yes, that's an issue with the assembly plugin. If there is no
corresponding JIRA issue, please file one.
- Brett
On 10/28/05, Michael Heuer <he...@acm.org> wrote:
> Hello,
>
> I followed the guide at
>
> > http://maven.apache.org/guides/mini/guide-manifest.html
>
> to add entries to my MANIFEST.MF, and that works fine with
>
> $ mvn package
>
> However, it seems that the assembly plugin does not reuse the
> configuration information when building the jar-with-dependencies jar, so
> I'm left with a default manifest in that jar.
>
> michael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
[m2] manifest for assembly jar-with-dependencies
Posted by Michael Heuer <he...@acm.org>.
Hello,
I followed the guide at
> http://maven.apache.org/guides/mini/guide-manifest.html
to add entries to my MANIFEST.MF, and that works fine with
$ mvn package
However, it seems that the assembly plugin does not reuse the
configuration information when building the jar-with-dependencies jar, so
I'm left with a default manifest in that jar.
michael
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org