pom.xml 3.92 KB
Newer Older
yannick legoc's avatar
yannick legoc committed
1 2 3 4
<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>fr.ill.ics</groupId>
	<artifactId>nomadcommandsystem</artifactId>
legoc's avatar
legoc committed
5
	<version>4.0.34-SNAPSHOT</version>
yannick legoc's avatar
yannick legoc committed
6 7 8
	<name>NomadCommandSystem</name>
	<description>Java bridge for the communication with the Nomad server</description>
	<scm>
9
		<connection>scm:svn:http://forge.ill.fr/svn/nomad/ill/NomadCommandSystem/trunk</connection>
yannick legoc's avatar
yannick legoc committed
10 11
	</scm>

yannick legoc's avatar
yannick legoc committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
	<distributionManagement>
		<repository>
			<id>ill-repo</id>
			<name>The ILL Maven Repository</name>
			<url>https://maven.ill.fr/content/repositories/releases</url>
		</repository>
		<snapshotRepository>
			<id>ill-repo</id>
			<name>The ILL Maven Repository</name>
			<url>https://maven.ill.fr/content/repositories/snapshots</url>
		</snapshotRepository>
	</distributionManagement>

	<repositories>
		<repository>
			<id>ill-repo-thirdparty</id>
			<url>https://maven.ill.fr/content/repositories/thirdparty</url>
		</repository>
		<repository>
			<id>ill-repo-releases</id>
			<url>https://maven.ill.fr/content/repositories/releases</url>
		</repository>
		<repository>
			<id>ill-repo-snapshots</id>
			<url>https://maven.ill.fr/content/repositories/snapshots</url>
		</repository>
	</repositories>

yannick legoc's avatar
yannick legoc committed
40 41 42 43 44
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<dependencies>
Hélène Ortiz's avatar
comment  
Hélène Ortiz committed
45 46 47 48 49 50
		<dependency>
			<groupId>org.jasig.cas</groupId>
    		<artifactId>cas-client</artifactId>
    		<version>3.1.10</version>
		    <type>pom</type>
		</dependency>
yannick legoc's avatar
yannick legoc committed
51 52 53 54 55 56 57 58 59 60
		<dependency>
			<groupId>avalon-framework</groupId>
			<artifactId>avalon-framework-impl</artifactId>
			<version>4.2.0</version>
		</dependency>
		<dependency>
			<groupId>logkit</groupId>
			<artifactId>logkit</artifactId>
			<version>2.0</version>
		</dependency>
61 62 63
		<dependency>	
			<groupId>fr.ill.ics</groupId>
			<artifactId>nomadcommandsystem-messages</artifactId>
64
			<version>0.0.20</version>
65
		</dependency>	
66
		<dependency>
ics's avatar
ics committed
67 68
            <groupId>fr.ill.ics</groupId>
            <artifactId>cameo-api</artifactId>
legoc's avatar
legoc committed
69
            <version>1.0.0</version>
ics's avatar
ics committed
70 71 72
            <exclusions>
                <exclusion>
                    <groupId>fr.ill.ics</groupId>
73
                    <artifactId>cameo-com-jeromq</artifactId>
ics's avatar
ics committed
74 75 76 77 78 79
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>fr.ill.ics</groupId>
            <artifactId>cameo-com-jzmq</artifactId>
80
            <version>0.0.3</version>
ics's avatar
ics committed
81
        </dependency>
yannick legoc's avatar
yannick legoc committed
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
	</dependencies>
	<build>
		<plugins>

			<!-- We force the compilation with 1.7 to ensure SUSE and Android execution -->
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.0.2</version>
				<configuration>
					<source>1.7</source>
					<target>1.7</target>
				</configuration>
			</plugin>

			<!-- Plugin to get the SVN revision -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
				<version>1.3</version>
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>create</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<doCheck>false</doCheck>
111
					<doUpdate>false</doUpdate>
yannick legoc's avatar
yannick legoc committed
112 113 114 115 116 117 118 119 120 121
				</configuration>
			</plugin>

			<!-- Incorporate the SVN revision in the Manifest -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<archive>
yannick legoc's avatar
yannick legoc committed
122
						<manifest>
yannick legoc's avatar
yannick legoc committed
123 124 125
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
							<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
						</manifest>
yannick legoc's avatar
yannick legoc committed
126 127 128 129 130 131
						<manifestEntries>
							<SCM-Revision>${buildNumber}</SCM-Revision>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>
132
			
yannick legoc's avatar
yannick legoc committed
133 134 135 136
		</plugins>
	</build>

</project>