Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package moditect for openSUSE:Factory checked in at 2024-01-12 23:46:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/moditect (Old) and /work/SRC/openSUSE:Factory/.moditect.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "moditect" Fri Jan 12 23:46:19 2024 rev:2 rq:1138303 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/moditect/moditect.changes 2023-12-03 20:50:04.772566813 +0100 +++ /work/SRC/openSUSE:Factory/.moditect.new.21961/moditect.changes 2024-01-12 23:46:41.297368219 +0100 @@ -1,0 +2,33 @@ +Sat Dec 23 12:32:10 UTC 2023 - Anton Shvetz <shvetz.an...@gmail.com> + +- Update to v1.1.0 + * Changelog + = Tasks + ~ 798baa0 Releasing version 1.1.0 + ~ a5640b5 Releasing version + = Issues + ~ b0ea885 #217 Configure JReleaser for deployments to Maven + Central + ~ 736e8a5 #203 Adding version to release commit message + ~ 0f2e59d #190 Don't fail build on already modular JARs + ~ 3e2b18e #185 Add outputTimestamp property for reproducible + builds + = Dependencies + ~ d84c377 Bump jreleaser to 1.8.0 + ~ 238bdb7 Bump asm to 9.5 + ~~~ + ~ f3e629b set last access and create times + ~ defcb8a Update release version in README + ~ 322508f Fix integration test settings in undertow module + ~ db9010a Reset reproducible timestamp expression + ~ 2ef77d9 Next version 1.1.0-SNAPSHOT + ~ 36eb1ac Simplify release workflow + ~ 0c22f34 Push release to a branch due to branch protection + rules + ~ 7432c99 Apply formatting rules from ModiTect parent + ~ 712c529 Update parent pom to make build reproducible + ~ 8a29a60 Make AddModuleInfoMojo.jvmVersion non-readonly + ~ a1bd562 Update readme with latest release + ~ 5e4f1cc Next version 1.0.0-SNAPSHOT + +------------------------------------------------------------------- Old: ---- moditect-1.0.0.Final.tar.gz New: ---- moditect-1.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ moditect.spec ++++++ --- /var/tmp/diff_new_pack.cX8pUD/_old 2024-01-12 23:46:42.685419022 +0100 +++ /var/tmp/diff_new_pack.cX8pUD/_new 2024-01-12 23:46:42.701419608 +0100 @@ -17,7 +17,7 @@ Name: moditect -Version: 1.0.0.Final +Version: 1.1.0 Release: 0 Summary: Tooling for the Java Module System License: Apache-2.0 @@ -28,7 +28,6 @@ BuildRequires: mvn(com.github.javaparser:javaparser-core) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) -Obsoletes: %{name} = 1.0.0.RC3 BuildArch: noarch %description ++++++ moditect-1.0.0.Final.tar.gz -> moditect-1.1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/.github/workflows/release.yml new/moditect-1.1.0/.github/workflows/release.yml --- old/moditect-1.0.0.Final/.github/workflows/release.yml 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/.github/workflows/release.yml 2023-11-05 16:58:19.000000000 +0100 @@ -66,7 +66,7 @@ ./mvnw -ntp -B versions:set versions:commit -DnewVersion=$RELEASE_VERSION -pl :moditect-parent git config --global user.email "moditect-release-...@moditect.org" git config --global user.name "moditect-release-bot" - git commit -a -m "Releasing version $VERSION" + git commit -a -m "Releasing version $RELEASE_VERSION" git push origin $BRANCH echo "BRANCH=$BRANCH" >> $GITHUB_ENV echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV @@ -82,14 +82,14 @@ export GPG_TTY=$(tty) ./mvnw -ntp -B --file pom.xml \ -Drepository.url=https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git \ - -Dmaven.site.skip=true -Drelease=true deploy + -Dmaven.site.skip=true -Ppublication,stage - name: Release to GitHub env: JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} JRELEASER_BRANCH: ${{ env.BRANCH }} run: | - ./mvnw -B --file pom.xml -pl :moditect-parent -Pjreleaser jreleaser:release + ./mvnw -ntp -B --file pom.xml -pl :moditect-parent -Pjreleaser jreleaser:release - name: JReleaser output if: always() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/README.md new/moditect-1.1.0/README.md --- old/moditect-1.0.0.Final/README.md 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/README.md 2023-11-05 16:58:19.000000000 +0100 @@ -1,6 +1,6 @@ # ModiTect - Tooling for the Java Module System -Version 1.0.0.RC3 - 2023-03-07 +Version 1.0.0.Final - 2023-05-03 The ModiTect project aims at providing productivity tools for working with the Java module system ("Jigsaw"). @@ -51,7 +51,7 @@ <plugin> <groupId>org.moditect</groupId> <artifactId>moditect-maven-plugin</artifactId> - <version>1.0.0.RC3</version> + <version>1.0.0.Final</version> <executions> <execution> <id>generate-module-info</id> @@ -201,7 +201,7 @@ <plugin> <groupId>org.moditect</groupId> <artifactId>moditect-maven-plugin</artifactId> - <version>1.0.0.RC3</version> + <version>1.0.0.Final</version> <executions> <execution> <id>add-module-infos</id> @@ -279,7 +279,7 @@ <plugin> <groupId>org.moditect</groupId> <artifactId>moditect-maven-plugin</artifactId> - <version>1.0.0.RC3</version> + <version>1.0.0.Final</version> <executions> <execution> <id>add-module-infos</id> @@ -348,7 +348,7 @@ <plugin> <groupId>org.moditect</groupId> <artifactId>moditect-maven-plugin</artifactId> - <version>1.0.0.RC3</version> + <version>1.0.0.Final</version> <executions> <execution> <id>create-runtime-image</id> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/core/pom.xml new/moditect-1.1.0/core/pom.xml --- old/moditect-1.0.0.Final/core/pom.xml 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/core/pom.xml 2023-11-05 16:58:19.000000000 +0100 @@ -22,13 +22,15 @@ <parent> <groupId>org.moditect</groupId> <artifactId>moditect-parent</artifactId> - <version>1.0.0.Final</version> + <version>1.1.0</version> <relativePath>../parent/pom.xml</relativePath> </parent> <artifactId>moditect</artifactId> <packaging>jar</packaging> <name>ModiTect</name> + <url>https://github.com/moditect/moditect</url> + <description>Module system tooling</description> <dependencies> <dependency> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/core/src/main/java/org/moditect/commands/AddModuleInfo.java new/moditect-1.1.0/core/src/main/java/org/moditect/commands/AddModuleInfo.java --- old/moditect-1.0.0.Final/core/src/main/java/org/moditect/commands/AddModuleInfo.java 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/core/src/main/java/org/moditect/commands/AddModuleInfo.java 2023-11-05 16:58:19.000000000 +0100 @@ -24,6 +24,7 @@ import java.nio.file.Path; import java.nio.file.StandardCopyOption; import java.nio.file.StandardOpenOption; +import java.nio.file.attribute.BasicFileAttributeView; import java.nio.file.attribute.FileTime; import java.time.Instant; import java.util.HashMap; @@ -119,7 +120,7 @@ StandardOpenOption.CREATE, StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING); - Files.setLastModifiedTime(path, toFileTime(timestamp)); + setTimes(path, toFileTime(timestamp)); } else { Path path = zipfs.getPath("META-INF/versions", jvmVersion.toString(), "module-info.class"); @@ -130,11 +131,11 @@ StandardOpenOption.TRUNCATE_EXISTING); FileTime lastModifiedTime = toFileTime(timestamp); // module-info.class - Files.setLastModifiedTime(path, lastModifiedTime); + setTimes(path, lastModifiedTime); // jvmVersion - Files.setLastModifiedTime(path.getParent(), lastModifiedTime); + setTimes(path.getParent(), lastModifiedTime); // versions - Files.setLastModifiedTime(path.getParent().getParent(), lastModifiedTime); + setTimes(path.getParent().getParent(), lastModifiedTime); Path manifestPath = zipfs.getPath("META-INF/MANIFEST.MF"); Manifest manifest; @@ -150,7 +151,7 @@ try (OutputStream manifestOs = Files.newOutputStream(manifestPath, StandardOpenOption.TRUNCATE_EXISTING)) { manifest.write(manifestOs); } - Files.setLastModifiedTime(manifestPath, lastModifiedTime); + setTimes(manifestPath, lastModifiedTime); } } catch (IOException e) { @@ -161,4 +162,8 @@ private FileTime toFileTime(Instant timestamp) { return FileTime.from(timestamp != null ? timestamp : Instant.now()); } + + private void setTimes(Path path, FileTime time) throws IOException { + Files.getFileAttributeView(path, BasicFileAttributeView.class).setTimes(time, time, time); + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/integrationtest/hibernate-validator/pom.xml new/moditect-1.1.0/integrationtest/hibernate-validator/pom.xml --- old/moditect-1.0.0.Final/integrationtest/hibernate-validator/pom.xml 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/integrationtest/hibernate-validator/pom.xml 2023-11-05 16:58:19.000000000 +0100 @@ -21,7 +21,7 @@ <parent> <groupId>org.moditect</groupId> <artifactId>moditect-integrationtest-parent</artifactId> - <version>1.0.0.Final</version> + <version>1.1.0</version> <relativePath>../pom.xml</relativePath> </parent> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/integrationtest/pom.xml new/moditect-1.1.0/integrationtest/pom.xml --- old/moditect-1.0.0.Final/integrationtest/pom.xml 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/integrationtest/pom.xml 2023-11-05 16:58:19.000000000 +0100 @@ -21,7 +21,7 @@ <parent> <groupId>org.moditect</groupId> <artifactId>moditect-parent</artifactId> - <version>1.0.0.Final</version> + <version>1.1.0</version> <relativePath>../parent/pom.xml</relativePath> </parent> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/integrationtest/undertow/pom.xml new/moditect-1.1.0/integrationtest/undertow/pom.xml --- old/moditect-1.0.0.Final/integrationtest/undertow/pom.xml 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/integrationtest/undertow/pom.xml 2023-11-05 16:58:19.000000000 +0100 @@ -21,7 +21,7 @@ <parent> <groupId>org.moditect</groupId> <artifactId>moditect-integrationtest-parent</artifactId> - <version>1.0.0.Final</version> + <version>1.1.0</version> <relativePath>../pom.xml</relativePath> </parent> @@ -84,7 +84,7 @@ <plugin> <groupId>${project.groupId}</groupId> <artifactId>moditect-maven-plugin</artifactId> - <version>1.0.0-SNAPSHOT</version> + <version>${project.version}</version> <executions> <execution> <id>create-runtime-image</id> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/integrationtest/vert.x/pom.xml new/moditect-1.1.0/integrationtest/vert.x/pom.xml --- old/moditect-1.0.0.Final/integrationtest/vert.x/pom.xml 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/integrationtest/vert.x/pom.xml 2023-11-05 16:58:19.000000000 +0100 @@ -21,7 +21,7 @@ <parent> <groupId>org.moditect</groupId> <artifactId>moditect-integrationtest-parent</artifactId> - <version>1.0.0.Final</version> + <version>1.1.0</version> <relativePath>../pom.xml</relativePath> </parent> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/maven-plugin/pom.xml new/moditect-1.1.0/maven-plugin/pom.xml --- old/moditect-1.0.0.Final/maven-plugin/pom.xml 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/maven-plugin/pom.xml 2023-11-05 16:58:19.000000000 +0100 @@ -21,13 +21,15 @@ <parent> <groupId>org.moditect</groupId> <artifactId>moditect-parent</artifactId> - <version>1.0.0.Final</version> + <version>1.1.0</version> <relativePath>../parent/pom.xml</relativePath> </parent> <artifactId>moditect-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <name>ModiTect Maven Plug-In</name> + <url>https://github.com/moditect/moditect</url> + <description>ModiTect Maven Plug-In</description> <dependencyManagement> <dependencies> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/parent/pom.xml new/moditect-1.1.0/parent/pom.xml --- old/moditect-1.0.0.Final/parent/pom.xml 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/parent/pom.xml 2023-11-05 16:58:19.000000000 +0100 @@ -29,7 +29,7 @@ </parent> <artifactId>moditect-parent</artifactId> - <version>1.0.0.Final</version> + <version>1.1.0</version> <packaging>pom</packaging> <name>ModiTect Parent</name> @@ -47,7 +47,7 @@ <maven.compiler.target>${java.version}</maven.compiler.target> <version.surefire.plugin>3.0.0-M4</version.surefire.plugin> <!-- value comes from property git.commit.author.time --> - <project.build.outputTimestamp>2023-05-03T07:13:02Z</project.build.outputTimestamp> + <project.build.outputTimestamp>2023-11-05T15:58:06Z</project.build.outputTimestamp> </properties> <scm> @@ -98,7 +98,7 @@ <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> - <version>9.4</version> + <version>9.5</version> </dependency> <dependency> <groupId>org.assertj</groupId> @@ -172,13 +172,22 @@ <profiles> <profile> + <id>stage</id> + <properties> + <altDeploymentRepository>local::file:${rootdir}/target/staging-deploy</altDeploymentRepository> + </properties> + <build> + <defaultGoal>deploy</defaultGoal> + </build> + </profile> + <profile> <id>jreleaser</id> <build> <plugins> <plugin> <groupId>org.jreleaser</groupId> <artifactId>jreleaser-maven-plugin</artifactId> - <version>1.6.0</version> + <version>1.8.0</version> <inherited>false</inherited> <configuration> <gitRootSearch>true</gitRootSearch> @@ -190,6 +199,24 @@ <documentation>https://github.com/moditect/moditect</documentation> </links> </project> + <signing> + <active>ALWAYS</active> + <armored>true</armored> + </signing> + <deploy> + <maven> + <nexus2> + <maven-central> + <active>ALWAYS</active> + <url>https://oss.sonatype.org/service/local</url> + <snapshotUrl>https://oss.sonatype.org/content/repositories/snapshots/</snapshotUrl> + <closeRepository>true</closeRepository> + <releaseRepository>true</releaseRepository> + <stagingRepositories>target/staging-deploy</stagingRepositories> + </maven-central> + </nexus2> + </maven> + </deploy> <release> <github> <tagName>{{projectVersion}}</tagName> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/moditect-1.0.0.Final/pom.xml new/moditect-1.1.0/pom.xml --- old/moditect-1.0.0.Final/pom.xml 2023-05-03 09:13:02.000000000 +0200 +++ new/moditect-1.1.0/pom.xml 2023-11-05 16:58:19.000000000 +0100 @@ -27,7 +27,7 @@ <parent> <groupId>org.moditect</groupId> <artifactId>moditect-parent</artifactId> - <version>1.0.0.Final</version> + <version>1.1.0</version> <relativePath>parent/pom.xml</relativePath> </parent>