[maven-parent] branch master updated: [MPOM-202] - Links to nabble archive only work with http
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-parent.git The following commit(s) were added to refs/heads/master by this push: new 04dc542 [MPOM-202] - Links to nabble archive only work with http 04dc542 is described below commit 04dc5429f3b3f81f343075e63b9dc2a1d2dc62d8 Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 10:36:15 2018 +0200 [MPOM-202] - Links to nabble archive only work with http --- pom.xml | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 4981cfc..0a2f61b 100644 --- a/pom.xml +++ b/pom.xml @@ -761,7 +761,7 @@ under the License. https://mail-archives.apache.org/mod_mbox/maven-users https://www.mail-archive.com/users@maven.apache.org/ - https://maven.40175.n5.nabble.com/Maven-Users-f40176.html + http://maven.40175.n5.nabble.com/Maven-Users-f40176.html https://maven-users.markmail.org/ @@ -774,7 +774,7 @@ under the License. https://mail-archives.apache.org/mod_mbox/maven-dev https://www.mail-archive.com/dev@maven.apache.org/ - https://maven.40175.n5.nabble.com/Maven-Developers-f142166.html + http://maven.40175.n5.nabble.com/Maven-Developers-f142166.html https://maven-dev.markmail.org/ @@ -786,7 +786,7 @@ under the License. https://mail-archives.apache.org/mod_mbox/maven-issues/ https://www.mail-archive.com/issues@maven.apache.org - https://maven.40175.n5.nabble.com/Maven-Issues-f219593.html + http://maven.40175.n5.nabble.com/Maven-Issues-f219593.html https://maven-issues.markmail.org/ @@ -798,7 +798,7 @@ under the License. https://mail-archives.apache.org/mod_mbox/maven-commits/ https://www.mail-archive.com/commits@maven.apache.org - https://maven.40175.n5.nabble.com/Maven-Commits-f277168.html + http://maven.40175.n5.nabble.com/Maven-Commits-f277168.html https://maven-commits.markmail.org/ @@ -811,7 +811,7 @@ under the License. https://mail-archives.apache.org/mod_mbox/maven-announce/ https://www.mail-archive.com/announce@maven.apache.org - https://maven.40175.n5.nabble.com/Maven-Announcements-f326045.html + http://maven.40175.n5.nabble.com/Maven-Announcements-f326045.html https://maven-announce.markmail.org/ @@ -823,7 +823,7 @@ under the License. https://mail-archives.apache.org/mod_mbox/maven-notifications/ https://www.mail-archive.com/notifications@maven.apache.org - https://maven.40175.n5.nabble.com/Maven-Notifications-f301718.html + http://maven.40175.n5.nabble.com/Maven-Notifications-f301718.html https://maven-notifications.markmail.org/
[maven-parent] branch master updated: [MPOM-203] - Links to mailing list will not open mail
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-parent.git The following commit(s) were added to refs/heads/master by this push: new c5c2ceb [MPOM-203] - Links to mailing list will not open mail c5c2ceb is described below commit c5c2cebfbc4733639f18c16d3fbd5ccb493a6576 Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 10:47:15 2018 +0200 [MPOM-203] - Links to mailing list will not open mail --- pom.xml | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index 0a2f61b..ea8554f 100644 --- a/pom.xml +++ b/pom.xml @@ -754,9 +754,9 @@ under the License. Maven User List - users-subscr...@maven.apache.org - users-unsubscr...@maven.apache.org - us...@maven.apache.org + mailto:users-subscr...@maven.apache.org + mailto:users-unsubscr...@maven.apache.org + mailto:us...@maven.apache.org https://lists.apache.org/list.html?us...@maven.apache.org https://mail-archives.apache.org/mod_mbox/maven-users @@ -767,9 +767,9 @@ under the License. Maven Developer List - dev-subscr...@maven.apache.org - dev-unsubscr...@maven.apache.org - d...@maven.apache.org + mailto:dev-subscr...@maven.apache.org + mailto:dev-unsubscr...@maven.apache.org + mailto:d...@maven.apache.org https://lists.apache.org/list.html?d...@maven.apache.org https://mail-archives.apache.org/mod_mbox/maven-dev @@ -780,8 +780,8 @@ under the License. Maven Issues List - issues-subscr...@maven.apache.org - issues-unsubscr...@maven.apache.org + mailto:issues-subscr...@maven.apache.org + mailto:issues-unsubscr...@maven.apache.org https://lists.apache.org/list.html?iss...@maven.apache.org https://mail-archives.apache.org/mod_mbox/maven-issues/ @@ -792,8 +792,8 @@ under the License. Maven Commits List - commits-subscr...@maven.apache.org - commits-unsubscr...@maven.apache.org + mailto:commits-subscr...@maven.apache.org + mailto:commits-unsubscr...@maven.apache.org https://lists.apache.org/list.html?commits@maven.apache.org https://mail-archives.apache.org/mod_mbox/maven-commits/ @@ -805,8 +805,8 @@ under the License. Maven Announcements List annou...@maven.apache.org - announce-subscr...@maven.apache.org - announce-unsubscr...@maven.apache.org + mailto:announce-subscr...@maven.apache.org + mailto:announce-unsubscr...@maven.apache.org https://lists.apache.org/list.html?annou...@maven.apache.org https://mail-archives.apache.org/mod_mbox/maven-announce/ @@ -817,8 +817,8 @@ under the License. Maven Notifications List - notifications-subscr...@maven.apache.org - notifications-unsubscr...@maven.apache.org + mailto:notifications-subscr...@maven.apache.org + mailto:notifications-unsubscr...@maven.apache.org https://lists.apache.org/list.html?notificati...@maven.apache.org https://mail-archives.apache.org/mod_mbox/maven-notifications/
[maven-site] branch master updated: Make sure we get the most recent version of SNAPSHOT's.
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-site.git The following commit(s) were added to refs/heads/master by this push: new b8c45db Make sure we get the most recent version of SNAPSHOT's. b8c45db is described below commit b8c45db89c329f388cd44ca047ea142bcec1c05e Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 10:54:14 2018 +0200 Make sure we get the most recent version of SNAPSHOT's. --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f42d250..09820e8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ pipeline { findbugsPublisher(disabled: true), openTasksPublisher(disabled: true) ]) { -sh "mvn clean site" +sh "mvn -U clean site" } } } @@ -29,7 +29,7 @@ pipeline { findbugsPublisher(disabled: true), openTasksPublisher(disabled: true) ]) { -sh "mvn clean site-deploy" +sh "mvn -U clean site-deploy" } } } @@ -47,4 +47,4 @@ pipeline { disableConcurrentBuilds() ansiColor('xterm') } -} \ No newline at end of file +}
[maven-parent] branch MPOM-193 deleted (was b8be147)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch MPOM-193 in repository https://gitbox.apache.org/repos/asf/maven-parent.git. was b8be147 [MPOM-193] - Upgrade extra-enforcer-rule to 1.0-beta-9 This change permanently discards the following revisions: discard b8be147 [MPOM-193] - Upgrade extra-enforcer-rule to 1.0-beta-9
[maven-jxr] branch INFRA-16467 deleted (was 672205d)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch INFRA-16467 in repository https://gitbox.apache.org/repos/asf/maven-jxr.git. was 672205d [INFRA-16467] move components documentation out of CMS space This change permanently discards the following revisions: discard 672205d [INFRA-16467] move components documentation out of CMS space
[maven-archiver] branch MSHARED-747 updated: fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git The following commit(s) were added to refs/heads/MSHARED-747 by this push: new e50bfb1 fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32 e50bfb1 is described below commit e50bfb10b08d4f87ba5dfd0628c36646c8bb0c7f Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 21:48:56 2018 +0200 fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32 --- src/test/java/org/apache/maven/archiver/MavenArchiverTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java index 05fda29..c657829 100644 --- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java +++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java @@ -238,10 +238,9 @@ public class MavenArchiverTest long time = jarFile.lastModified(); List files = FileUtils.getFiles( new File( "target/maven-archiver" ), "**/**", null, true ); -for ( Object file : files ) +for ( File file : files ) { -File f = (File) file; -f.setLastModified( time ); +file.setLastModified( time ); } archiver.createArchive( session, project, config );
[maven-archiver] branch MSHARED-747 updated: fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git The following commit(s) were added to refs/heads/MSHARED-747 by this push: new 535e234 fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32 535e234 is described below commit 535e234f0b6ca84d819bee94080152db69c9351e Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 22:20:10 2018 +0200 fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32 --- src/test/java/org/apache/maven/archiver/MavenArchiverTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java index c657829..8f640f9 100644 --- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java +++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java @@ -240,10 +240,12 @@ public class MavenArchiverTest List files = FileUtils.getFiles( new File( "target/maven-archiver" ), "**/**", null, true ); for ( File file : files ) { -file.setLastModified( time ); +assertTrue(file.setLastModified( time )); } archiver.createArchive( session, project, config ); +// Is the assumption correct that the jar file itself +// should have the same last modified time as the files itself ? assertEquals( jarFile.lastModified(), time ); config.setForced( true );
[maven-archiver] branch MSHARED-747 updated: fixup! fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git The following commit(s) were added to refs/heads/MSHARED-747 by this push: new 9b69c6d fixup! fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32 9b69c6d is described below commit 9b69c6dd7f164a08aaaea3edfa495389b454e7f9 Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 22:27:59 2018 +0200 fixup! fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32 --- .../apache/maven/archiver/MavenArchiverTest.java | 24 +- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java index 8f640f9..bb94b67 100644 --- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java +++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java @@ -182,7 +182,7 @@ public class MavenArchiverTest Model model = new Model(); model.setArtifactId( "dummy" ); -MavenProject project = new MavenProject( model) +MavenProject project = new MavenProject( model ) { public List getRuntimeClasspathElements() { @@ -234,23 +234,27 @@ public class MavenArchiverTest FileUtils.deleteDirectory( "target/maven-archiver" ); archiver.createArchive( session, project, config ); assertTrue( jarFile.exists() ); -jarFile.setLastModified( System.currentTimeMillis() - 6L ); + +long history = System.currentTimeMillis() - 6L; +System.out.println( "History: " + history ); +jarFile.setLastModified( history ); long time = jarFile.lastModified(); +System.out.println( "Time:" + time ); List files = FileUtils.getFiles( new File( "target/maven-archiver" ), "**/**", null, true ); for ( File file : files ) { -assertTrue(file.setLastModified( time )); +assertTrue( file.setLastModified( time ) ); } archiver.createArchive( session, project, config ); -// Is the assumption correct that the jar file itself +// Is the assumption correct that the jar file itself // should have the same last modified time as the files itself ? -assertEquals( jarFile.lastModified(), time ); +assertEquals( "History " + history + " time:" + time , jarFile.lastModified(), time ); config.setForced( true ); archiver.createArchive( session, project, config ); -//I'm not sure if it could only be greater than time or if it is sufficient to be greater or equal.. +// I'm not sure if it could only be greater than time or if it is sufficient to be greater or equal.. assertTrue( jarFile.lastModified() >= time ); } @@ -421,7 +425,7 @@ public class MavenArchiverTest config.getManifest().setAddDefaultImplementationEntries( true ); config.addManifestEntry( "Description", project.getDescription() ); // config.addManifestEntry( "EntryWithTab", " foo tab " + ( '\u0009' ) + ( '\u0009' ) // + " bar tab" + ( // - // '\u0009' // ) ); +// '\u0009' // ) ); archiver.createArchive( session, project, config ); assertTrue( jarFile.exists() ); @@ -749,7 +753,7 @@ public class MavenArchiverTest config.getManifest().setAddClasspath( true ); config.getManifest().setClasspathPrefix( "lib" ); config.getManifest().setClasspathLayoutType( ManifestConfiguration.CLASSPATH_LAYOUT_TYPE_CUSTOM ); -config.getManifest().setCustomClasspathLayout( MavenArchiver.SIMPLE_LAYOUT); +config.getManifest().setCustomClasspathLayout( MavenArchiver.SIMPLE_LAYOUT ); archiver.createArchive( session, project, config ); assertTrue( jarFile.exists() ); @@ -788,7 +792,7 @@ public class MavenArchiverTest config.getManifest().setAddClasspath( true ); config.getManifest().setClasspathPrefix( "lib" ); config.getManifest().setClasspathLayoutType( ManifestConfiguration.CLASSPATH_LAYOUT_TYPE_CUSTOM ); -config.getManifest().setCustomClasspathLayout( MavenArchiver.SIMPLE_LAYOUT_NONUNIQUE); +config.getManifest().setCustomClasspathLayout( MavenArchiver.SIMPLE_LAYOUT_NONUNIQUE ); archiver.createArchive( session, project, config ); assertTrue( jarFile.exists() ); @@ -1339,7 +1343,7 @@ public class MavenArchiverTest URL resource = Thread.currentThread().getContextClassLoader().getResource( file ); if ( resource == null ) { -fail("Cannot retrieve java.net.URL for file: " + file + " on the current t
[maven-archiver] branch FIXED_TEST created (now 9111b94)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch FIXED_TEST in repository https://gitbox.apache.org/repos/asf/maven-archiver.git. at 9111b94 Fixed Unit test. This branch includes the following new commits: new 9111b94 Fixed Unit test. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[maven-archiver] 01/01: Fixed Unit test.
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch FIXED_TEST in repository https://gitbox.apache.org/repos/asf/maven-archiver.git commit 9111b94032cb3f7d7f11678f3bf881a87a3544d7 Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 22:33:23 2018 +0200 Fixed Unit test. --- .../apache/maven/archiver/MavenArchiverTest.java | 27 +- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java index 05fda29..bb94b67 100644 --- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java +++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java @@ -182,7 +182,7 @@ public class MavenArchiverTest Model model = new Model(); model.setArtifactId( "dummy" ); -MavenProject project = new MavenProject( model) +MavenProject project = new MavenProject( model ) { public List getRuntimeClasspathElements() { @@ -234,22 +234,27 @@ public class MavenArchiverTest FileUtils.deleteDirectory( "target/maven-archiver" ); archiver.createArchive( session, project, config ); assertTrue( jarFile.exists() ); -jarFile.setLastModified( System.currentTimeMillis() - 6L ); + +long history = System.currentTimeMillis() - 6L; +System.out.println( "History: " + history ); +jarFile.setLastModified( history ); long time = jarFile.lastModified(); +System.out.println( "Time:" + time ); List files = FileUtils.getFiles( new File( "target/maven-archiver" ), "**/**", null, true ); -for ( Object file : files ) +for ( File file : files ) { -File f = (File) file; -f.setLastModified( time ); +assertTrue( file.setLastModified( time ) ); } archiver.createArchive( session, project, config ); -assertEquals( jarFile.lastModified(), time ); +// Is the assumption correct that the jar file itself +// should have the same last modified time as the files itself ? +assertEquals( "History " + history + " time:" + time , jarFile.lastModified(), time ); config.setForced( true ); archiver.createArchive( session, project, config ); -//I'm not sure if it could only be greater than time or if it is sufficient to be greater or equal.. +// I'm not sure if it could only be greater than time or if it is sufficient to be greater or equal.. assertTrue( jarFile.lastModified() >= time ); } @@ -420,7 +425,7 @@ public class MavenArchiverTest config.getManifest().setAddDefaultImplementationEntries( true ); config.addManifestEntry( "Description", project.getDescription() ); // config.addManifestEntry( "EntryWithTab", " foo tab " + ( '\u0009' ) + ( '\u0009' ) // + " bar tab" + ( // - // '\u0009' // ) ); +// '\u0009' // ) ); archiver.createArchive( session, project, config ); assertTrue( jarFile.exists() ); @@ -748,7 +753,7 @@ public class MavenArchiverTest config.getManifest().setAddClasspath( true ); config.getManifest().setClasspathPrefix( "lib" ); config.getManifest().setClasspathLayoutType( ManifestConfiguration.CLASSPATH_LAYOUT_TYPE_CUSTOM ); -config.getManifest().setCustomClasspathLayout( MavenArchiver.SIMPLE_LAYOUT); +config.getManifest().setCustomClasspathLayout( MavenArchiver.SIMPLE_LAYOUT ); archiver.createArchive( session, project, config ); assertTrue( jarFile.exists() ); @@ -787,7 +792,7 @@ public class MavenArchiverTest config.getManifest().setAddClasspath( true ); config.getManifest().setClasspathPrefix( "lib" ); config.getManifest().setClasspathLayoutType( ManifestConfiguration.CLASSPATH_LAYOUT_TYPE_CUSTOM ); -config.getManifest().setCustomClasspathLayout( MavenArchiver.SIMPLE_LAYOUT_NONUNIQUE); +config.getManifest().setCustomClasspathLayout( MavenArchiver.SIMPLE_LAYOUT_NONUNIQUE ); archiver.createArchive( session, project, config ); assertTrue( jarFile.exists() ); @@ -1338,7 +1343,7 @@ public class MavenArchiverTest URL resource = Thread.currentThread().getContextClassLoader().getResource( file ); if ( resource == null ) { -fail("Cannot retrieve java.net.URL for file: " + file + " on the current test classpath." ); +fail( "Cannot retrieve java.net.URL for file: " + file + " on the current test classpath." ); } URI uri = new File( resource.getPath() ).toURI().normalize();
[maven-archiver] branch FIXED_TEST deleted (was 9111b94)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch FIXED_TEST in repository https://gitbox.apache.org/repos/asf/maven-archiver.git. was 9111b94 Fixed Unit test. The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
[maven-archiver] branch master updated (0164db6 -> 9111b94)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/maven-archiver.git. from 0164db6 [MSHARED-727] - Upgrade mave-surefire/failsafe-plugin 2.21.0 add 9111b94 Fixed Unit test. No new revisions were added by this update. Summary of changes: .../apache/maven/archiver/MavenArchiverTest.java | 27 +- 1 file changed, 16 insertions(+), 11 deletions(-)
[maven-archiver] 01/01: [MSHARED-747] - Upgrade maven-plugins parent to version 32
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git commit 8e78c1c0aa9aa59bc68e15a445ac9c7c79fa01d4 Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 22:31:56 2018 +0200 [MSHARED-747] - Upgrade maven-plugins parent to version 32 --- pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d754abf..03e1586 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ org.apache.maven.shared maven-shared-components -31 +32 ../../pom/maven/maven-shared-components/pom.xml @@ -34,7 +34,6 @@ Provides utility methods for creating JARs and other archive files from a Maven project. -2.21.0 3.0 7
[maven-archiver] branch MSHARED-747 updated (9b69c6d -> 8e78c1c)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git. discard 9b69c6d fixup! fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32 discard 535e234 fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32 discard e50bfb1 fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32 discard 504106e [MSHARED-747] - Upgrade maven-plugins parent to version 32 add 9111b94 Fixed Unit test. new 8e78c1c [MSHARED-747] - Upgrade maven-plugins parent to version 32 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (9b69c6d) \ N -- N -- N refs/heads/MSHARED-747 (8e78c1c) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes:
[maven-archiver] branch MSHARED-747 updated: Try to fix issue related to setLastModified
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git The following commit(s) were added to refs/heads/MSHARED-747 by this push: new 6ade679 Try to fix issue related to setLastModified 6ade679 is described below commit 6ade67946880100b9b111024948de40755fa338e Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 22:49:26 2018 +0200 Try to fix issue related to setLastModified --- .../java/org/apache/maven/archiver/MavenArchiverTest.java | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java index bb94b67..21ff6d2 100644 --- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java +++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java @@ -236,8 +236,9 @@ public class MavenArchiverTest assertTrue( jarFile.exists() ); long history = System.currentTimeMillis() - 6L; -System.out.println( "History: " + history ); -jarFile.setLastModified( history ); +long historyFixed = history/1000*1000; +System.out.println( "historyFixed: " + historyFixed ); +jarFile.setLastModified( historyFixed ); long time = jarFile.lastModified(); System.out.println( "Time:" + time ); @@ -250,8 +251,13 @@ public class MavenArchiverTest archiver.createArchive( session, project, config ); // Is the assumption correct that the jar file itself // should have the same last modified time as the files itself ? -assertEquals( "History " + history + " time:" + time , jarFile.lastModified(), time ); - + +// Based on some experiments with a result like this: +// History 1532810292406 time:1532810292000 expected:<1532810352000> but was:<1532810292000> +// It looks like a JDK Bug: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8177809 + +assertEquals( "History " + historyFixed + " time:" + time , jarFile.lastModified(), time ); + config.setForced( true ); archiver.createArchive( session, project, config ); // I'm not sure if it could only be greater than time or if it is sufficient to be greater or equal..
[maven-archiver] branch MSHARED-747 updated: @Ignore test which looks like a JDK bug.
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git The following commit(s) were added to refs/heads/MSHARED-747 by this push: new f549967 @Ignore test which looks like a JDK bug. f549967 is described below commit f549967ad35a874a1a4e1dbb8091620a5ce11fba Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 23:00:45 2018 +0200 @Ignore test which looks like a JDK bug. --- .../java/org/apache/maven/archiver/MavenArchiverTest.java| 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java index 21ff6d2..4c0d799 100644 --- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java +++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java @@ -39,6 +39,7 @@ import org.apache.maven.shared.utils.io.IOUtil; import org.codehaus.plexus.PlexusContainer; import org.codehaus.plexus.archiver.jar.JarArchiver; import org.codehaus.plexus.archiver.jar.ManifestException; +import org.junit.Ignore; import org.junit.Test; import org.sonatype.aether.RepositorySystemSession; import org.sonatype.aether.util.DefaultRepositorySystemSession; @@ -217,6 +218,7 @@ public class MavenArchiverTest } @Test +@Ignore("Currently not working on Linux JDK 9 which looks like a JDK bug at the moment. See comments in Tests") public void testRecreation() throws Exception { @@ -236,9 +238,8 @@ public class MavenArchiverTest assertTrue( jarFile.exists() ); long history = System.currentTimeMillis() - 6L; -long historyFixed = history/1000*1000; -System.out.println( "historyFixed: " + historyFixed ); -jarFile.setLastModified( historyFixed ); +System.out.println( "history: " + history ); +jarFile.setLastModified( history ); long time = jarFile.lastModified(); System.out.println( "Time:" + time ); @@ -255,9 +256,8 @@ public class MavenArchiverTest // Based on some experiments with a result like this: // History 1532810292406 time:1532810292000 expected:<1532810352000> but was:<1532810292000> // It looks like a JDK Bug: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8177809 - -assertEquals( "History " + historyFixed + " time:" + time , jarFile.lastModified(), time ); - +assertEquals( "History " + history + " time:" + time , jarFile.lastModified(), time ); + config.setForced( true ); archiver.createArchive( session, project, config ); // I'm not sure if it could only be greater than time or if it is sufficient to be greater or equal..
[maven-archiver] branch master updated: @Ignore test which looks like a JDK bug.
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-archiver.git The following commit(s) were added to refs/heads/master by this push: new b2e0194 @Ignore test which looks like a JDK bug. b2e0194 is described below commit b2e019439a6dcd4f6ffe897cca832d9db4091fd5 Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 23:06:50 2018 +0200 @Ignore test which looks like a JDK bug. --- src/test/java/org/apache/maven/archiver/MavenArchiverTest.java | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java index bb94b67..4c0d799 100644 --- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java +++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java @@ -39,6 +39,7 @@ import org.apache.maven.shared.utils.io.IOUtil; import org.codehaus.plexus.PlexusContainer; import org.codehaus.plexus.archiver.jar.JarArchiver; import org.codehaus.plexus.archiver.jar.ManifestException; +import org.junit.Ignore; import org.junit.Test; import org.sonatype.aether.RepositorySystemSession; import org.sonatype.aether.util.DefaultRepositorySystemSession; @@ -217,6 +218,7 @@ public class MavenArchiverTest } @Test +@Ignore("Currently not working on Linux JDK 9 which looks like a JDK bug at the moment. See comments in Tests") public void testRecreation() throws Exception { @@ -236,7 +238,7 @@ public class MavenArchiverTest assertTrue( jarFile.exists() ); long history = System.currentTimeMillis() - 6L; -System.out.println( "History: " + history ); +System.out.println( "history: " + history ); jarFile.setLastModified( history ); long time = jarFile.lastModified(); System.out.println( "Time:" + time ); @@ -250,6 +252,10 @@ public class MavenArchiverTest archiver.createArchive( session, project, config ); // Is the assumption correct that the jar file itself // should have the same last modified time as the files itself ? + +// Based on some experiments with a result like this: +// History 1532810292406 time:1532810292000 expected:<1532810352000> but was:<1532810292000> +// It looks like a JDK Bug: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8177809 assertEquals( "History " + history + " time:" + time , jarFile.lastModified(), time ); config.setForced( true );
[maven-archiver] 01/01: [MSHARED-747] - Upgrade maven-plugins parent to version 32
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git commit 162e36cbc7a2623371c25c2822abeeb406aafe23 Author: Karl Heinz Marbaise AuthorDate: Sat Jul 28 22:31:56 2018 +0200 [MSHARED-747] - Upgrade maven-plugins parent to version 32 --- pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d754abf..03e1586 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ org.apache.maven.shared maven-shared-components -31 +32 ../../pom/maven/maven-shared-components/pom.xml @@ -34,7 +34,6 @@ Provides utility methods for creating JARs and other archive files from a Maven project. -2.21.0 3.0 7
[maven-archiver] branch MSHARED-747 updated (f549967 -> 162e36c)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git. discard f549967 @Ignore test which looks like a JDK bug. discard 6ade679 Try to fix issue related to setLastModified discard 8e78c1c [MSHARED-747] - Upgrade maven-plugins parent to version 32 add b2e0194 @Ignore test which looks like a JDK bug. new 162e36c [MSHARED-747] - Upgrade maven-plugins parent to version 32 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (f549967) \ N -- N -- N refs/heads/MSHARED-747 (162e36c) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes:
[maven-archiver] branch MSHARED-747 deleted (was 162e36c)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch MSHARED-747 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git. was 162e36c [MSHARED-747] - Upgrade maven-plugins parent to version 32 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
[maven-archiver] branch master updated (b2e0194 -> 162e36c)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/maven-archiver.git. from b2e0194 @Ignore test which looks like a JDK bug. add 162e36c [MSHARED-747] - Upgrade maven-plugins parent to version 32 No new revisions were added by this update. Summary of changes: pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
[maven-rar-plugin] branch master updated (1ffdfba -> 055bbda)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/maven-rar-plugin.git. from 1ffdfba [MRAR-77] - Rename some properties get in line with other maven properties add 055bbda [MRAR-79] - Upgrade maven-plugins parent to version 32 No new revisions were added by this update. Summary of changes: pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
[maven-rar-plugin] branch MRAR-79 deleted (was 055bbda)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch MRAR-79 in repository https://gitbox.apache.org/repos/asf/maven-rar-plugin.git. was 055bbda [MRAR-79] - Upgrade maven-plugins parent to version 32 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
[maven-jar-plugin] branch MJAR-255 created (now df53aa0)
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch MJAR-255 in repository https://gitbox.apache.org/repos/asf/maven-jar-plugin.git. at df53aa0 [MJAR-255] - Upgrade maven-plugins parent to version 32 This branch includes the following new commits: new df53aa0 [MJAR-255] - Upgrade maven-plugins parent to version 32 The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[maven-jar-plugin] 01/01: [MJAR-255] - Upgrade maven-plugins parent to version 32
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MJAR-255 in repository https://gitbox.apache.org/repos/asf/maven-jar-plugin.git commit df53aa043e705917e2dd9b421f3483f5bba5e539 Author: Karl Heinz Marbaise AuthorDate: Sun Jul 29 00:06:00 2018 +0200 [MJAR-255] - Upgrade maven-plugins parent to version 32 --- pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f24d217..f86a1ea 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ maven-plugins org.apache.maven.plugins -31 +32 ../../pom/maven/maven-plugins/pom.xml @@ -78,7 +78,6 @@ 3.2.0 3.0 7 -2.21.0
[maven-jar-plugin] branch MJAR-255 updated: fixup! [MJAR-255] - Upgrade maven-plugins parent to version 32
This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch MJAR-255 in repository https://gitbox.apache.org/repos/asf/maven-jar-plugin.git The following commit(s) were added to refs/heads/MJAR-255 by this push: new 2dbbf06 fixup! [MJAR-255] - Upgrade maven-plugins parent to version 32 2dbbf06 is described below commit 2dbbf0620c6e8dbe7e4bf4142ce48791832b61ff Author: Karl Heinz Marbaise AuthorDate: Sun Jul 29 00:21:37 2018 +0200 fixup! [MJAR-255] - Upgrade maven-plugins parent to version 32 --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index f86a1ea..039577a 100644 --- a/pom.xml +++ b/pom.xml @@ -181,6 +181,8 @@ clean package + true + true