pom.xml 6.43 KB
Newer Older
R.W.Majeed's avatar
R.W.Majeed committed
1 2
<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>
R.W.Majeed's avatar
R.W.Majeed committed
3 4
	<packaging>pom</packaging>
	
R.W.Majeed's avatar
R.W.Majeed committed
5 6
	<groupId>de.sekmi.histream</groupId>
	<artifactId>histream</artifactId>
7
	<version>0.15-SNAPSHOT</version>
R.W.Majeed's avatar
R.W.Majeed committed
8
  
9 10 11
	<name>HIStream</name>
	<description>Real-time stream based decision support system</description>
	<url>https://gitlab.uni-oldenburg.de/rwmajeed/histream</url>
12
	
13 14
  	<inceptionYear>2013</inceptionYear>
  	<organization>
15 16 17 18 19 20 21 22 23 24
		<name>R.W.Majeed</name>
	</organization>
	<developers>
		<developer>
			<name>R.W.Majeed</name>
			<email>raphael.majeed (a) uni-oldenburg.de</email>
			<organization>Department for Medical Informatics, University Oldenburg</organization>
			<organizationUrl>https://www.uni-oldenburg.de/medizininformatik/</organizationUrl>
		</developer>
	</developers>
R.W.Majeed's avatar
R.W.Majeed committed
25
	<scm>
26
		<connection>scm:git:git@gitlab.uni-oldenburg.de:rwmajeed/histream.git</connection>
R.W.Majeed's avatar
R.W.Majeed committed
27
		<developerConnection>scm:git:git@gitlab.uni-oldenburg.de:rwmajeed/histream.git</developerConnection>
28
		<tag>HEAD</tag>
29
		<url>https://gitlab.uni-oldenburg.de/rwmajeed/histream/tree/master</url>
R.W.Majeed's avatar
R.W.Majeed committed
30
	</scm>
31
	<distributionManagement>
32 33 34 35
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
36
		<repository>
37 38
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
39 40
		</repository>
	</distributionManagement>
R.W.Majeed's avatar
R.W.Majeed committed
41 42 43 44
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	</properties>
45
	
46 47 48 49 50 51 52 53
	<licenses>
		<license>
			<name>Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
			<comments>A business-friendly OSS license</comments>
		</license>
	</licenses>
54
	<modules>
55
		<module>histream-i2b2</module>
56
		<module>histream-core</module>
57 58
		<module>histream-export</module>
		<!--
59
		<module>histream-skos</module>
60 61
		<module>histream-import</module>
		<module>histream-js</module>
62
		<module>histream-maven-plugin</module> -->
63
		<!--
64
		<module>i2b2-integration-tests</module>
65
		<module>distribution</module>-->
66
	</modules>
67 68 69 70 71 72 73 74 75 76
	<build>
		<extensions>
			<extension>
				<!-- upload via scp for site/release-->
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-ssh</artifactId>
				<version>2.10</version>
			</extension>
		</extensions>

77 78 79 80 81
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
R.W.Majeed's avatar
R.W.Majeed committed
82
					<version>3.7.0</version>
83 84 85 86 87
					<configuration>
						<source>1.8</source>
						<target>1.8</target>
					</configuration>
				</plugin>
88 89 90
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-source-plugin</artifactId>
91
					<version>3.0.1</version>
92 93 94 95 96 97 98 99 100
					<executions>
						<execution>
							<id>attach-sources</id>
							<goals>
								<goal>jar</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
101 102 103
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-jar-plugin</artifactId>
104
					<version>3.0.2</version>
105 106 107 108
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-resources-plugin</artifactId>
109
					<version>3.0.1</version>
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
					<configuration>
						<encoding>UTF-8</encoding>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>license-maven-plugin</artifactId>
					<version>1.8</version>
					<executions>
						<execution>
							<id>first</id>
							<goals>
								<goal>update-file-header</goal>
							</goals>
							<phase>process-sources</phase>
							<configuration>
								<licenseName>apache_v2</licenseName>
								<roots>
									<root>src/main/java</root>
									<root>src/test</root>
								</roots>
							</configuration>
						</execution>
					</executions>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-assembly-plugin</artifactId>
138
					<version>2.6</version>
139
				</plugin>
140 141 142 143 144 145 146 147 148 149
				<plugin>
					<!-- only needed for working with eclipse -->
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-eclipse-plugin</artifactId>
					<version>2.10</version>
					<configuration>
						<downloadSources>true</downloadSources>
						<downloadJavadocs>true</downloadJavadocs>
					</configuration>
				</plugin>
150 151 152 153 154 155
				<plugin>
					<!-- forces newer version, old 2.3.2 contains bugs -->
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-release-plugin</artifactId>
					<version>2.5.2</version>
				</plugin>
156 157 158 159 160
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-gpg-plugin</artifactId>
					<version>1.6</version>
				</plugin>
161 162
			</plugins>
		</pluginManagement>
163 164 165 166 167 168

		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
			</plugin>
169 170 171 172 173 174 175 176 177 178 179
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>test-jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
180
		</plugins>
R.W.Majeed's avatar
R.W.Majeed committed
181
	</build>
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
	<!-- profile which signs artifacts only during release -->
	<profiles>
		<profile>
			<id>release-sign-artifacts</id>
			<activation>
				<property>
					<name>performRelease</name>
					<value>true</value>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
R.W.Majeed's avatar
R.W.Majeed committed
211 212 213 214 215 216 217 218 219
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
			</plugin>
		</plugins>
	</reporting>
220 221 222 223 224 225
	<dependencyManagement>
		<!-- dependency version+scope inherited by child projects -->
		<dependencies>
			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit</artifactId>
226
				<version>4.12</version>
227 228 229 230
				<scope>test</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>
R.W.Majeed's avatar
R.W.Majeed committed
231
</project>