Strabon

diff endpoint-exec/pom.xml @ 1528:6cc6a1963350

Backed out changeset ba8fb069b2ca
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Mon Jan 04 17:47:18 2016 +0200 (2016-01-04)
parents ba8fb069b2ca
children 142b6555a010
line diff
     1.1 --- a/endpoint-exec/pom.xml	Wed Nov 11 13:28:26 2015 +0000
     1.2 +++ b/endpoint-exec/pom.xml	Mon Jan 04 17:47:18 2016 +0200
     1.3 @@ -5,7 +5,7 @@
     1.4  	<parent>
     1.5  		<groupId>eu.earthobservatory</groupId>
     1.6  		<artifactId>strabon</artifactId>
     1.7 -		<version>3.3.2-SNAPSHOT</version>
     1.8 +		<version>3.2.10-temporals-SNAPSHOT</version>
     1.9  	</parent>
    1.10  
    1.11  	<artifactId>strabon-endpoint-exec</artifactId>
    1.12 @@ -93,93 +93,45 @@
    1.13  					</execution>
    1.14  				</executions>
    1.15  			</plugin>
    1.16 -			
    1.17 -                    
    1.18 +                    <plugin>
    1.19 +                                <artifactId>jdeb</artifactId>
    1.20 +                                <groupId>org.vafer</groupId>
    1.21 +                                <version>1.3</version>
    1.22 +                                <executions>
    1.23 +                                        <execution>
    1.24 +                                                <phase>package</phase>
    1.25 +                                                <goals>
    1.26 +                                                        <goal>jdeb</goal>
    1.27 +                                                </goals>
    1.28 +                                        <configuration>
    1.29 +						<skipPOMs>false</skipPOMs>
    1.30 +                                                <dataSet>
    1.31 +                                                        <data>
    1.32 +                                                                <src>${project.build.directory}/strabon-endpoint-executable-${project.version}.jar</src>
    1.33 +                                                                <type>file</type>
    1.34 +                                                                <mapper>
    1.35 +                                                                        <type>perm</type>
    1.36 +                                                                        <prefix>/usr/share/jdeb/lib</prefix>
    1.37 +                                                                </mapper>
    1.38 +                                                        </data>
    1.39 +                                                        <data>
    1.40 +                                                                <src>${basedir}/strabon-endpoint</src>
    1.41 +                                                                <type>file</type>
    1.42 +                                                                <mapper>
    1.43 +                                                                        <type>perm</type>
    1.44 +                                                                        <prefix>/usr/local/bin</prefix>
    1.45 +                                                                        <user>root</user>
    1.46 +                                                                        <group>root</group>
    1.47 +                                                                        <filemode>755</filemode>
    1.48 +                                                                </mapper>
    1.49 +                                                        </data>
    1.50 +                                                </dataSet>
    1.51 +                                        </configuration>
    1.52 +                                </execution>
    1.53 +                        </executions>
    1.54 +                        </plugin>
    1.55 +
    1.56 +
    1.57  		</plugins>
    1.58  	</build>
    1.59 -
    1.60 -<profiles>
    1.61 -		<profile>
    1.62 -			<id>create-debian</id>
    1.63 -			<activation>
    1.64 -				<activeByDefault>false</activeByDefault>
    1.65 -				<property>
    1.66 -					<name>debian</name>
    1.67 -					<value>true</value>
    1.68 -				</property>
    1.69 -			</activation>
    1.70 -				<build>
    1.71 -					<plugins>
    1.72 -						<plugin>
    1.73 -						    <groupId>org.codehaus.mojo</groupId>
    1.74 -						    <artifactId>exec-maven-plugin</artifactId>
    1.75 -						    <version>1.1.1</version>
    1.76 -						    <executions>
    1.77 -						      <execution>
    1.78 -							<!--
    1.79 -							<id>some-execution</id>
    1.80 -							-->
    1.81 -							<phase>package</phase>
    1.82 -							<goals>
    1.83 -							  <goal>exec</goal>
    1.84 -							</goals>
    1.85 -						      </execution>
    1.86 -						    </executions>
    1.87 -						    <configuration>
    1.88 -						      <executable>${basedir}/../scripts/update-debian-version.sh</executable>
    1.89 -						    </configuration>
    1.90 -						  </plugin>
    1.91 -
    1.92 -						<plugin>
    1.93 -							<artifactId>jdeb</artifactId>
    1.94 -							<groupId>org.vafer</groupId>
    1.95 -							<version>1.3</version>
    1.96 -							<executions>
    1.97 -								<execution>
    1.98 -									<phase>package</phase>
    1.99 -									<goals>
   1.100 -										<goal>jdeb</goal>
   1.101 -									</goals>
   1.102 -								<configuration>
   1.103 -									<skipPOMs>false</skipPOMs>
   1.104 -									<dataSet>
   1.105 -										<data>
   1.106 -											<src>${project.build.directory}/strabon-endpoint-executable-${project.version}.jar</src>
   1.107 -											<type>file</type>
   1.108 -											<mapper>
   1.109 -												<type>perm</type>
   1.110 -												<prefix>/usr/share/jdeb/lib</prefix>
   1.111 -											</mapper>
   1.112 -										</data>
   1.113 -										<data>
   1.114 -											<src>${basedir}/strabon-endpoint</src>
   1.115 -											<type>file</type>
   1.116 -											<mapper>
   1.117 -												<type>perm</type>
   1.118 -												<prefix>/usr/local/bin</prefix>
   1.119 -												<user>root</user>
   1.120 -												<group>root</group>
   1.121 -												<filemode>755</filemode>
   1.122 -											</mapper>
   1.123 -										</data>
   1.124 -										<data>
   1.125 -											<src>${basedir}/strabon-init</src>
   1.126 -											<type>file</type>
   1.127 -											<mapper>
   1.128 -												<type>perm</type>
   1.129 -												<prefix>/usr/local/bin</prefix>
   1.130 -												<user>root</user>
   1.131 -												<group>root</group>
   1.132 -												<filemode>755</filemode>
   1.133 -											</mapper>
   1.134 -										</data>
   1.135 -									</dataSet>
   1.136 -								</configuration>
   1.137 -							</execution>
   1.138 -						</executions>
   1.139 -					</plugin>
   1.140 -				</plugins>
   1.141 -			</build>
   1.142 -		</profile>
   1.143 -	</profiles>
   1.144  </project>