|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
7 | | - <groupId>at.favre.lib</groupId> |
| 7 | + <parent> |
| 8 | + <groupId>at.favre.lib</groupId> |
| 9 | + <artifactId>common-parent</artifactId> |
| 10 | + <version>5</version> |
| 11 | + </parent> |
| 12 | + |
8 | 13 | <artifactId>bytes</artifactId> |
9 | 14 | <version>1.3.0</version> |
10 | 15 | <packaging>bundle</packaging> |
|
17 | 22 | <url>https://github.com/patrickfav/bytes-java</url> |
18 | 23 | <inceptionYear>2017</inceptionYear> |
19 | 24 |
|
20 | | - <properties> |
21 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
22 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
23 | | - </properties> |
24 | 25 | <repositories> |
25 | 26 | <repository> |
26 | | - <id>maven-central-repo</id> |
27 | | - <url>http://repo1.maven.org/maven2</url> |
| 27 | + <id>jcenter</id> |
| 28 | + <name>jcenter</name> |
| 29 | + <url>https://jcenter.bintray.com</url> |
28 | 30 | <snapshots> |
29 | 31 | <enabled>false</enabled> |
30 | 32 | </snapshots> |
|
36 | 38 | <plugin> |
37 | 39 | <groupId>org.apache.maven.plugins</groupId> |
38 | 40 | <artifactId>maven-enforcer-plugin</artifactId> |
39 | | - <version>3.0.0-M2</version> |
40 | | - <executions> |
41 | | - <execution> |
42 | | - <id>enforce-maven</id> |
43 | | - <goals> |
44 | | - <goal>enforce</goal> |
45 | | - </goals> |
46 | | - <configuration> |
47 | | - <rules> |
48 | | - <requireMavenVersion> |
49 | | - <version>[3.3.9,)</version> |
50 | | - </requireMavenVersion> |
51 | | - </rules> |
52 | | - </configuration> |
53 | | - </execution> |
54 | | - </executions> |
55 | 41 | </plugin> |
56 | 42 | <plugin> |
57 | 43 | <groupId>org.apache.felix</groupId> |
|
62 | 48 | <plugin> |
63 | 49 | <groupId>org.apache.maven.plugins</groupId> |
64 | 50 | <artifactId>maven-checkstyle-plugin</artifactId> |
65 | | - <version>3.1.1</version> |
66 | 51 | <configuration> |
67 | | - <configLocation>checkstyle.xml</configLocation> |
68 | 52 | <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation> |
69 | | - <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression> |
70 | 53 | </configuration> |
71 | | - <executions> |
72 | | - <execution> |
73 | | - <goals> |
74 | | - <goal>check</goal> |
75 | | - </goals> |
76 | | - </execution> |
77 | | - </executions> |
78 | | - <dependencies> |
79 | | - <dependency> |
80 | | - <groupId>com.puppycrawl.tools</groupId> |
81 | | - <artifactId>checkstyle</artifactId> |
82 | | - <version>8.31</version> |
83 | | - </dependency> |
84 | | - </dependencies> |
85 | 54 | </plugin> |
86 | 55 | <plugin> |
87 | 56 | <groupId>org.apache.maven.plugins</groupId> |
88 | 57 | <artifactId>maven-compiler-plugin</artifactId> |
89 | | - <version>3.7.0</version> |
90 | | - <configuration> |
91 | | - <compilerId>javac-with-errorprone</compilerId> |
92 | | - <forceJavacCompilerUse>true</forceJavacCompilerUse> |
93 | | - <source>1.7</source> |
94 | | - <target>1.7</target> |
95 | | - </configuration> |
96 | | - <dependencies> |
97 | | - <dependency> |
98 | | - <groupId>org.codehaus.plexus</groupId> |
99 | | - <artifactId>plexus-compiler-javac-errorprone</artifactId> |
100 | | - <version>2.8.2</version> |
101 | | - </dependency> |
102 | | - <!-- override plexus-compiler-javac-errorprone's dependency on |
103 | | - Error Prone with the latest version --> |
104 | | - <dependency> |
105 | | - <groupId>com.google.errorprone</groupId> |
106 | | - <artifactId>error_prone_core</artifactId> |
107 | | - <!-- only one compatible with java 7--> |
108 | | - <version>2.0.5</version> |
109 | | - </dependency> |
110 | | - </dependencies> |
111 | 58 | </plugin> |
112 | 59 | <plugin> |
113 | 60 | <groupId>org.apache.maven.plugins</groupId> |
114 | 61 | <artifactId>maven-source-plugin</artifactId> |
115 | | - <version>3.0.1</version> |
116 | | - <executions> |
117 | | - <execution> |
118 | | - <id>attach-sources</id> |
119 | | - <goals> |
120 | | - <goal>jar</goal> |
121 | | - </goals> |
122 | | - </execution> |
123 | | - </executions> |
124 | 62 | </plugin> |
125 | 63 | <plugin> |
126 | 64 | <groupId>org.apache.maven.plugins</groupId> |
127 | 65 | <artifactId>maven-javadoc-plugin</artifactId> |
128 | | - <version>3.0.1</version> |
129 | | - <executions> |
130 | | - <execution> |
131 | | - <id>attach-javadocs</id> |
132 | | - <goals> |
133 | | - <goal>jar</goal> |
134 | | - </goals> |
135 | | - </execution> |
136 | | - </executions> |
137 | 66 | </plugin> |
138 | 67 | <plugin> |
139 | 68 | <groupId>org.apache.maven.plugins</groupId> |
140 | 69 | <artifactId>maven-surefire-plugin</artifactId> |
141 | | - <version>2.22.0</version> |
142 | 70 | </plugin> |
143 | 71 | <plugin> |
144 | 72 | <groupId>org.jacoco</groupId> |
145 | 73 | <artifactId>jacoco-maven-plugin</artifactId> |
146 | | - <version>0.8.1</version> |
147 | | - <executions> |
148 | | - <execution> |
149 | | - <id>prepare-agent</id> |
150 | | - <goals> |
151 | | - <goal>prepare-agent</goal> |
152 | | - </goals> |
153 | | - </execution> |
154 | | - </executions> |
155 | 74 | </plugin> |
156 | 75 | <plugin> |
157 | 76 | <groupId>org.eluder.coveralls</groupId> |
158 | 77 | <artifactId>coveralls-maven-plugin</artifactId> |
159 | | - <version>4.3.0</version> |
160 | 78 | </plugin> |
161 | 79 | <plugin> |
162 | 80 | <groupId>com.github.wvengen</groupId> |
|
195 | 113 | <plugin> |
196 | 114 | <groupId>org.apache.maven.plugins</groupId> |
197 | 115 | <artifactId>maven-jarsigner-plugin</artifactId> |
198 | | - <version>1.4</version> |
199 | | - <executions> |
200 | | - <execution> |
201 | | - <id>sign</id> |
202 | | - <goals> |
203 | | - <goal>sign</goal> |
204 | | - </goals> |
205 | | - </execution> |
206 | | - </executions> |
207 | | - <configuration> |
208 | | - <skip>false</skip> <!-- set this to true if fail because of missing credentials --> |
209 | | - <keystore>keystore.jks</keystore> |
210 | | - <alias>pfopensource</alias> |
211 | | - <storepass>${env.OPENSOURCE_PROJECTS_KS_PW}</storepass> |
212 | | - <keypass>${env.OPENSOURCE_PROJECTS_KEY_PW}</keypass> |
213 | | - </configuration> |
214 | 116 | </plugin> |
215 | 117 | <plugin> |
216 | 118 | <groupId>net.nicoulaj.maven.plugins</groupId> |
217 | 119 | <artifactId>checksum-maven-plugin</artifactId> |
218 | | - <version>1.6</version> |
219 | | - <executions> |
220 | | - <execution> |
221 | | - <goals> |
222 | | - <goal>artifacts</goal> |
223 | | - </goals> |
224 | | - </execution> |
225 | | - </executions> |
226 | | - <configuration> |
227 | | - <algorithms> |
228 | | - <algorithm>SHA-256</algorithm> |
229 | | - </algorithms> |
230 | | - <shasumSummary>true</shasumSummary> |
231 | | - <shasumSummaryFile>checksum-sha256.txt</shasumSummaryFile> |
232 | | - <attachChecksums>false</attachChecksums> |
233 | | - <quiet>false</quiet> |
234 | | - </configuration> |
235 | 120 | </plugin> |
236 | 121 | </plugins> |
237 | 122 | </build> |
|
241 | 126 | <dependency> |
242 | 127 | <groupId>junit</groupId> |
243 | 128 | <artifactId>junit</artifactId> |
244 | | - <version>4.12</version> |
245 | 129 | <scope>test</scope> |
246 | 130 | </dependency> |
247 | 131 | <dependency> |
|
0 commit comments