Skip to content

Commit c75fb74

Browse files
committed
U pom license
1 parent ff9edff commit c75fb74

File tree

2 files changed

+50
-96
lines changed

2 files changed

+50
-96
lines changed

pom.xml

Lines changed: 38 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,40 @@
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">
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">
24
<modelVersion>4.0.0</modelVersion>
35

46
<groupId>io.github.fvarrui</groupId>
57
<artifactId>javapackager</artifactId>
6-
<version>0.8.11-SNAPSHOT</version>
8+
<version>0.8.9-SNAPSHOT</version>
79
<packaging>maven-plugin</packaging>
810

911
<name>JavaPackager Maven Plugin</name>
1012
<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>
1113
<url>https://github.com/fvarrui/JavaPackager</url>
12-
14+
1315
<properties>
1416
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1517
<maven.compiler.source>1.8</maven.compiler.source>
1618
<maven.compiler.target>1.8</maven.compiler.target>
1719
</properties>
1820

21+
<licenses>
22+
<license>
23+
<name>GPL-v3.0</name>
24+
<url>http://www.gnu.org/licenses/gpl-3.0.txt</url>
25+
<distribution>repo</distribution>
26+
<comments>A business-friendly OSS license</comments>
27+
</license>
28+
</licenses>
29+
1930
<developers>
2031
<developer>
2132
<id>fvarrui</id>
2233
<name>Francisco Vargas Ruiz</name>
2334
<url>https://github.com/fvarrui</url>
2435
</developer>
2536
</developers>
26-
37+
2738
<scm>
2839
<connection>scm:git:git://github.com/fvarrui/JavaPackager.git</connection>
2940
<developerConnection>scm:git:git@github.com:fvarrui/fvarrui.git</developerConnection>
@@ -97,89 +108,27 @@
97108
</executions>
98109
</plugin>
99110

100-
<!--
101-
<plugin>
102-
<groupId>org.apache.maven.plugins</groupId>
103-
<artifactId>maven-install-plugin</artifactId>
104-
<version>3.0.0-M1</version>
105-
<configuration>
106-
<createChecksum>true</createChecksum>
107-
</configuration>
108-
<executions>
109-
<execution>
110-
<id>release</id>
111-
<phase>install</phase>
112-
<goals>
113-
<goal>install-file</goal>
114-
</goals>
115-
<configuration>
116-
<localRepositoryPath>releases</localRepositoryPath>
117-
<file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
118-
</configuration>
119-
</execution>
120-
</executions>
121-
</plugin>
122-
123-
<plugin>
124-
<groupId>net.nicoulaj.maven.plugins</groupId>
125-
<artifactId>checksum-maven-plugin</artifactId>
126-
<version>1.8</version>
127-
<executions>
128-
<execution>
129-
<id>create-artifact-checksums</id>
130-
<phase>package</phase>
131-
<goals>
132-
<goal>artifacts</goal>
133-
</goals>
134-
</execution>
135-
<execution>
136-
<id>create-pom-checksums</id>
137-
<phase>install</phase>
138-
<goals>
139-
<goal>files</goal>
140-
</goals>
141-
<configuration>
142-
<fileSets>
143-
<fileSet>
144-
<directory>${project.basedir}/releases/io/github/fvarrui/javapackager/${project.version}</directory>
145-
<includes>
146-
<include>${project.artifactId}-${project.version}.pom</include>
147-
</includes>
148-
</fileSet>
149-
</fileSets>
150-
</configuration>
151-
</execution>
152-
</executions>
153-
</plugin>
154-
155-
<plugin>
156-
<groupId>org.apache.maven.plugins</groupId>
157-
<artifactId>maven-resources-plugin</artifactId>
158-
<version>3.1.0</version>
159-
<executions>
160-
<execution>
161-
<id>copy-checksums</id>
162-
<phase>install</phase>
163-
<goals>
164-
<goal>copy-resources</goal>
165-
</goals>
166-
<configuration>
167-
<outputDirectory>${project.basedir}/releases/io/github/fvarrui/javapackager/${project.version}</outputDirectory>
168-
<overwrite>true</overwrite>
169-
<resources>
170-
<resource>
171-
<directory>${project.build.directory}</directory>
172-
<includes>
173-
<include>${project.artifactId}-${project.version}.jar.md5</include>
174-
<include>${project.artifactId}-${project.version}.jar.sha1</include>
175-
</includes>
176-
</resource>
177-
</resources>
178-
</configuration>
179-
</execution>
180-
</executions>
181-
</plugin>
182-
-->
111+
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId>
112+
<version>3.0.0-M1</version> <configuration> <createChecksum>true</createChecksum>
113+
</configuration> <executions> <execution> <id>release</id> <phase>install</phase>
114+
<goals> <goal>install-file</goal> </goals> <configuration> <localRepositoryPath>releases</localRepositoryPath>
115+
<file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
116+
</configuration> </execution> </executions> </plugin> <plugin> <groupId>net.nicoulaj.maven.plugins</groupId>
117+
<artifactId>checksum-maven-plugin</artifactId> <version>1.8</version> <executions>
118+
<execution> <id>create-artifact-checksums</id> <phase>package</phase> <goals>
119+
<goal>artifacts</goal> </goals> </execution> <execution> <id>create-pom-checksums</id>
120+
<phase>install</phase> <goals> <goal>files</goal> </goals> <configuration>
121+
<fileSets> <fileSet> <directory>${project.basedir}/releases/io/github/fvarrui/javapackager/${project.version}</directory>
122+
<includes> <include>${project.artifactId}-${project.version}.pom</include>
123+
</includes> </fileSet> </fileSets> </configuration> </execution> </executions>
124+
</plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
125+
<version>3.1.0</version> <executions> <execution> <id>copy-checksums</id>
126+
<phase>install</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
127+
<outputDirectory>${project.basedir}/releases/io/github/fvarrui/javapackager/${project.version}</outputDirectory>
128+
<overwrite>true</overwrite> <resources> <resource> <directory>${project.build.directory}</directory>
129+
<includes> <include>${project.artifactId}-${project.version}.jar.md5</include>
130+
<include>${project.artifactId}-${project.version}.jar.sha1</include> </includes>
131+
</resource> </resources> </configuration> </execution> </executions> </plugin> -->
183132

184133
<plugin>
185134
<artifactId>maven-deploy-plugin</artifactId>
@@ -229,7 +178,7 @@
229178
</build>
230179

231180
<profiles>
232-
181+
233182
<profile>
234183
<id>run-its</id>
235184
<build>
@@ -295,7 +244,7 @@
295244
</plugins>
296245
</build>
297246
</profile>
298-
247+
299248
</profiles>
300249

301250
<distributionManagement>

pom.xml.releaseBackup

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
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">
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">
42
<modelVersion>4.0.0</modelVersion>
53

64
<groupId>io.github.fvarrui</groupId>
75
<artifactId>javapackager</artifactId>
8-
<version>0.8.9-SNAPSHOT</version>
6+
<version>0.8.10-SNAPSHOT</version>
97
<packaging>maven-plugin</packaging>
108

119
<name>JavaPackager Maven Plugin</name>
12-
10+
<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>
1311
<url>https://github.com/fvarrui/JavaPackager</url>
14-
12+
1513
<properties>
1614
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1715
<maven.compiler.source>1.8</maven.compiler.source>
1816
<maven.compiler.target>1.8</maven.compiler.target>
1917
</properties>
2018

21-
19+
<developers>
20+
<developer>
21+
<id>fvarrui</id>
22+
<name>Francisco Vargas Ruiz</name>
23+
<url>https://github.com/fvarrui</url>
24+
</developer>
25+
</developers>
26+
2227
<scm>
2328
<connection>scm:git:git://github.com/fvarrui/JavaPackager.git</connection>
2429
<developerConnection>scm:git:git@github.com:fvarrui/fvarrui.git</developerConnection>

0 commit comments

Comments
 (0)