Author: echatellier Date: 2010-05-11 11:16:57 +0200 (Tue, 11 May 2010) New Revision: 2739 Url: http://chorem.org/repositories/revision/jtimer/2739 Log: Make exe file only on release profile (fix sonar build) Modified: trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-04-29 05:45:47 UTC (rev 2738) +++ trunk/pom.xml 2010-05-11 09:16:57 UTC (rev 2739) @@ -148,33 +148,6 @@ </plugin> </plugins> </pluginManagement> - - <plugins> - <plugin> - <groupId>org.bluestemsoftware.open.maven.plugin</groupId> - <artifactId>launch4j-plugin</artifactId> - <version>1.5.0.0</version> - <executions> - <execution> - <id>launch4j</id> - <phase>package</phase> - <goals> - <goal>launch4j</goal> - </goals> - <configuration> - <dontWrapJar>true</dontWrapJar> - <headerType>gui</headerType> - <outfile>target/jtimer.exe</outfile> - <jar>jtimer.jar</jar> - <errTitle>${project.name}</errTitle> - <jre> - <minVersion>1.6.0</minVersion> - </jre> - </configuration> - </execution> - </executions> - </plugin> - </plugins> </build> <reporting> @@ -274,26 +247,8 @@ <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> - <version>1.2.15</version> + <version>1.2.16</version> <scope>runtime</scope> - <exclusions> - <exclusion> - <groupId>javax.jms</groupId> - <artifactId>jms</artifactId> - </exclusion> - <exclusion> - <groupId>com.sun.jmx</groupId> - <artifactId>jmxri</artifactId> - </exclusion> - <exclusion> - <groupId>com.sun.jdmk</groupId> - <artifactId>jmxtools</artifactId> - </exclusion> - <exclusion> - <groupId>javax.mail</groupId> - <artifactId>mail</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>org.freemarker</groupId> @@ -325,8 +280,31 @@ </activation> <build> <plugins> - <plugin> + <groupId>org.bluestemsoftware.open.maven.plugin</groupId> + <artifactId>launch4j-plugin</artifactId> + <version>1.5.0.0</version> + <executions> + <execution> + <id>launch4j</id> + <phase>package</phase> + <goals> + <goal>launch4j</goal> + </goals> + <configuration> + <dontWrapJar>true</dontWrapJar> + <headerType>gui</headerType> + <outfile>target/jtimer.exe</outfile> + <jar>jtimer.jar</jar> + <errTitle>${project.name}</errTitle> + <jre> + <minVersion>1.6.0</minVersion> + </jre> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution>
participants (1)
-
echatellier@users.chorem.org