|
4 | 4 |
|
5 | 5 | <parent>
|
6 | 6 | <groupId>com.fasterxml.jackson</groupId>
|
7 |
| - <artifactId>jackson-bom</artifactId> |
| 7 | + <artifactId>jackson-base</artifactId> |
8 | 8 | <version>3.0.0-SNAPSHOT</version>
|
9 | 9 | </parent>
|
10 | 10 |
|
11 | 11 | <groupId>com.fasterxml.jackson.core</groupId>
|
12 | 12 | <artifactId>jackson-databind</artifactId>
|
13 |
| -<!-- |
14 | 13 | <version>3.0.0-SNAPSHOT</version>
|
15 |
| ---> |
16 | 14 | <name>jackson-databind</name>
|
17 | 15 | <packaging>bundle</packaging>
|
18 | 16 | <description>General data-binding functionality for Jackson: works on core streaming API</description>
|
|
27 | 25 | </scm>
|
28 | 26 |
|
29 | 27 | <properties>
|
30 |
| - <!-- Jackson 3.x requires Java 8 |
31 |
| - --> |
32 |
| - <javac.src.version>1.8</javac.src.version> |
33 |
| - <javac.target.version>1.8</javac.target.version> |
34 |
| - |
35 | 28 | <!-- Can not use default, since group id != Java package name here -->
|
36 | 29 | <osgi.export>com.fasterxml.jackson.databind.*;version=${project.version}</osgi.export>
|
37 | 30 | <!-- but imports should work fine with defaults -->
|
38 | 31 |
|
39 | 32 | <!-- Generate PackageVersion.java into this directory. -->
|
40 | 33 | <packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir>
|
41 | 34 | <packageVersion.package>com.fasterxml.jackson.databind.cfg</packageVersion.package>
|
| 35 | + |
| 36 | + <!-- Automatic Module Name default needs changing --> |
| 37 | + <jdk.module.name>com.fasterxml.jackson.databind</jdk.module.name> |
42 | 38 | </properties>
|
43 | 39 |
|
44 | 40 | <dependencies>
|
|
55 | 51 | <dependency>
|
56 | 52 | <groupId>com.fasterxml.jackson.core</groupId>
|
57 | 53 | <artifactId>jackson-core</artifactId>
|
58 |
| - <version>3.0.0-SNAPSHOT</version> |
59 |
| -<!-- |
60 | 54 | <version>${jackson.version.core}</version>
|
61 |
| ---> |
62 | 55 | </dependency>
|
63 | 56 |
|
64 | 57 | <!-- and for testing we need a few libraries
|
65 | 58 | libs for which we use reflection for code, but direct dep for testing
|
66 | 59 | -->
|
67 |
| - |
68 |
| - <dependency> |
69 |
| - <groupId>junit</groupId> |
70 |
| - <artifactId>junit</artifactId> |
71 |
| - <scope>test</scope> |
72 |
| - </dependency> |
73 | 60 | <dependency>
|
74 | 61 | <groupId>org.powermock</groupId>
|
75 | 62 | <artifactId>powermock-module-junit4</artifactId>
|
|
113 | 100 | <artifactId>maven-javadoc-plugin</artifactId>
|
114 | 101 | <version>${version.plugin.javadoc}</version>
|
115 | 102 | <configuration>
|
116 |
| -<!-- Only works on Java 8: |
117 |
| - <additionalparam>-Xdoclint:none</additionalparam> |
118 |
| ---> |
119 |
| -<!-- so with Java 7, use this: --> |
120 |
| - <failOnError>false</failOnError> |
121 |
| - <links> |
122 |
| - <link>http://docs.oracle.com/javase/7/docs/api/</link> |
123 |
| - <link>http://fasterxml.github.com/jackson-annotations/javadoc/2.7</link> |
124 |
| - <link>http://fasterxml.github.com/jackson-core/javadoc/2.7</link> |
| 103 | + <links combine.children="append"> |
| 104 | + <link>http://fasterxml.github.com/jackson-annotations/javadoc/3.0</link> |
| 105 | + <link>http://fasterxml.github.com/jackson-core/javadoc/3.0</link> |
125 | 106 | </links>
|
126 | 107 | </configuration>
|
127 | 108 | </plugin>
|
128 | 109 |
|
129 |
| - <!-- May want to configure debug info --> |
130 |
| - <plugin> |
| 110 | + <plugin> <!-- default settings are fine, just need to enable here --> |
131 | 111 | <!-- Inherited from oss-base. Generate PackageVersion.java.-->
|
132 | 112 | <groupId>com.google.code.maven-replacer-plugin</groupId>
|
133 | 113 | <artifactId>replacer</artifactId>
|
134 |
| - <executions> |
135 |
| - <execution> |
136 |
| - <id>process-packageVersion</id> |
137 |
| - <phase>process-sources</phase> |
138 |
| - </execution> |
139 |
| - </executions> |
140 | 114 | </plugin>
|
141 | 115 |
|
142 | 116 | <!-- 18-Oct-2016, tatu: Try to make coveralls work -->
|
|
145 | 119 | <artifactId>coveralls-maven-plugin</artifactId>
|
146 | 120 | <version>4.3.0</version>
|
147 | 121 | </plugin>
|
148 |
| - |
149 |
| - <!-- 08-Aug-2017, tatu: Need newer version of cobertura... --> |
150 |
| - <plugin> |
151 |
| - <groupId>org.codehaus.mojo</groupId> |
152 |
| - <artifactId>cobertura-maven-plugin</artifactId> |
153 |
| - <version>2.7</version> |
154 |
| - </plugin> |
155 | 122 | </plugins>
|
156 | 123 | </build>
|
157 | 124 |
|
158 |
| -<!-- |
159 |
| - <reporting> |
160 |
| - <plugins> |
161 |
| - <plugin> |
162 |
| - <groupId>org.codehaus.mojo</groupId> |
163 |
| - <artifactId>cobertura-maven-plugin</artifactId> |
164 |
| - <version>2.7</version> |
165 |
| - </plugin> |
166 |
| - </plugins> |
167 |
| - </reporting> |
168 |
| ---> |
169 |
| - |
170 | 125 | <profiles>
|
171 | 126 | <profile>
|
172 | 127 | <id>release</id>
|
|
0 commit comments