Mercurial > hg > release > heapstats-2.1
view analyzer/fx/pom.xml @ 251:65f74fefdd2c
Bug 3454: mvn reports exception w/ Java 9
Reviewed-by: ykubota
https://github.com/HeapStats/heapstats/pull/120
author | Yasumasa Suenaga <yasuenag@gmail.com> |
---|---|
date | Tue, 26 Sep 2017 17:09:37 +0900 |
parents | be9892e921b3 |
children | c389cae58e5d |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2015-2017 Yasumasa Suenaga This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --> <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"> <modelVersion>4.0.0</modelVersion> <groupId>jp.co.ntt.oss.heapstats</groupId> <artifactId>heapstats-analyzer</artifactId> <version>2.1-SNAPSHOT</version> <packaging>jar</packaging> <name>HeapStats Analyzer</name> <description>HeapStats JavaFX GUI analyzer</description> <url>http://icedtea.classpath.org/wiki/HeapStats</url> <licenses> <license> <name>GNU General Public License, version 2</name> <url>https://www.gnu.org/licenses/gpl-2.0.html</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>Yasumasa Suenaga</name> <email>yasuenag@gmail.com</email> <organization>icedtea</organization> <organizationUrl>http://www.icedtea.classpath.org</organizationUrl> </developer> <developer> <name>KUBOTA Yuji</name> <email>kubota.yuji@gmail.com</email> <organization>icedtea</organization> <organizationUrl>http://www.icedtea.classpath.org</organizationUrl> </developer> </developers> <scm> <url>http://icedtea.classpath.org/hg/heapstats</url> <connection>scm:hg:http://icedtea.classpath.org/hg/heapstats</connection> <developerConnection>scm:hg:ssh://icedtea.classpath.org/hg/heapstats</developerConnection> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <mainClass>jp.co.ntt.oss.heapstats.HeapStatsFXAnalyzer</mainClass> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> <organization> <name>NTT OSS Center</name> </organization> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>heapstats-jmx-helper</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>heapstats-mbean</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>heapstats-plugin-api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>heapstats-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.mxgraph</groupId> <artifactId>jgraphx</artifactId> <version>3.3.1.1</version> <scope>system</scope> <systemPath>${pom.basedir}/lib/jgraphx.jar</systemPath> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.7.0</version> <configuration> <compilerArgs> <arg>-Xlint:all</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.6.0</version> <executions> <execution> <id>default-cli</id> <goals> <goal>exec</goal> </goals> <configuration> <executable>${java.home}/bin/java</executable> <commandlineArgs>-jar ${project.build.directory}/heapstats-analyzer-${project.version}-bin/heapstats-analyzer-${project.version}/heapstats-analyzer.jar</commandlineArgs> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> <configuration> <archive> <manifest> <mainClass>com.javafx.main.Main</mainClass> <addClasspath>true</addClasspath> <classpathLayoutType>custom</classpathLayoutType> <customClasspathLayout>lib/${artifact.artifactId}.${artifact.extension}</customClasspathLayout> </manifest> <manifestEntries> <JavaFX-Version>8.0.40+</JavaFX-Version> <JavaFX-Application-Class>${mainClass}</JavaFX-Application-Class> <Class-Path>lib/jgraphx.jar</Class-Path> </manifestEntries> </archive> <finalName>heapstats-analyzer</finalName> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.1.0</version> <configuration> <descriptors> <descriptor>src/main/assembly/distribution.xml</descriptor> </descriptors> <attach>false</attach> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>attach-sources</id> <phase>deploy</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.4</version> <executions> <execution> <id>attach-javadocs</id> <phase>deploy</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> <executions> <execution> <id>deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release-sign-artifacts</id> <!-- releasing for maven repository, mvn -DperformRelease=true deploy --> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>