changeset 10:72b4d8016653 tip

7902180: Fixes version value on maven central Contributed-by: patrick@reini.net
author shurailine
date Mon, 18 Jun 2018 10:38:21 +0300
parents 9a0e4fa35c48
children
files SWT/JemmySWT/pom.xml SWT/JemmySWT/src/org/jemmy/swt/jemmy.properties core/JemmyAWTInput/pom.xml core/JemmyAWTInput/src/org/jemmy/input/jemmy.properties core/JemmyBrowser/pom.xml core/JemmyBrowser/src/org/jemmy/browser/jemmy.properties core/JemmyCore/pom.xml core/JemmyCore/src/org/jemmy/jemmy.properties pom.xml
diffstat 9 files changed, 29 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/SWT/JemmySWT/pom.xml	Wed May 30 11:13:18 2018 -0700
+++ b/SWT/JemmySWT/pom.xml	Mon Jun 18 10:38:21 2018 +0300
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.adoptopenjdk</groupId>
         <artifactId>jemmy</artifactId>
-        <version>${revision}</version>
+        <version>1.0.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>jemmy-swt</artifactId>
@@ -83,17 +83,17 @@
         <dependency>
             <groupId>org.adoptopenjdk</groupId>
             <artifactId>jemmy-core</artifactId>
-            <version>${revision}</version>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
             <groupId>org.adoptopenjdk</groupId>
             <artifactId>jemmy-browser</artifactId>
-            <version>${revision}</version>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
             <groupId>org.adoptopenjdk</groupId>
             <artifactId>jemmy-awt-input</artifactId>
-            <version>${revision}</version>
+            <version>1.0.2</version>
         </dependency>
     </dependencies>
 </project>
--- a/SWT/JemmySWT/src/org/jemmy/swt/jemmy.properties	Wed May 30 11:13:18 2018 -0700
+++ b/SWT/JemmySWT/src/org/jemmy/swt/jemmy.properties	Mon Jun 18 10:38:21 2018 +0300
@@ -1,4 +1,4 @@
 version.major=1
 version.minor=0
-version.mini=0
-build=${buildnumber}
+version.mini=2
+build=${buildnumber} 
--- a/core/JemmyAWTInput/pom.xml	Wed May 30 11:13:18 2018 -0700
+++ b/core/JemmyAWTInput/pom.xml	Mon Jun 18 10:38:21 2018 +0300
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.adoptopenjdk</groupId>
         <artifactId>jemmy</artifactId>
-        <version>${revision}</version>
+        <version>1.0.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>jemmy-awt-input</artifactId>
@@ -41,7 +41,7 @@
         <dependency>
             <groupId>org.adoptopenjdk</groupId>
             <artifactId>jemmy-core</artifactId>
-            <version>${revision}</version>
+            <version>1.0.2</version>
         </dependency>
     </dependencies>
     <build>
--- a/core/JemmyAWTInput/src/org/jemmy/input/jemmy.properties	Wed May 30 11:13:18 2018 -0700
+++ b/core/JemmyAWTInput/src/org/jemmy/input/jemmy.properties	Mon Jun 18 10:38:21 2018 +0300
@@ -1,4 +1,4 @@
 version.major=1
 version.minor=0
-version.mini=0
-build=${buildnumber}
+version.mini=2
+build=${buildnumber} 
--- a/core/JemmyBrowser/pom.xml	Wed May 30 11:13:18 2018 -0700
+++ b/core/JemmyBrowser/pom.xml	Mon Jun 18 10:38:21 2018 +0300
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.adoptopenjdk</groupId>
         <artifactId>jemmy</artifactId>
-        <version>${revision}</version>
+        <version>1.0.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>jemmy-browser</artifactId>
@@ -41,7 +41,7 @@
         <dependency>
             <groupId>org.adoptopenjdk</groupId>
             <artifactId>jemmy-core</artifactId>
-            <version>${revision}</version>
+            <version>1.0.2</version>
         </dependency>
     </dependencies>
 </project>
--- a/core/JemmyBrowser/src/org/jemmy/browser/jemmy.properties	Wed May 30 11:13:18 2018 -0700
+++ b/core/JemmyBrowser/src/org/jemmy/browser/jemmy.properties	Mon Jun 18 10:38:21 2018 +0300
@@ -1,4 +1,4 @@
 version.major=1
 version.minor=0
-version.mini=0
+version.mini=2
 build=${buildnumber} 
--- a/core/JemmyCore/pom.xml	Wed May 30 11:13:18 2018 -0700
+++ b/core/JemmyCore/pom.xml	Mon Jun 18 10:38:21 2018 +0300
@@ -28,9 +28,13 @@
     <parent>
         <groupId>org.adoptopenjdk</groupId>
         <artifactId>jemmy</artifactId>
-        <version>${revision}</version>
+        <version>1.0.2</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>jemmy-core</artifactId>
     <packaging>jar</packaging>
+    <properties>
+        <version.file>org/jemmy/jemmy.properties</version.file>
+        <version.class>org.jemmy.Version</version.class>
+    </properties>
 </project>
--- a/core/JemmyCore/src/org/jemmy/jemmy.properties	Wed May 30 11:13:18 2018 -0700
+++ b/core/JemmyCore/src/org/jemmy/jemmy.properties	Mon Jun 18 10:38:21 2018 +0300
@@ -1,4 +1,4 @@
 version.major=1
 version.minor=0
-version.mini=0
-build=${buildnumber}
+version.mini=2
+build=${buildnumber} 
--- a/pom.xml	Wed May 30 11:13:18 2018 -0700
+++ b/pom.xml	Mon Jun 18 10:38:21 2018 +0300
@@ -27,7 +27,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.adoptopenjdk</groupId>
     <artifactId>jemmy</artifactId>
-    <version>${revision}</version>
+    <version>1.0.2</version>
     <packaging>pom</packaging>
     <name>${project.groupId}:${project.artifactId}</name>
     <description>UI test automation library</description>
@@ -56,7 +56,6 @@
         <module>./SWT/JemmySWT</module>
     </modules>
     <properties>
-        <revision>1.0.0</revision>
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -127,12 +126,13 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <version>3.0.2</version>
+                <version>3.1.0</version>
                 <configuration>
                     <archive>
-                        <manifest>
-                            <mainClass>${project.version.class}</mainClass>
-                        </manifest>
+                        <manifestEntries>
+                            <Automatic-Module-Name>${project.groupId}.${project.artifactId}</Automatic-Module-Name>
+                            <Main-Class>${version.class}</Main-Class>
+                        </manifestEntries>
                     </archive>
                     <excludes>
                     	<exclude>**/*.java</exclude>
@@ -142,7 +142,7 @@
             <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-source-plugin</artifactId>
-              <version>2.2.1</version>
+              <version>3.0.1</version>
               <executions>
                 <execution>
                   <id>attach-sources</id>
@@ -155,7 +155,7 @@
             <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-javadoc-plugin</artifactId>
-              <version>2.9.1</version>
+              <version>3.0.1</version>
               <executions>
                 <execution>
                   <id>attach-javadocs</id>
@@ -168,7 +168,7 @@
             <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-gpg-plugin</artifactId>
-              <version>1.5</version>
+              <version>1.6</version>
               <executions>
                 <execution>
                   <id>sign-artifacts</id>