|
1 | 1 | <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">
|
2 | 2 | <modelVersion>4.0.0</modelVersion>
|
3 | 3 | <parent>
|
4 |
| - <groupId>org.sonatype.oss</groupId> |
| 4 | + <groupId>com.fasterxml</groupId> |
5 | 5 | <artifactId>oss-parent</artifactId>
|
6 |
| - <version>7</version> |
| 6 | + <version>16</version> |
7 | 7 | </parent>
|
8 | 8 | <groupId>com.fasterxml.util</groupId>
|
9 | 9 | <artifactId>java-merge-sort</artifactId>
|
10 | 10 | <name>java-merge-sort</name>
|
11 |
| - <version>0.9.2-SNAPSHOT</version> |
| 11 | + <version>1.0.0-SNAPSHOT</version> |
12 | 12 | <packaging>bundle</packaging>
|
13 |
| - <description>Basic disk-backed N-way merge sort |
| 13 | + <description>Basic configurable disk-backed N-way merge sort |
14 | 14 | </description>
|
15 | 15 | <url>https://github.com/cowtowncoder/java-merge-sort</url>
|
16 | 16 | <scm>
|
|
19 | 19 | <url>http://github.com/cowtowncoder/java-merge-sort</url>
|
20 | 20 | </scm>
|
21 | 21 | <developers>
|
22 |
| - <developer> |
23 |
| - <id>tatu</id> |
24 |
| - <name>Tatu Saloranta</name> |
25 |
| - <email>tatu.saloranta@iki.fi</email> |
26 |
| - </developer> |
| 22 | + <developer> |
| 23 | + <id>tatu</id> |
| 24 | + <name>Tatu Saloranta</name> |
| 25 | + <email>tatu.saloranta@iki.fi</email> |
| 26 | + </developer> |
27 | 27 | </developers>
|
28 |
| - |
29 |
| - <prerequisites> |
30 |
| - <maven>2.2.1</maven> |
31 |
| - </prerequisites> |
32 |
| - <properties> |
33 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
34 |
| - </properties> |
35 |
| - |
36 |
| - <!-- Licensing --> |
37 | 28 | <licenses>
|
38 | 29 | <license>
|
39 | 30 | <name>The Apache Software License, Version 2.0</name>
|
|
42 | 33 | </license>
|
43 | 34 | </licenses>
|
44 | 35 |
|
45 |
| - <dependencies> |
46 |
| - <!-- very few dependencies... --> |
| 36 | + <properties> |
| 37 | + <javac.src.version>1.6</javac.src.version> |
| 38 | + <javac.target.version>1.6</javac.target.version> |
| 39 | + </properties> |
47 | 40 |
|
48 |
| - <!-- and for testing, JUnit (or TestNG?) is needed --> |
| 41 | + <dependencies> |
| 42 | + <!-- only test dependencies; zero-dep for production --> |
49 | 43 | <dependency>
|
50 | 44 | <groupId>junit</groupId>
|
51 | 45 | <artifactId>junit</artifactId>
|
52 |
| - <version>4.8.2</version> |
| 46 | + <version>4.11</version> |
53 | 47 | <scope>test</scope>
|
54 | 48 | </dependency>
|
| 49 | + |
55 | 50 | <!-- Let's also test JSON-based sorting -->
|
| 51 | + <!-- TODO: upgrade to Jackson 2 --> |
56 | 52 | <dependency>
|
57 | 53 | <groupId>org.codehaus.jackson</groupId>
|
58 | 54 | <artifactId>jackson-mapper-asl</artifactId>
|
59 |
| - <version>1.9.11</version> |
| 55 | + <version>1.9.13</version> |
60 | 56 | <scope>test</scope>
|
61 | 57 | </dependency>
|
62 | 58 | </dependencies>
|
63 | 59 |
|
64 | 60 | <build>
|
65 | 61 | <plugins>
|
66 |
| - <plugin> |
67 |
| - <artifactId>maven-compiler-plugin</artifactId> |
68 |
| - <version>2.3.2</version> |
69 |
| - <configuration> |
70 |
| - <source>1.6</source> |
71 |
| - <target>1.6</target> |
72 |
| - </configuration> |
73 |
| - </plugin> |
| 62 | +<!-- |
74 | 63 | <plugin>
|
75 | 64 | <groupId>org.apache.maven.plugins</groupId>
|
76 | 65 | <artifactId>maven-release-plugin</artifactId>
|
77 | 66 | <configuration>
|
78 | 67 | <mavenExecutorId>forked-path</mavenExecutorId>
|
79 | 68 | </configuration>
|
80 | 69 | </plugin>
|
| 70 | +--> |
| 71 | + |
| 72 | + <!-- 04-Jun-2014, tatu: Not sure why source and javadoc plugins are needed |
| 73 | + here; parent pom SHOULD include enough info |
| 74 | + --> |
81 | 75 | <plugin><!-- plug-in to attach source bundle in repo -->
|
82 |
| - <groupId>org.apache.maven.plugins</groupId> |
83 |
| - <artifactId>maven-source-plugin</artifactId> |
84 |
| - <version>2.1.2</version> |
85 |
| - <executions> |
86 |
| - <execution> |
87 |
| - <id>attach-sources</id> |
88 |
| - <goals> |
89 |
| - <goal>jar</goal> |
90 |
| - </goals> |
91 |
| - </execution> |
92 |
| - </executions> |
| 76 | + <groupId>org.apache.maven.plugins</groupId> |
| 77 | + <artifactId>maven-source-plugin</artifactId> |
| 78 | + <version>2.1.2</version> |
| 79 | + <executions> |
| 80 | + <execution> |
| 81 | + <id>attach-sources</id> |
| 82 | + <goals> |
| 83 | + <goal>jar</goal> |
| 84 | + </goals> |
| 85 | + </execution> |
| 86 | + </executions> |
93 | 87 | </plugin>
|
94 | 88 | <plugin>
|
95 |
| - <groupId>org.apache.maven.plugins</groupId> |
96 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
97 |
| - <version>2.6</version> |
98 |
| - <configuration> |
99 |
| - <source>1.5</source> |
100 |
| - <target>1.5</target> |
101 |
| - <encoding>UTF-8</encoding> |
102 |
| - <maxmemory>512m</maxmemory> |
103 |
| - <links> |
104 |
| - <link>http://java.sun.com/javase/6/docs/api/</link> |
105 |
| - </links> |
106 |
| - </configuration> |
107 |
| - <executions> |
108 |
| - <execution> |
109 |
| - <id>attach-javadocs</id> |
110 |
| - <phase>verify</phase> |
111 |
| - <goals> |
112 |
| - <goal>jar</goal> |
113 |
| - </goals> |
114 |
| - </execution> |
115 |
| - </executions> |
| 89 | + <groupId>org.apache.maven.plugins</groupId> |
| 90 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 91 | + <version>2.6</version> |
| 92 | + <executions> |
| 93 | + <execution> |
| 94 | + <id>attach-javadocs</id> |
| 95 | + <phase>verify</phase> |
| 96 | + <goals> |
| 97 | + <goal>jar</goal> |
| 98 | + </goals> |
| 99 | + </execution> |
| 100 | + </executions> |
116 | 101 | </plugin>
|
117 | 102 |
|
118 | 103 | <!-- Plus, let's make jars OSGi bundles as well -->
|
|
0 commit comments