Update of /var/cvs/applications/app-base
In directory james.mmbase.org:/tmp/cvs-serv22080
Modified Files:
pom.xml
Log Message:
this more or less work, though still not very satisfactory
See also: http://cvs.mmbase.org/viewcvs/applications/app-base
Index: pom.xml
===================================================================
RCS file: /var/cvs/applications/app-base/pom.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- pom.xml 11 Feb 2009 21:25:06 -0000 1.9
+++ pom.xml 11 Feb 2009 23:06:50 -0000 1.10
@@ -73,16 +73,30 @@
</configuration>
</plugin>
+ </plugins>
+ </build>
+ <profiles>
+ <profile>
+ <id>install-jars</id>
+ <activation>
+ <!--
+ I can't come up with anything better then this.
+ So it won't work directly after a clean.
+ But what can we do. mvn2 sucks a bit too.
+ -->
+ <file>
+ <exists>target/war</exists>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+
<!-- We want to deploy/install the generated jar too -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
- <inherited>true</inherited>
- <configuration>
- <uniqueVersion>false</uniqueVersion>
- </configuration>
<executions>
<execution>
<phase>deploy</phase>
@@ -122,6 +136,8 @@
</plugin>
</plugins>
</build>
+ </profile>
+ </profiles>
<dependencies>
<dependency>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs