You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by tv...@apache.org on 2014/03/25 23:52:09 UTC
svn commit: r1581568 - in /tomee/tomee/trunk/tomee/tomee-deb: pom.xml
src/main/resources/init/setenv.sh
Author: tveronezi
Date: Tue Mar 25 22:52:08 2014
New Revision: 1581568
URL: http://svn.apache.org/r1581568
Log:
https://issues.apache.org/jira/browse/TOMEE-245
* trying "build-helper-maven-plugin"
* "/usr/share/tomee/temp" instead of "/tmp"
Modified:
tomee/tomee/trunk/tomee/tomee-deb/pom.xml
tomee/tomee/trunk/tomee/tomee-deb/src/main/resources/init/setenv.sh
Modified: tomee/tomee/trunk/tomee/tomee-deb/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tomee/tomee-deb/pom.xml?rev=1581568&r1=1581567&r2=1581568&view=diff
==============================================================================
--- tomee/tomee/trunk/tomee/tomee-deb/pom.xml (original)
+++ tomee/tomee/trunk/tomee/tomee-deb/pom.xml Tue Mar 25 22:52:08 2014
@@ -148,23 +148,23 @@
</executions>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.3.1</version>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.7</version>
<executions>
<execution>
- <id>install-deb-package</id>
- <phase>install</phase>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
<goals>
- <goal>install-file</goal>
+ <goal>attach-artifact</goal>
</goals>
<configuration>
- <file>${project.build.directory}/apache-tomee-${project.version}.deb</file>
- <groupId>${project.groupId}</groupId>
- <artifactId>apache-tomee</artifactId>
- <version>${project.version}</version>
- <packaging>deb</packaging>
- <generatePom>${true}</generatePom>
+ <artifacts>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-${project.version}.deb</file>
+ <type>deb</type>
+ </artifact>
+ </artifacts>
</configuration>
</execution>
</executions>
Modified: tomee/tomee/trunk/tomee/tomee-deb/src/main/resources/init/setenv.sh
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tomee/tomee-deb/src/main/resources/init/setenv.sh?rev=1581568&r1=1581567&r2=1581568&view=diff
==============================================================================
--- tomee/tomee/trunk/tomee/tomee-deb/src/main/resources/init/setenv.sh (original)
+++ tomee/tomee/trunk/tomee/tomee-deb/src/main/resources/init/setenv.sh Tue Mar 25 22:52:08 2014
@@ -1,2 +1,2 @@
#!/bin/sh
-export CATALINA_PID=/tmp/tomee.pid
\ No newline at end of file
+export CATALINA_PID=/usr/share/tomee/temp/tomee.pid
\ No newline at end of file