You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Otis Gospodnetic <ot...@yahoo.com> on 2009/05/01 21:05:02 UTC
mvn building empty jar
Hello,
Maybe I'm doing something wrong, but I just spotted the following when I did:
mvn clean jar:jar
...
[INFO] [jar:jar]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/otis/workspace/asf-mahout/target/mahout-0.2-SNAPSHOT.jar
...
I do get a non-empty jar built here:
/home/otis/workspace/asf-mahout/core/target/mahout-core-0.2-SNAPSHOT.jar
But the target/ one is empty, and presumably it shouldn't be built at all.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
Re: mvn building empty jar
Posted by Otis Gospodnetic <ot...@yahoo.com>.
I did it from the top level, actually. It worked, created the good jar, but also that empty one.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
> From: Grant Ingersoll <gs...@apache.org>
> To: mahout-dev@lucene.apache.org
> Sent: Sunday, May 3, 2009 3:24:22 PM
> Subject: Re: mvn building empty jar
>
> I doubt jar:jar will work from the top level. But should from the lower level
> ones that are actually JAR type.
>
> On May 1, 2009, at 3:05 PM, Otis Gospodnetic wrote:
>
> >
> > Hello,
> >
> > Maybe I'm doing something wrong, but I just spotted the following when I did:
> >
> > mvn clean jar:jar
> > ...
> > [INFO] [jar:jar]
> > [WARNING] JAR will be empty - no content was marked for inclusion!
> > [INFO] Building jar:
> /home/otis/workspace/asf-mahout/target/mahout-0.2-SNAPSHOT.jar
> > ...
> >
> > I do get a non-empty jar built here:
> > /home/otis/workspace/asf-mahout/core/target/mahout-core-0.2-SNAPSHOT.jar
> >
> > But the target/ one is empty, and presumably it shouldn't be built at all.
> >
> >
> > Otis
> > --
> > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
> >
>
> --------------------------
> Grant Ingersoll
> http://www.lucidimagination.com/
>
> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using
> Solr/Lucene:
> http://www.lucidimagination.com/search
Re: mvn building empty jar
Posted by Grant Ingersoll <gs...@apache.org>.
I doubt jar:jar will work from the top level. But should from the
lower level ones that are actually JAR type.
On May 1, 2009, at 3:05 PM, Otis Gospodnetic wrote:
>
> Hello,
>
> Maybe I'm doing something wrong, but I just spotted the following
> when I did:
>
> mvn clean jar:jar
> ...
> [INFO] [jar:jar]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] Building jar: /home/otis/workspace/asf-mahout/target/
> mahout-0.2-SNAPSHOT.jar
> ...
>
> I do get a non-empty jar built here:
> /home/otis/workspace/asf-mahout/core/target/mahout-core-0.2-
> SNAPSHOT.jar
>
> But the target/ one is empty, and presumably it shouldn't be built
> at all.
>
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
--------------------------
Grant Ingersoll
http://www.lucidimagination.com/
Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)
using Solr/Lucene:
http://www.lucidimagination.com/search