Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Commit dd449c1

Browse files
committed
Add maven support
1 parent f2154f9 commit dd449c1

File tree

1 file changed

+194
-0
lines changed

1 file changed

+194
-0
lines changed

pom.xml

+194
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2011-2012 Christos KK Loverdos
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
<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">
18+
19+
20+
<modelVersion>4.0.0</modelVersion>
21+
<parent>
22+
<groupId>org.sonatype.oss</groupId>
23+
<artifactId>oss-parent</artifactId>
24+
<version>7</version>
25+
</parent>
26+
27+
<groupId>com.ckkloverdos</groupId>
28+
<artifactId>typedkey</artifactId>
29+
<version>0.2.0-SNAPSHOT</version>
30+
<packaging>jar</packaging>
31+
32+
<name>Typedkey</name>
33+
<description>
34+
Typesafe keys
35+
</description>
36+
<url>https://github.com/loverdos/typedkey</url>
37+
<inceptionYear>2011</inceptionYear>
38+
<organization>
39+
<name>ckkloverdos.com</name>
40+
<url>http://ckkloverdos.com</url>
41+
</organization>
42+
43+
<licenses>
44+
<license>
45+
<name>Apache 2</name>
46+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
47+
</license>
48+
</licenses>
49+
50+
<developers>
51+
<developer>
52+
<id>loverdos</id>
53+
<name>Christos KK Loverdos</name>
54+
<email>loverdos@gmail.com</email>
55+
</developer>
56+
</developers>
57+
58+
<scm>
59+
<url>https://loverdos@github.com/loverdos/typedkey</url>
60+
<connection>scm:git:https://loverdos@github.com/loverdos/typedkey.git</connection>
61+
<developerConnection>scm:git:git@github.com:loverdos/typedkey.git</developerConnection>
62+
</scm>
63+
64+
<issueManagement>
65+
<system>Github</system>
66+
<url>https://github.com/loverdos/typedkey/issues</url>
67+
</issueManagement>
68+
69+
<properties>
70+
<scala.version>2.9.1</scala.version>
71+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
72+
<project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
73+
</properties>
74+
75+
<dependencies>
76+
<dependency>
77+
<groupId>org.scala-lang</groupId>
78+
<artifactId>scala-library</artifactId>
79+
<version>${scala.version}</version>
80+
</dependency>
81+
<dependency>
82+
<groupId>com.ckkloverdos</groupId>
83+
<artifactId>maybe</artifactId>
84+
<version>0.4.0-SNAPSHOT</version>
85+
</dependency>
86+
<dependency>
87+
<groupId>junit</groupId>
88+
<artifactId>junit</artifactId>
89+
<version>4.10</version>
90+
<scope>test</scope>
91+
</dependency>
92+
</dependencies>
93+
94+
<build>
95+
<sourceDirectory>src/main/scala</sourceDirectory>
96+
<testSourceDirectory>src/test/scala</testSourceDirectory>
97+
<resources>
98+
<resource>
99+
<directory>${basedir}/src/main/resources</directory>
100+
</resource>
101+
</resources>
102+
<testResources>
103+
<testResource>
104+
<directory>${basedir}/src/test/resources</directory>
105+
</testResource>
106+
</testResources>
107+
<plugins>
108+
<plugin>
109+
<artifactId>maven-enforcer-plugin</artifactId>
110+
<version>1.0.1</version>
111+
<executions>
112+
<execution>
113+
<id>enforce-tools</id>
114+
<goals>
115+
<goal>enforce</goal>
116+
</goals>
117+
<configuration>
118+
<rules>
119+
<requireJavaVersion>
120+
<version>[1.6.0,)</version>
121+
</requireJavaVersion>
122+
<requireMavenVersion>
123+
<version>[3.0.3,)</version>
124+
</requireMavenVersion>
125+
</rules>
126+
</configuration>
127+
</execution>
128+
</executions>
129+
</plugin>
130+
131+
<plugin>
132+
<groupId>org.scala-tools</groupId>
133+
<artifactId>maven-scala-plugin</artifactId>
134+
<version>2.15.2</version>
135+
<configuration>
136+
<scalaVersion>${scala.version}</scalaVersion>
137+
<charset>${project.build.sourceEncoding}</charset>
138+
<args>
139+
<arg>-deprecation</arg>
140+
<arg>-unchecked</arg>
141+
<arg>-optimize</arg>
142+
</args>
143+
<charset>${project.build.sourceEncoding}</charset>
144+
</configuration>
145+
<executions>
146+
<execution>
147+
<goals>
148+
<goal>compile</goal>
149+
<goal>testCompile</goal>
150+
</goals>
151+
</execution>
152+
</executions>
153+
</plugin>
154+
155+
<plugin>
156+
<groupId>org.apache.maven.plugins</groupId>
157+
<artifactId>maven-surefire-plugin</artifactId>
158+
<version>2.9</version>
159+
<configuration>
160+
<useFile>false</useFile>
161+
<reportFormat>plain</reportFormat>
162+
</configuration>
163+
</plugin>
164+
165+
<plugin>
166+
<groupId>org.apache.maven.plugins</groupId>
167+
<artifactId>maven-source-plugin</artifactId>
168+
<version>2.1.2</version>
169+
<executions>
170+
<execution>
171+
<id>attach-sources</id>
172+
<goals>
173+
<goal>jar-no-fork</goal>
174+
</goals>
175+
</execution>
176+
</executions>
177+
</plugin>
178+
179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-release-plugin</artifactId>
182+
<version>2.2.2</version>
183+
<configuration>
184+
<preparationGoals>clean verify</preparationGoals>
185+
</configuration>
186+
</plugin>
187+
188+
<plugin>
189+
<artifactId>maven-repository-plugin</artifactId>
190+
<version>2.3.1</version>
191+
</plugin>
192+
</plugins>
193+
</build>
194+
</project>

0 commit comments

Comments
 (0)