Update of /var/cvs/applications/app-base
In directory james.mmbase.org:/tmp/cvs-serv10285
Modified Files:
pom.xml
Log Message:
deploy/install also the created jar, because other apps may depend on that
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.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- pom.xml 11 Feb 2009 18:37:29 -0000 1.5
+++ pom.xml 11 Feb 2009 19:33:45 -0000 1.6
@@ -66,6 +66,51 @@
</webResources>
</configuration>
</plugin>
+
+
+ <!-- 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>
+ <goals><goal>deploy-file</goal></goals>
+ <configuration>
+ <packaging>jar</packaging>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}/WEB-INF/lib/${project.artifactId}-${project.version}.jar</file>
+ <artifactId>${project.artifactId}</artifactId>
+ <groupId>${project.groupId}.jars</groupId>
+ <version>${project.version}</version>
+ <repositoryId>mmbase</repositoryId>
+ <url>${project.distributionManagement.repository.url}</url>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals><goal>install-file</goal></goals>
+ <configuration>
+ <packaging>jar</packaging>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}/WEB-INF/lib/${project.artifactId}-${project.version}.jar</file>
+ <artifactId>${project.artifactId}</artifactId>
+ <groupId>${project.groupId}.jars</groupId>
+ <version>${project.version}</version>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs