Strabon

diff endpoint-exec/pom.xml @ 1484:fdbcb246115b

#58 added script that is invoked by maven to update the versions in
the control files
author Giannis Vlachopoulos <johnvl@di.uoa.gr>
date Wed Mar 11 15:29:31 2015 +0200 (2015-03-11)
parents c56f16b4fb1a
children 0397b9f4b68f
line diff
     1.1 --- a/endpoint-exec/pom.xml	Thu Jan 15 14:36:12 2015 +0200
     1.2 +++ b/endpoint-exec/pom.xml	Wed Mar 11 15:29:31 2015 +0200
     1.3 @@ -111,57 +111,75 @@
     1.4  				<build>
     1.5  					<plugins>
     1.6  						<plugin>
     1.7 -                                <artifactId>jdeb</artifactId>
     1.8 -                                <groupId>org.vafer</groupId>
     1.9 -                                <version>1.3</version>
    1.10 -                                <executions>
    1.11 -                                        <execution>
    1.12 -                                                <phase>package</phase>
    1.13 -                                                <goals>
    1.14 -                                                        <goal>jdeb</goal>
    1.15 -                                                </goals>
    1.16 -                                        <configuration>
    1.17 -						<skipPOMs>false</skipPOMs>
    1.18 -                                                <dataSet>
    1.19 -                                                        <data>
    1.20 -                                                                <src>${project.build.directory}/strabon-endpoint-executable-${project.version}.jar</src>
    1.21 -                                                                <type>file</type>
    1.22 -                                                                <mapper>
    1.23 -                                                                        <type>perm</type>
    1.24 -                                                                        <prefix>/usr/share/jdeb/lib</prefix>
    1.25 -                                                                </mapper>
    1.26 -                                                        </data>
    1.27 -                                                        <data>
    1.28 -                                                                <src>${basedir}/strabon-endpoint</src>
    1.29 -                                                                <type>file</type>
    1.30 -                                                                <mapper>
    1.31 -                                                                        <type>perm</type>
    1.32 -                                                                        <prefix>/usr/local/bin</prefix>
    1.33 -                                                                        <user>root</user>
    1.34 -                                                                        <group>root</group>
    1.35 -                                                                        <filemode>755</filemode>
    1.36 -                                                                </mapper>
    1.37 -                                                        </data>
    1.38 -							<data>
    1.39 -                                                                <src>${basedir}/strabon-init</src>
    1.40 -                                                                <type>file</type>
    1.41 -                                                                <mapper>
    1.42 -                                                                        <type>perm</type>
    1.43 -                                                                        <prefix>/usr/local/bin</prefix>
    1.44 -                                                                        <user>root</user>
    1.45 -                                                                        <group>root</group>
    1.46 -                                                                        <filemode>755</filemode>
    1.47 -                                                                </mapper>
    1.48 -                                                        </data>
    1.49 -                                                </dataSet>
    1.50 -                                        </configuration>
    1.51 -                                </execution>
    1.52 -                        </executions>
    1.53 -                        </plugin>
    1.54 +						    <groupId>org.codehaus.mojo</groupId>
    1.55 +						    <artifactId>exec-maven-plugin</artifactId>
    1.56 +						    <version>1.1.1</version>
    1.57 +						    <executions>
    1.58 +						      <execution>
    1.59 +							<!--
    1.60 +							<id>some-execution</id>
    1.61 +							-->
    1.62 +							<phase>package</phase>
    1.63 +							<goals>
    1.64 +							  <goal>exec</goal>
    1.65 +							</goals>
    1.66 +						      </execution>
    1.67 +						    </executions>
    1.68 +						    <configuration>
    1.69 +						      <executable>${basedir}/../scripts/update-debian-version.sh</executable>
    1.70 +						    </configuration>
    1.71 +						  </plugin>
    1.72  
    1.73 -					</plugins>
    1.74 -				</build>
    1.75 -
    1.76 +						<plugin>
    1.77 +							<artifactId>jdeb</artifactId>
    1.78 +							<groupId>org.vafer</groupId>
    1.79 +							<version>1.3</version>
    1.80 +							<executions>
    1.81 +								<execution>
    1.82 +									<phase>package</phase>
    1.83 +									<goals>
    1.84 +										<goal>jdeb</goal>
    1.85 +									</goals>
    1.86 +								<configuration>
    1.87 +									<skipPOMs>false</skipPOMs>
    1.88 +									<dataSet>
    1.89 +										<data>
    1.90 +											<src>${project.build.directory}/strabon-endpoint-executable-${project.version}.jar</src>
    1.91 +											<type>file</type>
    1.92 +											<mapper>
    1.93 +												<type>perm</type>
    1.94 +												<prefix>/usr/share/jdeb/lib</prefix>
    1.95 +											</mapper>
    1.96 +										</data>
    1.97 +										<data>
    1.98 +											<src>${basedir}/strabon-endpoint</src>
    1.99 +											<type>file</type>
   1.100 +											<mapper>
   1.101 +												<type>perm</type>
   1.102 +												<prefix>/usr/local/bin</prefix>
   1.103 +												<user>root</user>
   1.104 +												<group>root</group>
   1.105 +												<filemode>755</filemode>
   1.106 +											</mapper>
   1.107 +										</data>
   1.108 +										<data>
   1.109 +											<src>${basedir}/strabon-init</src>
   1.110 +											<type>file</type>
   1.111 +											<mapper>
   1.112 +												<type>perm</type>
   1.113 +												<prefix>/usr/local/bin</prefix>
   1.114 +												<user>root</user>
   1.115 +												<group>root</group>
   1.116 +												<filemode>755</filemode>
   1.117 +											</mapper>
   1.118 +										</data>
   1.119 +									</dataSet>
   1.120 +								</configuration>
   1.121 +							</execution>
   1.122 +						</executions>
   1.123 +					</plugin>
   1.124 +				</plugins>
   1.125 +			</build>
   1.126  		</profile>
   1.127  	</profiles>
   1.128  </project>