maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Ackersviller <...@freeshell.org>
Subject Re: Effect of skipSource?
Date Wed, 20 Feb 2013 00:28:25 GMT
Yes, that appears to be what happens here... but -DskipSource=false
doesn't make any difference.  Is there some other option to control this?

On Tue, Feb 19, 2013 at 09:44:52AM +0100, Adrien Rivard wrote:
> Not including .java files in wars is the default for Maven.
> 
> On Tue, Feb 19, 2013 at 12:04 AM, Olivier Lamy <olamy@apache.org> wrote:
> 
> >
> > http://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html#skipSource
> >
> > So if your build attach a jar containing sources this will be skipped.
> > (no sources jar will be produce)
> >
> >
> > 2013/2/18 Paul Ackersviller <pda@freeshell.org>:
> > > I'm a complete newbie with maven, so could be completely off base,
> > > but my problem is the following.  We have a .war file that people have
> > > been building with eclipse, and I'm trying to pacakge the same thing
> > > using just maven.  The .war created this way doesn't work however,
> > > and the only difference I see in comparing the contents of the two
> > > archives is that the maven one is missing all the .java files.
> > >
> > > In looking at docs, I get the feeling that the skipSource flag might
> > > somehow be related, but should default to on anyway.  Can someone
> > > point me in the right direction?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message