You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/12/25 03:33:16 UTC

[commons-vfs] 05/12: Prepared pom.xml files to be compliant with maven central repository requirements

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to annotated tag japicmp-base-0.1.1
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit 51bd5916f53e17aa60e658e92de47de38e25345c
Author: siom79 <ma...@googlemail.com>
AuthorDate: Sun Jun 29 13:17:19 2014 +0200

    Prepared pom.xml files to be compliant with maven central repository requirements
---
 README.md                                          |  8 +-
 japicmp-maven-plugin/pom.xml                       | 17 ++++-
 japicmp-testbase/japicmp-test-maven-plugin/pom.xml | 10 +--
 japicmp-testbase/japicmp-test-v1/pom.xml           |  2 +-
 japicmp-testbase/japicmp-test-v2/pom.xml           |  6 +-
 japicmp-testbase/japicmp-test/pom.xml              | 12 +--
 japicmp-testbase/pom.xml                           |  2 +-
 japicmp/pom.xml                                    | 15 +++-
 pom.xml                                            | 89 +++++++++++++---------
 9 files changed, 106 insertions(+), 55 deletions(-)

diff --git a/README.md b/README.md
index 762cca1..b2b509f 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ The maven plugin can be included in the pom.xml file of your artifact in the fol
     <build>
         <plugins>
             <plugin>
-                <groupId>japicmp</groupId>
+                <groupId>com.github.siom79.japicmp</groupId>
                 <artifactId>japicmp-maven-plugin</artifactId>
                 <version>0.1.0</version>
                 <configuration>
@@ -100,6 +100,12 @@ The elements &lt;oldVersion&gt; and &lt;newVersion&gt; elements let you specify
 
 The maven plugin produces the two files japicmp.diff and japicmp.xml within the directory ${project.build.directory}/japicmp
 of your artifact.
+
+Currently the maven plugin is not available at the central repository; hence you will have to download it from the [release
+site](https://github.com/siom79/japicmp/releases) and install it locally with the following command using 
+[this pom file](https://github.com/siom79/japicmp/blob/master/japicmp-maven-plugin/pom.xml):
+
+    mvn install:install-file -Dfile=<path-to-file> -DpomFile=<path-to-pomfile>
 	
 ###Example###
 
diff --git a/japicmp-maven-plugin/pom.xml b/japicmp-maven-plugin/pom.xml
index 85aba0b..86a7fdb 100644
--- a/japicmp-maven-plugin/pom.xml
+++ b/japicmp-maven-plugin/pom.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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">
     <parent>
+        <groupId>com.github.siom79.japicmp</groupId>
         <artifactId>japicmp-base</artifactId>
-        <groupId>japicmp</groupId>
         <version>0.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
@@ -10,6 +10,19 @@
     <artifactId>japicmp-maven-plugin</artifactId>
     <packaging>maven-plugin</packaging>
 
+    <name>japicmp-maven-plugin</name>
+    <description>japicmp-maven-plugin is a maven plugin that computes the differences between two
+        versions of a jar file/artifact in order to ease the API documentation for clients/customers.</description>
+    <url>https://github.com/siom79/japicmp</url>
+
+    <licenses>
+        <license>
+            <name>Apache License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
     <properties>
         <maven.version>3.1.0</maven.version>
     </properties>
@@ -45,7 +58,7 @@
             <version>${maven.version}</version>
         </dependency>
         <dependency>
-            <groupId>japicmp</groupId>
+            <groupId>com.github.siom79.japicmp</groupId>
             <artifactId>japicmp</artifactId>
             <version>${project.version}</version>
         </dependency>
diff --git a/japicmp-testbase/japicmp-test-maven-plugin/pom.xml b/japicmp-testbase/japicmp-test-maven-plugin/pom.xml
index 768a21a..e455544 100644
--- a/japicmp-testbase/japicmp-test-maven-plugin/pom.xml
+++ b/japicmp-testbase/japicmp-test-maven-plugin/pom.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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">
     <parent>
+        <groupId>com.github.siom79.japicmp</groupId>
         <artifactId>japicmp-testbase</artifactId>
-        <groupId>japicmp</groupId>
         <version>0.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
@@ -11,7 +11,7 @@
 
     <dependencies>
         <dependency>
-            <groupId>japicmp</groupId>
+            <groupId>com.github.siom79.japicmp</groupId>
             <artifactId>japicmp-maven-plugin</artifactId>
             <version>${project.version}</version>
         </dependency>
@@ -20,20 +20,20 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>japicmp</groupId>
+                <groupId>com.github.siom79.japicmp</groupId>
                 <artifactId>japicmp-maven-plugin</artifactId>
                 <version>${project.version}</version>
                 <configuration>
                     <oldVersion>
                         <dependency>
-                            <groupId>japicmp</groupId>
+                            <groupId>com.github.siom79.japicmp</groupId>
                             <artifactId>japicmp-test-v1</artifactId>
                             <version>${project.version}</version>
                         </dependency>
                     </oldVersion>
                     <newVersion>
                         <dependency>
-                            <groupId>japicmp</groupId>
+                            <groupId>com.github.siom79.japicmp</groupId>
                             <artifactId>japicmp-test-v2</artifactId>
                             <version>${project.version}</version>
                         </dependency>
diff --git a/japicmp-testbase/japicmp-test-v1/pom.xml b/japicmp-testbase/japicmp-test-v1/pom.xml
index 92bfc84..977061e 100644
--- a/japicmp-testbase/japicmp-test-v1/pom.xml
+++ b/japicmp-testbase/japicmp-test-v1/pom.xml
@@ -2,7 +2,7 @@
 <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>
     <parent>
-        <groupId>japicmp</groupId>
+        <groupId>com.github.siom79.japicmp</groupId>
         <artifactId>japicmp-testbase</artifactId>
         <version>0.1.1-SNAPSHOT</version>
     </parent>
diff --git a/japicmp-testbase/japicmp-test-v2/pom.xml b/japicmp-testbase/japicmp-test-v2/pom.xml
index 3c6e3fa..d9f720b 100644
--- a/japicmp-testbase/japicmp-test-v2/pom.xml
+++ b/japicmp-testbase/japicmp-test-v2/pom.xml
@@ -2,7 +2,7 @@
 <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>
     <parent>
-        <groupId>japicmp</groupId>
+        <groupId>com.github.siom79.japicmp</groupId>
         <artifactId>japicmp-testbase</artifactId>
         <version>0.1.1-SNAPSHOT</version>
     </parent>
@@ -12,13 +12,13 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>japicmp</groupId>
+                <groupId>com.github.siom79.japicmp</groupId>
                 <artifactId>japicmp-maven-plugin</artifactId>
                 <version>${project.version}</version>
                 <configuration>
                     <oldVersion>
                         <dependency>
-                            <groupId>japicmp</groupId>
+                            <groupId>com.github.siom79.japicmp</groupId>
                             <artifactId>japicmp-test-v1</artifactId>
                             <version>${project.version}</version>
                         </dependency>
diff --git a/japicmp-testbase/japicmp-test/pom.xml b/japicmp-testbase/japicmp-test/pom.xml
index b82c00b..45d1680 100644
--- a/japicmp-testbase/japicmp-test/pom.xml
+++ b/japicmp-testbase/japicmp-test/pom.xml
@@ -2,7 +2,7 @@
 <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>
     <parent>
-        <groupId>japicmp</groupId>
+        <groupId>com.github.siom79.japicmp</groupId>
         <artifactId>japicmp-testbase</artifactId>
         <version>0.1.1-SNAPSHOT</version>
     </parent>
@@ -11,18 +11,18 @@
 
     <dependencies>
         <dependency>
-            <groupId>japicmp</groupId>
+            <groupId>com.github.siom79.japicmp</groupId>
             <artifactId>japicmp</artifactId>
             <version>${project.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>japicmp</groupId>
+            <groupId>com.github.siom79.japicmp</groupId>
             <artifactId>japicmp-test-v1</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
-            <groupId>japicmp</groupId>
+            <groupId>com.github.siom79.japicmp</groupId>
             <artifactId>japicmp-test-v2</artifactId>
             <version>${project.version}</version>
         </dependency>
@@ -44,7 +44,7 @@
                         <configuration>
                             <artifactItems>
                                 <artifactItem>
-                                    <groupId>japicmp</groupId>
+                                    <groupId>com.github.siom79.japicmp</groupId>
                                     <artifactId>japicmp-test-v1</artifactId>
                                     <version>${project.version}</version>
                                     <overWrite>true</overWrite>
@@ -52,7 +52,7 @@
                                     <destFileName>japicmp-test-v1.jar</destFileName>
                                 </artifactItem>
                                 <artifactItem>
-                                    <groupId>japicmp</groupId>
+                                    <groupId>com.github.siom79.japicmp</groupId>
                                     <artifactId>japicmp-test-v2</artifactId>
                                     <version>${project.version}</version>
                                     <overWrite>true</overWrite>
diff --git a/japicmp-testbase/pom.xml b/japicmp-testbase/pom.xml
index d5c1c19..5e0c176 100644
--- a/japicmp-testbase/pom.xml
+++ b/japicmp-testbase/pom.xml
@@ -2,7 +2,7 @@
 <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>
     <parent>
-        <groupId>japicmp</groupId>
+        <groupId>com.github.siom79.japicmp</groupId>
         <artifactId>japicmp-base</artifactId>
         <version>0.1.1-SNAPSHOT</version>
     </parent>
diff --git a/japicmp/pom.xml b/japicmp/pom.xml
index 8bc1469..4950143 100644
--- a/japicmp/pom.xml
+++ b/japicmp/pom.xml
@@ -2,13 +2,26 @@
 <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>
     <parent>
-        <groupId>japicmp</groupId>
+        <groupId>com.github.siom79.japicmp</groupId>
         <artifactId>japicmp-base</artifactId>
         <version>0.1.1-SNAPSHOT</version>
     </parent>
 
     <artifactId>japicmp</artifactId>
 
+    <name>japicmp</name>
+    <description>japicmp is a library that computes the differences between two
+        versions of a jar file/artifact in order to ease the API documentation for clients/customers.</description>
+    <url>https://github.com/siom79/japicmp</url>
+
+    <licenses>
+        <license>
+            <name>Apache License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
     <dependencies>
         <dependency>
             <groupId>javassist</groupId>
diff --git a/pom.xml b/pom.xml
index 01d3564..f18cfc2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,12 +1,35 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<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">
+<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>japicmp</groupId>
+    <groupId>com.github.siom79.japicmp</groupId>
     <artifactId>japicmp-base</artifactId>
     <version>0.1.1-SNAPSHOT</version>
     <packaging>pom</packaging>
 
+    <name>japicmp-base</name>
+    <description>japicmp is a library/maven plugin that computes the differences between two
+        versions of a jar file/artifact in order to ease the API documentation for clients/customers.
+    </description>
+    <url>https://github.com/siom79/japicmp</url>
+
+    <licenses>
+        <license>
+            <name>Apache License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
+    <developers>
+        <developer>
+            <id>martin.mois</id>
+            <name>Martin Mois</name>
+            <email>martin.mois@gmail.com</email>
+        </developer>
+    </developers>
+
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <github.account>siom79</github.account>
@@ -128,37 +151,33 @@
         <tag>HEAD</tag>
     </scm>
 
-    <distributionManagement>
-        <repository>
-            <id>cloudbees-public-release</id>
-            <url>dav:https://repository-${cloudbees.account}.forge.cloudbees.com/release</url>
-        </repository>
-        <snapshotRepository>
-            <id>cloudbees-public-snapshot</id>
-            <url>dav:https://repository-${cloudbees.account}.forge.cloudbees.com/snapshot</url>
-        </snapshotRepository>
-    </distributionManagement>
-
-    <repositories>
-        <repository>
-            <id>cloudbees-public-snapshot</id>
-            <url>https://repository-${cloudbees.account}.forge.cloudbees.com/public-snapshot</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>cloudbees-public-release</id>
-            <url>https://repository-${cloudbees.account}.forge.cloudbees.com/public-release</url>
-            <releases>
-                <enabled>true</enabled>
-            </releases>
-            <snapshots>
-                <enabled>false</enabled>
-            </snapshots>
-        </repository>
-    </repositories>
+    <profiles>
+        <profile>
+            <id>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.5</version>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>
\ No newline at end of file