58 </organization> 59 <issueManagement> 60 <system>JIRA</system> 61 <url>https://bugs.openjdk.java.net/projects/JMC/issues</url> 62 </issueManagement> 63 <mailingLists> 64 <mailingList> 65 <name>jmc dev</name> 66 <subscribe>http://mail.openjdk.java.net/mailman/listinfo/jmc-dev</subscribe> 67 <unsubscribe>http://mail.openjdk.java.net/mailman/listinfo/jmc-dev</unsubscribe> 68 <archive>http://mail.openjdk.java.net/pipermail/jmc-dev/</archive> 69 </mailingList> 70 </mailingLists> 71 <modules> 72 <module>application</module> 73 <module>releng</module> 74 </modules> 75 <properties> 76 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 77 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 78 <tycho-version>1.2.0</tycho-version> 79 <buildId>${user.name}</buildId> 80 <scmConnection>scm:hg:http://hg.openjdk.java.net/jmc/jmc</scmConnection> 81 </properties> 82 <scm> 83 <connection>${scmConnection}</connection> 84 </scm> 85 <distributionManagement> 86 <snapshotRepository> 87 <id>jmc-publish-snapshot</id> 88 <url>${snapshot.repo}</url> 89 </snapshotRepository> 90 </distributionManagement> 91 <profiles> 92 <profile> 93 <id>photon</id> 94 <activation> 95 <activeByDefault>true</activeByDefault> 96 </activation> 97 <build> 98 <plugins> 99 <plugin> 100 <groupId>org.eclipse.tycho</groupId> 101 <artifactId>target-platform-configuration</artifactId> 102 <version>${tycho-version}</version> 103 <configuration> 104 <target> 105 <artifact> 106 <groupId>org.openjdk.jmc</groupId> 107 <artifactId>platform-definition-photon</artifactId> 108 <version>7.0.0-SNAPSHOT</version> 109 </artifact> 110 </target> 111 </configuration> 112 </plugin> 113 </plugins> 114 </build> 115 </profile> 116 <profile> 117 <id>oxygen</id> 118 <build> 119 <plugins> 120 <plugin> 121 <groupId>org.eclipse.tycho</groupId> 122 <artifactId>target-platform-configuration</artifactId> 123 <version>${tycho-version}</version> 124 <configuration> 125 <target> 126 <artifact> 127 <groupId>org.openjdk.jmc</groupId> 128 <artifactId>platform-definition-oxygen</artifactId> 129 <version>7.0.0-SNAPSHOT</version> 130 </artifact> 131 </target> 132 </configuration> 133 </plugin> 134 </plugins> 135 </build> 136 </profile> 137 </profiles> 138 <build> 139 <plugins> 140 <plugin> 141 <groupId>org.apache.maven.plugins</groupId> 142 <artifactId>maven-deploy-plugin</artifactId> 143 <version>2.8.2</version> 144 <configuration> 145 <skip>true</skip> 146 </configuration> 147 </plugin> 148 <plugin> 149 <groupId>org.eclipse.tycho</groupId> 150 <artifactId>target-platform-configuration</artifactId> 151 <version>${tycho-version}</version> 152 <configuration> 153 <environments> 154 <environment> 155 <os>win32</os> 156 <ws>win32</ws> 157 <arch>x86_64</arch> 158 </environment> 159 <environment> 160 <os>linux</os> 161 <ws>gtk</ws> 162 <arch>x86_64</arch> 163 </environment> 164 <environment> 165 <os>macosx</os> 166 <ws>cocoa</ws> 167 <arch>x86_64</arch> 168 </environment> 169 </environments> 170 </configuration> 171 </plugin> 172 <plugin> 173 <groupId>org.eclipse.tycho</groupId> 174 <artifactId>tycho-maven-plugin</artifactId> 175 <version>${tycho-version}</version> 176 <extensions>true</extensions> 177 </plugin> 178 <plugin> 179 <groupId>org.eclipse.tycho</groupId> 180 <artifactId>tycho-compiler-plugin</artifactId> 181 <version>${tycho-version}</version> 182 <configuration> 183 <useProjectSettings>false</useProjectSettings> 184 </configuration> 185 </plugin> 186 <plugin> 187 <groupId>org.eclipse.tycho</groupId> 188 <artifactId>tycho-p2-repository-plugin</artifactId> 189 <version>${tycho-version}</version> 190 <configuration> 191 <includeAllDependencies>true</includeAllDependencies> 192 </configuration> 193 </plugin> 194 <plugin> 195 <groupId>org.eclipse.tycho</groupId> 196 <artifactId>tycho-packaging-plugin</artifactId> 197 <version>${tycho-version}</version> 198 <executions> 199 <execution> 200 <id>build-qualifier</id> 201 <phase>validate</phase> 202 <goals> 203 <goal>build-qualifier</goal> 204 </goals> 205 </execution> 206 </executions> 207 <configuration> 208 <archive> 209 <manifestEntries> 210 <Built-By/> 211 </manifestEntries> 212 </archive> 213 </configuration> 214 </plugin> 215 <plugin> 216 <groupId>org.commonjava.maven.plugins</groupId> 217 <artifactId>directory-maven-plugin</artifactId> 218 <version>0.2</version> 219 <executions> 220 <execution> 221 <id>directories</id> 222 <goals> 223 <goal>highest-basedir</goal> 224 </goals> 225 <phase>initialize</phase> 226 <configuration> 227 <property>rootDir</property> 228 </configuration> 229 </execution> 230 </executions> 231 </plugin> 232 <plugin> 233 <groupId>com.github.spotbugs</groupId> 234 <artifactId>spotbugs-maven-plugin</artifactId> 235 <version>3.1.3</version> 236 <configuration> 237 <effort>Max</effort> 238 <threshold>Low</threshold> 239 <excludeFilterFile>${rootDir}/configuration/spotbugs/spotbugs-exclude.xml</excludeFilterFile> 240 </configuration> 241 <executions> 242 <execution> 243 <goals> 244 <goal>check</goal> 245 </goals> 246 </execution> 247 </executions> 248 </plugin> 249 <plugin> 250 <groupId>org.codehaus.mojo</groupId> 251 <artifactId>buildnumber-maven-plugin</artifactId> 252 <version>1.4</version> 253 <executions> 254 <execution> 255 <phase>initialize</phase> 256 <goals> 257 <goal>create</goal> 258 </goals> 259 <configuration> 260 <doCheck>false</doCheck> 261 <doUpdate>false</doUpdate> 262 <getRevisionOnlyOnce>true</getRevisionOnlyOnce> 263 <revisionOnScmFailure>no.scm.config.in.pom</revisionOnScmFailure> 264 </configuration> 265 </execution> 266 <execution> 267 <id>build.date</id> 268 <phase>initialize</phase> 269 <goals> 270 <goal>create-timestamp</goal> 271 </goals> 272 <configuration> 273 <timestampFormat>yyyy-MM-dd</timestampFormat> 274 <timestampPropertyName>build.date</timestampPropertyName> 275 </configuration> 276 </execution> 277 <!-- TODO: Maybe add the create-metadata goal after we've made the switch to Mercurial --> 278 </executions> 279 </plugin> 280 <plugin> 281 <groupId>org.apache.maven.plugins</groupId> 282 <artifactId>maven-enforcer-plugin</artifactId> 283 <version>3.0.0-M1</version> 284 <executions> 285 <execution> 286 <id>enforce-java</id> 287 <goals> 288 <goal>enforce</goal> 289 </goals> 290 <configuration> 291 <rules> 292 <requireJavaVersion> 293 <version>[1.8.0-40,)</version> 294 <message>Building JMC requires Java 8 version JDK 1.8.0_40 or later</message> 295 </requireJavaVersion> 296 </rules> 297 </configuration> 298 </execution> 299 <execution> 300 <id>enforce-maven</id> 301 <goals> 302 <goal>enforce</goal> 303 </goals> 304 <configuration> 305 <rules> 306 <requireMavenVersion> 307 <version>3.3.1</version> 308 <message>Building JMC requires at least Maven 3.3.1</message> 309 </requireMavenVersion> 310 </rules> 311 </configuration> 312 </execution> 313 </executions> 314 </plugin> 315 </plugins> 316 <pluginManagement> 317 <plugins> 318 <plugin> 319 <groupId>org.eclipse.m2e</groupId> 320 <artifactId>lifecycle-mapping</artifactId> 321 <version>1.0.0</version> 322 <configuration> 323 <lifecycleMappingMetadata> 324 <pluginExecutions> 325 <pluginExecution> 326 <pluginExecutionFilter> 327 <groupId>org.codehaus.mojo</groupId> 328 <artifactId>buildnumber-maven-plugin</artifactId> 329 <versionRange>[1.2,)</versionRange> 330 <goals> 331 <goal>create-timestamp</goal> 332 <goal>hgchangeset</goal> 333 </goals> 334 </pluginExecutionFilter> 335 <action> 336 <execute> 337 <runOnConfiguration>true</runOnConfiguration> 338 <runOnIncremental>true</runOnIncremental> 339 </execute> 340 </action> 341 </pluginExecution> 342 </pluginExecutions> 343 </lifecycleMappingMetadata> 344 </configuration> 345 </plugin> 346 <plugin> 347 <groupId>org.apache.maven.plugins</groupId> 348 <artifactId>maven-resources-plugin</artifactId> 349 <version>3.0.2</version> 350 <executions> 351 <execution> 352 <id>copy-resources</id> 353 <phase>process-resources</phase> 354 <goals> 355 <goal>copy-resources</goal> 356 </goals> 357 <configuration> 358 <outputDirectory>${project.build.directory}/classes/license</outputDirectory> 359 <resources> 360 <resource> 361 <directory>${rootDir}/license</directory> 362 <includes> 363 <include>LICENSE.txt</include> 364 </includes> 365 </resource> 366 </resources> 367 </configuration> 368 </execution> 369 <execution> | 58 </organization> 59 <issueManagement> 60 <system>JIRA</system> 61 <url>https://bugs.openjdk.java.net/projects/JMC/issues</url> 62 </issueManagement> 63 <mailingLists> 64 <mailingList> 65 <name>jmc dev</name> 66 <subscribe>http://mail.openjdk.java.net/mailman/listinfo/jmc-dev</subscribe> 67 <unsubscribe>http://mail.openjdk.java.net/mailman/listinfo/jmc-dev</unsubscribe> 68 <archive>http://mail.openjdk.java.net/pipermail/jmc-dev/</archive> 69 </mailingList> 70 </mailingLists> 71 <modules> 72 <module>application</module> 73 <module>releng</module> 74 </modules> 75 <properties> 76 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 77 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 78 <tycho.version>1.2.0</tycho.version> 79 <maven.buildnumber.version>1.4</maven.buildnumber.version> 80 <maven.deploy.version>2.8.2</maven.deploy.version> 81 <maven.directory.version>0.2</maven.directory.version> 82 <maven.enforcer.version>3.0.0-M1</maven.enforcer.version> 83 <maven.resources.version>3.0.2</maven.resources.version> 84 <m2e.lifecycle.version>1.0.0</m2e.lifecycle.version> 85 <spotbugs.version>3.1.3</spotbugs.version> 86 <buildId>${user.name}</buildId> 87 <scmConnection>scm:hg:http://hg.openjdk.java.net/jmc/jmc</scmConnection> 88 </properties> 89 <scm> 90 <connection>${scmConnection}</connection> 91 </scm> 92 <distributionManagement> 93 <snapshotRepository> 94 <id>jmc-publish-snapshot</id> 95 <url>${snapshot.repo}</url> 96 </snapshotRepository> 97 </distributionManagement> 98 <profiles> 99 <profile> 100 <id>photon</id> 101 <activation> 102 <activeByDefault>true</activeByDefault> 103 </activation> 104 <build> 105 <plugins> 106 <plugin> 107 <groupId>org.eclipse.tycho</groupId> 108 <artifactId>target-platform-configuration</artifactId> 109 <version>${tycho.version}</version> 110 <configuration> 111 <target> 112 <artifact> 113 <groupId>org.openjdk.jmc</groupId> 114 <artifactId>platform-definition-photon</artifactId> 115 <version>7.0.0-SNAPSHOT</version> 116 </artifact> 117 </target> 118 </configuration> 119 </plugin> 120 </plugins> 121 </build> 122 </profile> 123 <profile> 124 <id>oxygen</id> 125 <build> 126 <plugins> 127 <plugin> 128 <groupId>org.eclipse.tycho</groupId> 129 <artifactId>target-platform-configuration</artifactId> 130 <version>${tycho.version}</version> 131 <configuration> 132 <target> 133 <artifact> 134 <groupId>org.openjdk.jmc</groupId> 135 <artifactId>platform-definition-oxygen</artifactId> 136 <version>7.0.0-SNAPSHOT</version> 137 </artifact> 138 </target> 139 </configuration> 140 </plugin> 141 </plugins> 142 </build> 143 </profile> 144 </profiles> 145 <build> 146 <plugins> 147 <plugin> 148 <groupId>org.apache.maven.plugins</groupId> 149 <artifactId>maven-deploy-plugin</artifactId> 150 <version>${maven.deploy.version}</version> 151 <configuration> 152 <skip>true</skip> 153 </configuration> 154 </plugin> 155 <plugin> 156 <groupId>org.eclipse.tycho</groupId> 157 <artifactId>target-platform-configuration</artifactId> 158 <version>${tycho.version}</version> 159 <configuration> 160 <environments> 161 <environment> 162 <os>win32</os> 163 <ws>win32</ws> 164 <arch>x86_64</arch> 165 </environment> 166 <environment> 167 <os>linux</os> 168 <ws>gtk</ws> 169 <arch>x86_64</arch> 170 </environment> 171 <environment> 172 <os>macosx</os> 173 <ws>cocoa</ws> 174 <arch>x86_64</arch> 175 </environment> 176 </environments> 177 </configuration> 178 </plugin> 179 <plugin> 180 <groupId>org.eclipse.tycho</groupId> 181 <artifactId>tycho-maven-plugin</artifactId> 182 <version>${tycho.version}</version> 183 <extensions>true</extensions> 184 </plugin> 185 <plugin> 186 <groupId>org.eclipse.tycho</groupId> 187 <artifactId>tycho-compiler-plugin</artifactId> 188 <version>${tycho.version}</version> 189 <configuration> 190 <useProjectSettings>false</useProjectSettings> 191 </configuration> 192 </plugin> 193 <plugin> 194 <groupId>org.eclipse.tycho</groupId> 195 <artifactId>tycho-p2-repository-plugin</artifactId> 196 <version>${tycho.version}</version> 197 <configuration> 198 <includeAllDependencies>true</includeAllDependencies> 199 </configuration> 200 </plugin> 201 <plugin> 202 <groupId>org.eclipse.tycho</groupId> 203 <artifactId>tycho-packaging-plugin</artifactId> 204 <version>${tycho.version}</version> 205 <executions> 206 <execution> 207 <id>build-qualifier</id> 208 <phase>validate</phase> 209 <goals> 210 <goal>build-qualifier</goal> 211 </goals> 212 </execution> 213 </executions> 214 <configuration> 215 <archive> 216 <manifestEntries> 217 <Built-By /> 218 </manifestEntries> 219 </archive> 220 </configuration> 221 </plugin> 222 <plugin> 223 <groupId>org.commonjava.maven.plugins</groupId> 224 <artifactId>directory-maven-plugin</artifactId> 225 <version>${maven.directory.version}</version> 226 <executions> 227 <execution> 228 <id>directories</id> 229 <goals> 230 <goal>highest-basedir</goal> 231 </goals> 232 <phase>initialize</phase> 233 <configuration> 234 <property>rootDir</property> 235 </configuration> 236 </execution> 237 </executions> 238 </plugin> 239 <plugin> 240 <groupId>com.github.spotbugs</groupId> 241 <artifactId>spotbugs-maven-plugin</artifactId> 242 <version>${spotbugs.version}</version> 243 <configuration> 244 <effort>Max</effort> 245 <threshold>Low</threshold> 246 <excludeFilterFile>${rootDir}/configuration/spotbugs/spotbugs-exclude.xml</excludeFilterFile> 247 </configuration> 248 <executions> 249 <execution> 250 <goals> 251 <goal>check</goal> 252 </goals> 253 </execution> 254 </executions> 255 </plugin> 256 <plugin> 257 <groupId>org.codehaus.mojo</groupId> 258 <artifactId>buildnumber-maven-plugin</artifactId> 259 <version>${maven.buildnumber.version}</version> 260 <executions> 261 <execution> 262 <phase>initialize</phase> 263 <goals> 264 <goal>create</goal> 265 </goals> 266 <configuration> 267 <doCheck>false</doCheck> 268 <doUpdate>false</doUpdate> 269 <getRevisionOnlyOnce>true</getRevisionOnlyOnce> 270 <revisionOnScmFailure>no.scm.config.in.pom</revisionOnScmFailure> 271 </configuration> 272 </execution> 273 <execution> 274 <id>build.date</id> 275 <phase>initialize</phase> 276 <goals> 277 <goal>create-timestamp</goal> 278 </goals> 279 <configuration> 280 <timestampFormat>yyyy-MM-dd</timestampFormat> 281 <timestampPropertyName>build.date</timestampPropertyName> 282 </configuration> 283 </execution> 284 <!-- TODO: Maybe add the create-metadata goal after we've made the switch to Mercurial --> 285 </executions> 286 </plugin> 287 <plugin> 288 <groupId>org.apache.maven.plugins</groupId> 289 <artifactId>maven-enforcer-plugin</artifactId> 290 <version>${maven.enforcer.version}</version> 291 <executions> 292 <execution> 293 <id>enforce-java</id> 294 <goals> 295 <goal>enforce</goal> 296 </goals> 297 <configuration> 298 <rules> 299 <requireJavaVersion> 300 <version>[1.8.0-40,)</version> 301 <message>Building JMC requires Java 8 version JDK 1.8.0_40 or later</message> 302 </requireJavaVersion> 303 </rules> 304 </configuration> 305 </execution> 306 <execution> 307 <id>enforce-maven</id> 308 <goals> 309 <goal>enforce</goal> 310 </goals> 311 <configuration> 312 <rules> 313 <requireMavenVersion> 314 <version>3.3.1</version> 315 <message>Building JMC requires at least Maven 3.3.1</message> 316 </requireMavenVersion> 317 </rules> 318 </configuration> 319 </execution> 320 </executions> 321 </plugin> 322 </plugins> 323 <pluginManagement> 324 <plugins> 325 <plugin> 326 <groupId>org.eclipse.m2e</groupId> 327 <artifactId>lifecycle-mapping</artifactId> 328 <version>${m2e.lifecycle.version}</version> 329 <configuration> 330 <lifecycleMappingMetadata> 331 <pluginExecutions> 332 <pluginExecution> 333 <pluginExecutionFilter> 334 <groupId>org.codehaus.mojo</groupId> 335 <artifactId>buildnumber-maven-plugin</artifactId> 336 <versionRange>[1.2,)</versionRange> 337 <goals> 338 <goal>create-timestamp</goal> 339 <goal>hgchangeset</goal> 340 </goals> 341 </pluginExecutionFilter> 342 <action> 343 <execute> 344 <runOnConfiguration>true</runOnConfiguration> 345 <runOnIncremental>true</runOnIncremental> 346 </execute> 347 </action> 348 </pluginExecution> 349 </pluginExecutions> 350 </lifecycleMappingMetadata> 351 </configuration> 352 </plugin> 353 <plugin> 354 <groupId>org.apache.maven.plugins</groupId> 355 <artifactId>maven-resources-plugin</artifactId> 356 <version>${maven.resources.version}</version> 357 <executions> 358 <execution> 359 <id>copy-resources</id> 360 <phase>process-resources</phase> 361 <goals> 362 <goal>copy-resources</goal> 363 </goals> 364 <configuration> 365 <outputDirectory>${project.build.directory}/classes/license</outputDirectory> 366 <resources> 367 <resource> 368 <directory>${rootDir}/license</directory> 369 <includes> 370 <include>LICENSE.txt</include> 371 </includes> 372 </resource> 373 </resources> 374 </configuration> 375 </execution> 376 <execution> |