|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 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"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | | - <parent> |
5 | | - <groupId>org.sonatype.oss</groupId> |
6 | | - <artifactId>oss-parent</artifactId> |
7 | | - <version>9</version> |
8 | | - </parent> |
9 | 4 | <groupId>org.zapodot</groupId> |
10 | 5 | <artifactId>jackson-databind-java-optional</artifactId> |
11 | 6 | <version>2.5.2-SNAPSHOT</version> |
|
33 | 28 | </developer> |
34 | 29 |
|
35 | 30 | </developers> |
| 31 | + <prerequisites> |
| 32 | + <maven>3.1.0</maven> |
| 33 | + </prerequisites> |
36 | 34 | <licenses> |
37 | 35 | <license> |
38 | 36 | <name>Apache License, Version 2.0</name> |
|
42 | 40 | </licenses> |
43 | 41 | <properties> |
44 | 42 | <junit.version>4.12</junit.version> |
45 | | - <jackson-core.version>2.5.1</jackson-core.version> |
| 43 | + <jackson-core.version>2.5.2</jackson-core.version> |
46 | 44 | <jackson-databind.version>${jackson-core.version}</jackson-databind.version> |
47 | 45 |
|
48 | 46 | <packageVersion.package>org.zapodot.jackson.java8</packageVersion.package> |
49 | 47 | <packageVersion.dir>org/zapodot/jackson/java8</packageVersion.dir> |
50 | 48 | <packageVersion.template.input>${basedir}/src/main/templates/PackageVersion.java.in</packageVersion.template.input> |
51 | 49 | <packageVersion.template.output>${project.basedir}/target/generated-sources/${packageVersion.dir}/PackageVersion.java</packageVersion.template.output> |
| 50 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
52 | 51 |
|
| 52 | + <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> |
| 53 | + <nexus-staging-maven-plugin.version>1.6.5</nexus-staging-maven-plugin.version> |
| 54 | + <maven-javadoc-plugin.version>2.10.2</maven-javadoc-plugin.version> |
| 55 | + <maven-source-plugin.version>2.4</maven-source-plugin.version> |
| 56 | + <maven-compiler-plugin.version>3.1</maven-compiler-plugin.version> |
| 57 | + <maven-replacer-plugin.version>1.5.3</maven-replacer-plugin.version> |
| 58 | + <maven-jacoco-plugin.version>0.7.5.201505241946</maven-jacoco-plugin.version> |
| 59 | + <maven-coveralls-plugin.version>3.1.0</maven-coveralls-plugin.version> |
| 60 | + <maven-bundle-plugin.version>2.5.4</maven-bundle-plugin.version> |
| 61 | + <maven-build-helper-plugin.version>1.9.1</maven-build-helper-plugin.version> |
53 | 62 | </properties> |
| 63 | + <profiles> |
| 64 | + <profile> |
| 65 | + <id>release</id> |
| 66 | + <build> |
| 67 | + <plugins> |
| 68 | + <plugin> |
| 69 | + <groupId>org.apache.maven.plugins</groupId> |
| 70 | + <artifactId>maven-gpg-plugin</artifactId> |
| 71 | + <version>${maven-gpg-plugin.version}</version> |
| 72 | + <executions> |
| 73 | + <execution> |
| 74 | + <id>sign-artifacts</id> |
| 75 | + <phase>verify</phase> |
| 76 | + <goals> |
| 77 | + <goal>sign</goal> |
| 78 | + </goals> |
| 79 | + </execution> |
| 80 | + </executions> |
| 81 | + </plugin> |
| 82 | + <plugin> |
| 83 | + <groupId>org.sonatype.plugins</groupId> |
| 84 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 85 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 86 | + <extensions>true</extensions> |
| 87 | + <configuration> |
| 88 | + <serverId>sonatype-nexus-staging</serverId> |
| 89 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 90 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 91 | + </configuration> |
| 92 | + </plugin> |
| 93 | + </plugins> |
| 94 | + </build> |
| 95 | + </profile> |
| 96 | + </profiles> |
| 97 | + |
54 | 98 | <dependencies> |
55 | 99 | <dependency> |
56 | 100 | <groupId>com.fasterxml.jackson.core</groupId> |
|
90 | 134 | <plugins> |
91 | 135 | <plugin> |
92 | 136 | <artifactId>maven-compiler-plugin</artifactId> |
93 | | - <version>3.1</version> |
| 137 | + <version>${maven-compiler-plugin.version}</version> |
94 | 138 | <configuration> |
95 | 139 | <source>1.8</source> |
96 | 140 | <target>1.8</target> |
|
100 | 144 | </compilerArgs> |
101 | 145 | </configuration> |
102 | 146 | </plugin> |
| 147 | + <plugin> |
| 148 | + <groupId>org.apache.maven.plugins</groupId> |
| 149 | + <artifactId>maven-source-plugin</artifactId> |
| 150 | + <version>${maven-source-plugin.version}</version> |
| 151 | + <executions> |
| 152 | + <execution> |
| 153 | + <id>attach-sources</id> |
| 154 | + <goals> |
| 155 | + <goal>jar-no-fork</goal> |
| 156 | + </goals> |
| 157 | + </execution> |
| 158 | + </executions> |
| 159 | + </plugin> |
| 160 | + <plugin> |
| 161 | + <groupId>org.apache.maven.plugins</groupId> |
| 162 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 163 | + <version>${maven-javadoc-plugin.version}</version> |
| 164 | + <executions> |
| 165 | + <execution> |
| 166 | + <id>attach-javadocs</id> |
| 167 | + <goals> |
| 168 | + <goal>jar</goal> |
| 169 | + </goals> |
| 170 | + </execution> |
| 171 | + </executions> |
| 172 | + <configuration> |
| 173 | + <windowtitle>Java Optional support for Jackson</windowtitle> |
| 174 | + <encoding>UTF-8</encoding> |
| 175 | + <locale>en</locale> |
| 176 | + <keywords>true</keywords> |
| 177 | + </configuration> |
| 178 | + </plugin> |
| 179 | + |
103 | 180 | <plugin> |
104 | 181 | <groupId>org.eluder.coveralls</groupId> |
105 | 182 | <artifactId>coveralls-maven-plugin</artifactId> |
106 | | - <version>2.2.0</version> |
| 183 | + <version>${maven-coveralls-plugin.version}</version> |
107 | 184 | </plugin> |
108 | 185 | <plugin> |
109 | 186 | <groupId>org.jacoco</groupId> |
110 | 187 | <artifactId>jacoco-maven-plugin</artifactId> |
111 | | - <version>0.7.1.201405082137</version> |
| 188 | + <version>${maven-jacoco-plugin.version}</version> |
112 | 189 | <executions> |
113 | 190 | <execution> |
114 | 191 | <id>prepare-agent</id> |
|
121 | 198 | <plugin> |
122 | 199 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
123 | 200 | <artifactId>replacer</artifactId> |
124 | | - <version>1.5.3</version> |
| 201 | + <version>${maven-replacer-plugin.version}</version> |
125 | 202 | <executions> |
126 | 203 | <execution> |
127 | 204 | <id>process-packageVersion</id> |
|
157 | 234 | <plugin> |
158 | 235 | <groupId>org.codehaus.mojo</groupId> |
159 | 236 | <artifactId>build-helper-maven-plugin</artifactId> |
160 | | - <version>1.9.1</version> |
| 237 | + <version>${maven-build-helper-plugin.version}</version> |
161 | 238 | <executions> |
162 | 239 | <execution> |
163 | 240 | <id>add-source</id> |
|
176 | 253 | <plugin> |
177 | 254 | <groupId>org.apache.felix</groupId> |
178 | 255 | <artifactId>maven-bundle-plugin</artifactId> |
179 | | - <version>2.5.3</version> |
| 256 | + <version>${maven-bundle-plugin.version}</version> |
180 | 257 | <extensions>true</extensions> |
181 | 258 | </plugin> |
182 | 259 | </plugins> |
|
0 commit comments