maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautham Pamu" <gautham.p...@gmail.com>
Subject Re: [M2] Is it possible to create an assembly w/o assembly.xml?
Date Sat, 08 Apr 2006 15:19:19 GMT
HiJakub,

I tried this mvn assembly:assembly -DdescriptorId=bin with mvn 2.0.3 version
and I getting this error.. do we need to specify something in my
pom.xmlfiles... I don't have any assembly configuration in my pom


[INFO] [assembly:assembly]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error creating assembly

Embedded error: You must set at least one file.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error creating
assembly
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(Defa
ultLifecycleExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(Defau
ltLifecycleExecutor.java:458)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)

On 4/5/06, Jakub Pawlowicz <contact@jakubpawlowicz.com> wrote:
>
> Hi Szczepan,
>
> Try removing the "maven.assembly." prefix, eg. use this:
> mvn assembly:assembly -DdescriptorId=bin
>
> It works perfectly for me (maven 2.0.3).
> HTH
>
> Regards,
> Jakub
>
> On Wed, 5 Apr 2006 13:53:35 +0200, Szczepan Faber wrote
> > I tried all of them:
> >
> > mvn assembly:assembly -Dmaven.assembly.descriptorId=bin
> > mvn assembly:assembly -
> Dmaven.assembly.descriptorId=jar-with-dependencies
> > mvn assembly:assembly -Dmaven.assembly.descriptorId=src
> >
> > , but still:
> >
> > "No assembly descriptors found."
> >
> > Do I need to download Pre-defined Descriptor Files from assembly
> > plugin page?
> >
> > Thanks,
> > Szczepan
> >
> > On 4/5/06, Valerio Schiavoni <valerio.schiavoni@gmail.com> wrote:
> > > yes, there are pre-defined assembly descriptors.
> > > http://maven.apache.org/plugins/maven-assembly-plugin/howto.html
> > >
> > > m2 assembly:assembly -Dmaven.assembly.descriptorId=bin
> > >
> > >   or  m2 assembly:assembly -
> Dmaven.assembly.descriptorId=jar-with-dependencies
> > >
> > >   or  m2 assembly:assembly -Dmaven.assembly.descriptorId=src
> > >
> > >
> > > cheers,
> > > valerio
> > >
> > > On 4/5/06, Szczepan Faber <szczepiq@gmail.com> wrote:
> > > >
> > > > Is it possible to create an assembly w/o assembly.xml (assembly
> > > > descriptor)?
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > To Iterate is Human, to Recurse, Divine
> > > James O. Coplien, Bell Labs
> > > (how good is to be human indeed)
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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
>
>


--
-Gautham Pamu

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message