maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander <the.malk...@gmail.com>
Subject Re: Maven assembly and onejar goal
Date Fri, 23 Oct 2009 13:56:52 GMT
Looks good. +1.

If default jar-with-all-dep works fine why don't you add your changes one by
one to determine what one actually is confusing assembly work?
2009/10/23 Nick Stolwijk <nick.stolwijk@gmail.com>

> Looks good. I don't really know what is going wrong.
>
> Just to be sure we are dealing with an assembly problem, but there are
> classes in your target/classes directory after you have run  mvn clean
> assembly:assembly?
>
> Could you also take a look at the logging of the assembly plugin, maybe
> even
> with -X to see whether you see anything strange. Also post it here if you
> can.
>
> Which version of the assembly plugin are you using?
>
> With regards,
>
> Nick Stolwijk
> ~Java Developer~
>
> IPROFS BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> http://www.iprofs.nl
>
>
> On Fri, Oct 23, 2009 at 3:42 PM, Laurent PELLEGRINO <
> laurent.pellegrino@gmail.com> wrote:
>
> > I use the following :
> >
> > > <plugin>
> > > <artifactId>maven-assembly-plugin</artifactId>
> > > <configuration>
> > > <finalName>${pom.artifactId}-${pom.version}</finalName>
> > > <descriptors>
> > > <descriptor>src/main/assembly/jar-with-dependencies.xml</descriptor>
> > > </descriptors>
> > > </configuration>
> > > <executions>
> > > <execution>
> > > <phase>package</phase>
> > > <goals>
> > > <goal>single</goal>
> > > </goals>
> > > </execution>
> > > </executions>
> > > </plugin>
> >
> > 2009/10/23 Nick Stolwijk <nick.stolwijk@gmail.com>:
> > > That should be the right syntax. How did you configure your pom wrt the
> > > assembly plugin?
> > >
> > > With regards,
> > >
> > > Nick Stolwijk
> > > ~Java Developer~
> > >
> > > IPROFS BV.
> > > Claus Sluterweg 125
> > > 2012 WS Haarlem
> > > http://www.iprofs.nl
> > >
> > >
> > > On Fri, Oct 23, 2009 at 2:55 PM, Laurent PELLEGRINO <
> > > laurent.pellegrino@gmail.com> wrote:
> > >
> > >> mvn assembly:assenbly
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>



-- 
Regards,
Alexander

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