pom.xml 3.73 KB
Newer Older
David Koch's avatar
David Koch committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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>de.uniko.digicom.carsandco</groupId>
	<artifactId>carsandco-api</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<name>External Cars and Co API</name>
	<description>External API for business partners of Cars and Co Inc.</description>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<java.version>1.7</java.version>
		<!-- plugins -->
		<maven.compiler.version>3.3</maven.compiler.version>
		<java.source-plugin.version>2.2.1</java.source-plugin.version>
David Koch's avatar
David Koch committed
16
		<java.javaDoc-plugin.version>2.9.1</java.javaDoc-plugin.version>
David Koch's avatar
David Koch committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
		<maven.ssh-extension.version>2.10</maven.ssh-extension.version>
		<!-- dependencies -->
		<gson.version>1.7.1</gson.version>
		<http.client.version>4.5.1</http.client.version>
	</properties>

	<build>
		<sourceDirectory>src/main/java</sourceDirectory>
		<testSourceDirectory>src/test/java</testSourceDirectory>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>${maven.compiler.version}</version>
				<configuration>
					<source>${java.version}</source>
					<target>${java.version}</target>
					<encoding>${project.build.sourceEncoding}</encoding>
					<showWarnings>true</showWarnings>
					<showDeprecation>true</showDeprecation>
				</configuration>
			</plugin>

			<!-- attach source code -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>${java.source-plugin.version}</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
David Koch's avatar
David Koch committed
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
			
			<!-- attach JavaDoc -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>${java.javaDoc-plugin.version}</version>
				<configuration>
					<encoding>UTF-8</encoding>
					<show>private</show>
				</configuration>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
David Koch's avatar
David Koch committed
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
		</plugins>

		<extensions>
			<!-- SSH extension to deploy via SCP -->
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-ssh</artifactId>
				<version>${maven.ssh-extension.version}</version>
			</extension>
		</extensions>
	</build>

	<repositories>
		<!-- Cars and Co repository to resolve dependencies from -->
		<repository>
			<id>carsandco</id>
			<url>http://camunda-carsandco.iwvi.uni-koblenz.de/mvn</url>
		</repository>
		<!-- Capitol Inc. repository -->
		<repository>
			<id>capitol</id>
			<url>http://camunda-capitol.iwvi.uni-koblenz.de/mvn</url>
		</repository>
	</repositories>

	<distributionManagement>
David Koch's avatar
David Koch committed
99
		<!-- Carsandco repository to deploy artifacts to -->
David Koch's avatar
David Koch committed
100
101
102
		<repository>
			<id>carsandco</id>
			<uniqueVersion>false</uniqueVersion>
David Koch's avatar
David Koch committed
103
			<url>scp://camunda-carsandco.iwvi.uni-koblenz.de/var/www/html/mvn/</url>
David Koch's avatar
David Koch committed
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
			<layout>default</layout>
		</repository>
	</distributionManagement>

	<dependencies>
		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
			<version>${http.client.version}</version>
		</dependency>
		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
			<version>1.7.1</version>
		</dependency>
		<dependency>
			<groupId>de.uniko.digicom.capitol</groupId>
			<artifactId>capitol-api</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
	</dependencies>
</project>