summaryrefslogtreecommitdiffstats
path: root/pom.xml
blob: 27362ee84367b011b481b8b86dcc15830b197205 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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
99
100
101
102
103
104
105
106
107
108
109
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<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>

	<!-- TODO Mark: replace with com.kitfox -->
	<groupId>com.kitfox</groupId>
	<artifactId>kitfox-svg-salamander</artifactId>
	<version>1.0.8</version>
	<packaging>jar</packaging>

	<name>${project.artifactId}</name>

	<description>${project.name} SVGSalamander is a popular, small and fast
		SVG renderer and animator for Java.</description>

	<!-- TODO Mark: set actual year -->
	<inceptionYear>2011</inceptionYear>

	<url>http://java.net/projects/svgsalamander</url>

	<organization>
		<name>Kitfox Studios</name>
		<url>http://www.kitfox.com/</url>
	</organization>

	<distributionManagement>
		<repository>
			<id>mltk-repo</id>
			<name>mltk-services repo</name>
			<url>http://mltk-services.ruf.uni-freiburg.de:8081/nexus/content/repositories/releases/</url>
		</repository>
		<snapshotRepository>
			<id>mltk-repo</id>
			<name>mltk-services repo</name>
			<url>http://mltk-services.ruf.uni-freiburg.de:8081/nexus/content/repositories/snapshots/</url>
		</snapshotRepository>
	</distributionManagement>

	<!-- TODO Mark: replace with your license -->
	<licenses>

		<license>
			<name>BSD</name>
			<url>http://www.opensource.org/licenses/bsd-license.php</url>
			<distribution>repo</distribution>
		</license>
		<license>
			<name>GNU Lesser General Public License, version 2.1</name>
			<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<developers>

		<developer>
			<id>mark-mckay</id>
			<name>Mark McKay</name>
			<email>mark@kitfox.com</email>
			<roles>
				<role>owner</role>
			</roles>
			<properties>
				<credits>the creator</credits>
			</properties>
		</developer>

	</developers>

	<properties>

		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

		<!-- must be provided by settingx.xml -->
		<scmServerId>kitfox-source-repo</scmServerId>

	</properties>

	<dependencies>

		<!-- TODO Mark: do you really need to depend on this? -->
		<dependency>
			<groupId>org.apache.ant</groupId>
			<artifactId>ant</artifactId>
			<version>1.8.1</version>
		</dependency>

	</dependencies>

	<build>

		<!-- location of MAIN sources & resources -->
		<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
		<resources>
			<resource>
				<directory>${basedir}/src/main/res</directory>
			</resource>
		</resources>

		<!-- location of TEST sources & resources -->
		<testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
		<testResources>
			<testResource>
				<directory>${basedir}/src/test/res</directory>
			</testResource>
		</testResources>

		<plugins>

			<!-- generated code: animation parser; see for more settings: http://mojo.codehaus.org/javacc-maven-plugin/javacc-mojo.html -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>javacc-maven-plugin</artifactId>
				<version>2.6</version>
				<executions>
					<execution>
						<id>javacc</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>javacc</goal>
						</goals>
						<configuration>
							<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
							<includes>
								<include>**/*.jjt</include>
							</includes>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<!-- enforce java version -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<source>1.7</source>
					<target>1.7</target>
				</configuration>
			</plugin>

			<!-- enforce maven version -->

			<plugin>
				<!-- generate source -->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.1.2</version>
				<configuration>
				</configuration>
			</plugin>

			<plugin>
				<!-- release to sonaytype staging repo -->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<!-- used by release:prepare -->
					<preparationGoals>clean verify</preparationGoals>
					<!-- used by release:perform -->
					<goals>deploy</goals>
				</configuration>
			</plugin>

		</plugins>

	</build>

</project>