Maven install file plugin

Započeo maxogm, 22.04.2011, 11:49

prethodna tema - sledeća tema

maxogm

pom.xml:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>rs.in.jmax</groupId>
<artifactId>jmax.lib</artifactId>
<version>0.2.0-SNAPSHOT</version>
<name>chi.lib</name>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
<executions>
<!-- application.handler -->
<execution>
<id>application.handler</id>
<phase>compile</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<file>${basedir}/lib/application.handler-1.0-SNAPSHOT.jar</file>
<groupId>rs.in.jmax.integration</groupId>
<artifactId>application.handler</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
</configuration>
</execution>

</executions>
</plugin>
</plugins>
</build>
</project>