You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Cris Rockwell <cm...@umich.edu> on 2021/04/09 14:04:56 UTC
Stage Release Apache Sling JUnit Core 1.1.2 and voting
Hi,
We solved 4 issues for sling-org-apache-sling-junit-core 1.1.2 [0]
[0] https://issues.apache.org/jira/projects/SLING/versions/12349294 <https://issues.apache.org/jira/projects/SLING/versions/12349294>
This version solves several issues
* Junit Core ITs fail with jdk11 (SLING-9980)
* NoClassDefFoundError org/junit/platform/engine/TestEngine (SLING-9935)
* Remove deprecated flags for SlingAnnotationsTestRunner and TestReference (SLING-9915)
* Update to Sling Bundle Parent 40 (SLING-9835)
So I am eager to incorporate version 1.1.2 into other projects.
——
At this time, it seems reasonable to prepare the release.
I have requested access to prepare releases in the dev mail in past emails [0][1]
even though the issue descried in [1] remains
the past discussion in [0] suggested it’s not needed after all.
So I have started with steps to stage the release candidate [3]
Steps 1 thru 4 worked. `mvn deploy` output is shown below
Uploading to apache.releases.https: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.junit.core/1.1.2/org.apache.sling.junit.core-1.1.2.jar
Uploaded to apache.releases.https: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.junit.core/1.1.2/org.apache.sling.junit.core-1.1.2.jar (575 kB at 149 kB/s)
Uploading to apache.releases.https: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.junit.core/1.1.2/org.apache.sling.junit.core-1.1.2.pom
Uploaded to apache.releases.https: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.junit.core/1.1.2/org.apache.sling.junit.core-1.1.2.pom (13 kB at 13 kB/s)
Uploading to apache.releases.https: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.junit.core/1.1.2/org.apache.sling.junit.core-1.1.2-sources.jar
Uploaded to apache.releases.https: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.junit.core/1.1.2/org.apache.sling.junit.core-1.1.2-sources.jar (79 kB at 97 kB/s)
Downloading from apache.releases.https: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.junit.core/maven-metadata.xml
Uploading to apache.releases.https: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.junit.core/maven-metadata.xml
Uploaded to apache.releases.https: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.junit.core/maven-metadata.xml (323 B at 305 B/s)
In step 5 `mvn release:perform` I had the following error using my apache credentials
$mvn release:prepare
...
[INFO] Working directory: /Users/cmrockwe/Documents/a3workspace/sling-org-apache-sling-junit-core
Username for 'https://gitbox.apache.org': cris
Password for 'https://cris@gitbox.apache.org':
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:38 min
[INFO] Finished at: 2021-04-09T09:01:26-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:3.0.0-M1:prepare (default-cli) on project org.apache.sling.junit.core: Unable to commit files
[ERROR] Provider message:
[ERROR] The git-push command failed.
[ERROR] Command output:
[ERROR] fatal: Authentication failed for 'https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-core.git/‘ <https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-core.git/%E2%80%98>
So it seems either I still don’t have credentials to do this, or I’m doing it wrong.
——
If as a committer I’m not actually allowed to stage releases, just let me know that.
If anyone has suggestion to help me stage this release, that would be much appreciated.
Thanks
Cris
[1] https://lists.apache.org/x/thread.html/r4a9365c1a2d17f7a95e5e5af85321b6cef982e75afda0672f91503e3@%3Cdev.sling.apache.org%3E <https://lists.apache.org/x/thread.html/r4a9365c1a2d17f7a95e5e5af85321b6cef982e75afda0672f91503e3@%3Cdev.sling.apache.org%3E>
[2] https://lists.apache.org/thread.html/rdeb5a040284bad42dc558695a17bd7b4369a79a52a8942dace6e0cc7%40%3Cdev.sling.apache.org%3E <https://lists.apache.org/thread.html/rdeb5a040284bad42dc558695a17bd7b4369a79a52a8942dace6e0cc7@%3Cdev.sling.apache.org%3E>
[3] https://sling.apache.org/documentation/development/release-management.html#staging-the-release-candidates <https://sling.apache.org/documentation/development/release-management.html#staging-the-release-candidates>
Re: Stage Release Apache Sling JUnit Core 1.1.2 and voting
Posted by Cris Rockwell <cm...@umich.edu>.
Hey Robert
Yes. Radu solved my credentials issue.
I was able to stage the release.
Thanks checking up on this.
Cris
On Mon, Apr 12, 2021, 6:33 AM Robert Munteanu <ro...@apache.org> wrote:
> Hi Cris,
>
> On Fri, 2021-04-09 at 10:04 -0400, Cris Rockwell wrote:
> > $mvn release:prepare
> > ...
> >
> > [INFO] Working directory:
> > /Users/cmrockwe/Documents/a3workspace/sling-org-apache-sling-junit-
> > core
> > Username for 'https://gitbox.apache.org': cris
> > Password for 'https://cris@gitbox.apache.org':
> > [INFO] --------------------------------------------------------------
> > ----------
> > [INFO] BUILD FAILURE
> > [INFO] --------------------------------------------------------------
> > ----------
> > [INFO] Total time: 02:38 min
> > [INFO] Finished at: 2021-04-09T09:01:26-04:00
> > [INFO] --------------------------------------------------------------
> > ----------
> > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-
> > release-plugin:3.0.0-M1:prepare (default-cli) on project
> > org.apache.sling.junit.core: Unable to commit files
> > [ERROR] Provider message:
> > [ERROR] The git-push command failed.
> > [ERROR] Command output:
> > [ERROR] fatal: Authentication failed for
> > '
> https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-core.git/
> ‘
> > <
> https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-core.git/%E2%80%98
> > >
> >
> >
> > So it seems either I still don’t have credentials to do this, or I’m
> > doing it wrong.
>
> Is this solved? I see you started a [VOTE] thread later on.
>
> Thanks,
> Robert
>
>
Re: Stage Release Apache Sling JUnit Core 1.1.2 and voting
Posted by Robert Munteanu <ro...@apache.org>.
Hi Cris,
On Fri, 2021-04-09 at 10:04 -0400, Cris Rockwell wrote:
> $mvn release:prepare
> ...
>
> [INFO] Working directory:
> /Users/cmrockwe/Documents/a3workspace/sling-org-apache-sling-junit-
> core
> Username for 'https://gitbox.apache.org': cris
> Password for 'https://cris@gitbox.apache.org':
> [INFO] --------------------------------------------------------------
> ----------
> [INFO] BUILD FAILURE
> [INFO] --------------------------------------------------------------
> ----------
> [INFO] Total time: 02:38 min
> [INFO] Finished at: 2021-04-09T09:01:26-04:00
> [INFO] --------------------------------------------------------------
> ----------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-
> release-plugin:3.0.0-M1:prepare (default-cli) on project
> org.apache.sling.junit.core: Unable to commit files
> [ERROR] Provider message:
> [ERROR] The git-push command failed.
> [ERROR] Command output:
> [ERROR] fatal: Authentication failed for
> 'https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-core.git/‘
> <https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-core.git/%E2%80%98
> >
>
>
> So it seems either I still don’t have credentials to do this, or I’m
> doing it wrong.
Is this solved? I see you started a [VOTE] thread later on.
Thanks,
Robert