1- <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>io.github.fvarrui</groupId> <artifactId>javapackager</artifactId> <version>1.0.3-SNAPSHOT</version> <packaging>maven-plugin</packaging> <name>JavaPackager Maven Plugin</name> <description>Maven Plugin which provides an easy way to package Java applications as native Windows, Mac OS X, or GNU/Linux executables and create installers for them.</description> <url>https://github.com/fvarrui/JavaPackager</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> <licenses> <license> <name>GPL-v3.0</name> <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> </license> </licenses> <developers> <developer> <id>fvarrui</id> <name>Francisco Vargas Ruiz</name> <url>https://github.com/fvarrui</url> </developer> </developers> <scm> <connection>scm:git:git://github.com/fvarrui/JavaPackager.git</connection> <developerConnection>scm:git:git@github.com:fvarrui/fvarrui.git</developerConnection> <url>https://github.com/fvarrui/JavaPackager</url> <tag>v1.0.2</tag> </scm> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>3.6.0</version> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.6.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>3.1.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.twdata.maven</groupId> <artifactId>mojo-executor</artifactId> <version>2.3.0</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.9</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> <version>4.1</version> </dependency> <dependency> <groupId>org.apache.velocity</groupId> <artifactId>velocity-engine-core</artifactId> <version>2.0</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <id>help-goal</id> <goals> <goal>help</goal> </goals> <configuration> <goalPrefix>javapackager</goalPrefix> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <tagNameFormat>v@{project.version}</tagNameFormat> <localCheckout>true</localCheckout> <pushChanges>false</pushChanges> <mavenExecutorId>forked-path</mavenExecutorId> <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.9.5</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>release-sign-artifacts</id> <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.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> </distributionManagement></project>
1+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+ <groupId >io.github.fvarrui</groupId >
6+ <artifactId >javapackager</artifactId >
7+ <version >1.0.2-SNAPSHOT</version >
8+ <packaging >maven-plugin</packaging >
9+
10+ <name >JavaPackager Maven Plugin</name >
11+ <description >Maven Plugin which provides an easy way to package Java applications as native Windows, Mac OS X, or GNU/Linux executables and create installers for them.</description >
12+ <url >https://github.com/fvarrui/JavaPackager</url >
13+
14+ <properties >
15+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
16+ <maven .compiler.source>1.8</maven .compiler.source>
17+ <maven .compiler.target>1.8</maven .compiler.target>
18+ </properties >
19+ <licenses >
20+ <license >
21+ <name >GPL-v3.0</name >
22+ <url >http://www.gnu.org/licenses/gpl-3.0.txt</url >
23+ </license >
24+ </licenses >
25+ <developers >
26+ <developer >
27+ <id >fvarrui</id >
28+ <name >Francisco Vargas Ruiz</name >
29+ <url >https://github.com/fvarrui</url >
30+ </developer >
31+ </developers >
32+ <scm >
33+ <connection >scm:git:git://github.com/fvarrui/JavaPackager.git</connection >
34+ <developerConnection >scm:git:git@github.com:fvarrui/fvarrui.git</developerConnection >
35+ <url >https://github.com/fvarrui/JavaPackager</url >
36+ <tag >v1.0.2</tag >
37+ </scm >
38+ <dependencies >
39+ <dependency >
40+ <groupId >org.apache.maven</groupId >
41+ <artifactId >maven-plugin-api</artifactId >
42+ <version >3.6.0</version >
43+ </dependency >
44+ <dependency >
45+ <groupId >org.apache.maven.plugin-tools</groupId >
46+ <artifactId >maven-plugin-annotations</artifactId >
47+ <version >3.6.0</version >
48+ <scope >provided</scope >
49+ </dependency >
50+ <dependency >
51+ <groupId >org.codehaus.plexus</groupId >
52+ <artifactId >plexus-utils</artifactId >
53+ <version >3.1.1</version >
54+ </dependency >
55+ <dependency >
56+ <groupId >junit</groupId >
57+ <artifactId >junit</artifactId >
58+ <version >4.12</version >
59+ <scope >test</scope >
60+ </dependency >
61+ <dependency >
62+ <groupId >org.twdata.maven</groupId >
63+ <artifactId >mojo-executor</artifactId >
64+ <version >2.3.0</version >
65+ </dependency >
66+ <dependency >
67+ <groupId >org.apache.commons</groupId >
68+ <artifactId >commons-lang3</artifactId >
69+ <version >3.9</version >
70+ </dependency >
71+ <dependency >
72+ <groupId >commons-io</groupId >
73+ <artifactId >commons-io</artifactId >
74+ <version >2.6</version >
75+ </dependency >
76+ <dependency >
77+ <groupId >org.apache.commons</groupId >
78+ <artifactId >commons-collections4</artifactId >
79+ <version >4.1</version >
80+ </dependency >
81+ <dependency >
82+ <groupId >org.apache.velocity</groupId >
83+ <artifactId >velocity-engine-core</artifactId >
84+ <version >2.0</version >
85+ </dependency >
86+ </dependencies >
87+ <build >
88+ <plugins >
89+ <plugin >
90+ <groupId >org.apache.maven.plugins</groupId >
91+ <artifactId >maven-plugin-plugin</artifactId >
92+ <version >3.6.0</version >
93+ <executions >
94+ <execution >
95+ <id >help-goal</id >
96+ <goals >
97+ <goal >help</goal >
98+ </goals >
99+ <configuration >
100+ <goalPrefix >javapackager</goalPrefix >
101+ <skipErrorNoDescriptorsFound >true</skipErrorNoDescriptorsFound >
102+ </configuration >
103+ </execution >
104+ </executions >
105+ </plugin >
106+ <plugin >
107+ <artifactId >maven-deploy-plugin</artifactId >
108+ <version >2.8.2</version >
109+ <executions >
110+ <execution >
111+ <id >default-deploy</id >
112+ <phase >deploy</phase >
113+ <goals >
114+ <goal >deploy</goal >
115+ </goals >
116+ </execution >
117+ </executions >
118+ </plugin >
119+ <plugin >
120+ <groupId >org.apache.maven.plugins</groupId >
121+ <artifactId >maven-release-plugin</artifactId >
122+ <configuration >
123+ <tagNameFormat >v@{project.version}</tagNameFormat >
124+ <localCheckout >true</localCheckout >
125+ <pushChanges >false</pushChanges >
126+ <mavenExecutorId >forked-path</mavenExecutorId >
127+ <arguments >-Dgpg.passphrase=${gpg.passphrase} </arguments >
128+ </configuration >
129+ <dependencies >
130+ <dependency >
131+ <groupId >org.apache.maven.scm</groupId >
132+ <artifactId >maven-scm-provider-gitexe</artifactId >
133+ <version >1.9.5</version >
134+ </dependency >
135+ </dependencies >
136+ </plugin >
137+ <plugin >
138+ <groupId >org.sonatype.plugins</groupId >
139+ <artifactId >nexus-staging-maven-plugin</artifactId >
140+ <version >1.6.7</version >
141+ <extensions >true</extensions >
142+ <configuration >
143+ <serverId >ossrh</serverId >
144+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
145+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
146+ </configuration >
147+ </plugin >
148+ </plugins >
149+ </build >
150+ <profiles >
151+ <profile >
152+ <id >release-sign-artifacts</id >
153+ <activation >
154+ <property >
155+ <name >performRelease</name >
156+ <value >true</value >
157+ </property >
158+ </activation >
159+ <build >
160+ <plugins >
161+ <plugin >
162+ <groupId >org.apache.maven.plugins</groupId >
163+ <artifactId >maven-gpg-plugin</artifactId >
164+ <version >1.6</version >
165+ <executions >
166+ <execution >
167+ <id >sign-artifacts</id >
168+ <phase >verify</phase >
169+ <goals >
170+ <goal >sign</goal >
171+ </goals >
172+ </execution >
173+ </executions >
174+ </plugin >
175+ </plugins >
176+ </build >
177+ </profile >
178+ </profiles >
179+ <distributionManagement >
180+ <snapshotRepository >
181+ <id >ossrh</id >
182+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
183+ </snapshotRepository >
184+ <repository >
185+ <id >ossrh</id >
186+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2</url >
187+ </repository >
188+ </distributionManagement >
189+ </project >
0 commit comments