El dom, 06-04-2008 a las 09:24 +0200, Santiago Gala escribió:
> I'm -1 on this change unless someone proves me that it actually does
> something. With or without it "mvn package" generates the same war and
> jar files in the target directory. Is it making a difference, then? can
> anyone tell me where and how? I can't find any difference in 
> 

Doh! forget it. I needed to do mvn *install* (which actually does not
install anything) to copy them to the hidden storage under my home.

God, how I hate maven lack of documentation and obscure commands and
output!

Regards
Santiago

> ls /home/sgala/.m2/repository/org/apache/shindig/gadgets/1-SNAPSHOT/
> gadgets-1-SNAPSHOT.pom          gadgets-1-SNAPSHOT.war
> gadgets-1-SNAPSHOT-sources.jar  maven-metadata-local.xml
> 
> after mvn package, either.
> 
> Regards
> Santiago
> 
> El sáb, 05-04-2008 a las 19:53 +0000, [EMAIL PROTECTED] escribió:
> > Author: lindner
> > Date: Sat Apr  5 12:53:04 2008
> > New Revision: 645167
> > 
> > URL: http://svn.apache.org/viewvc?rev=645167&view=rev
> > Log:
> > Fix for SHINDIG-156
> > 
> > Modified:
> >     incubator/shindig/trunk/java/gadgets/pom.xml
> > 
> > Modified: incubator/shindig/trunk/java/gadgets/pom.xml
> > URL: 
> > http://svn.apache.org/viewvc/incubator/shindig/trunk/java/gadgets/pom.xml?rev=645167&r1=645166&r2=645167&view=diff
> > ==============================================================================
> > --- incubator/shindig/trunk/java/gadgets/pom.xml (original)
> > +++ incubator/shindig/trunk/java/gadgets/pom.xml Sat Apr  5 12:53:04 2008
> > @@ -28,7 +28,7 @@
> >    <groupId>org.apache.shindig</groupId>
> >    <artifactId>gadgets</artifactId>
> >    <version>1-SNAPSHOT</version>
> > -  <packaging>war</packaging>
> > +  <packaging>jar</packaging>
> >    <name>Apache Shindig Java Gadget Server</name>
> >    <description>
> >      Server part of Shindig for hosting OpenSocial applications.
> > @@ -62,6 +62,14 @@
> >              </resource>
> >            </webResources>
> >           </configuration>
> > +         <executions>
> > +              <execution>
> > +                <phase>package</phase>
> > +                <goals>
> > +                  <goal>war</goal>
> > +                </goals>
> > +              </execution>
> > +        </executions>
> >        </plugin>
> >        <plugin>
> >            <groupId>org.apache.maven.plugins </groupId>
> > 
> > 
-- 
Santiago Gala
http://memojo.com/~sgala/blog/

Reply via email to