You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by clement escoffier <cl...@gmail.com> on 2008/10/13 20:09:54 UTC

Issue during the release process

Hi,

I'm preparing a new release of iPOJO, but it seems that Maven doesn't like
my release :-)
During the commit phase, svn failed with:
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: Commit failed (details follow):
svn: MKACTIVITY of
'/repos/asf/!svn/act/d02ec825-cf17-47f7-a88e-04699956f6f9': authorization
failed (https://svn.apache.org)

Does somebody know how to turn around this issue?

Thanks,

Clement

PS: Here is the complete trace of the execution and the release.properties
file
clement-mac-2:~/WORKSPACES/felix-trunk/ipojo/metadata $ mvn -Prelease
-Darguments="-Prelease
-DaltDeploymentRepository=local::default::file:///tmp"
-DaltDeploymentRepository=local::default::file:///tmp release:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Felix iPOJO Metadata
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory:
/Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "Apache Felix iPOJO Metadata"?
(org.apache.felix:org.apache.felix.ipojo.metadata) 0.9.0: : 1.0.0
What is SCM release tag or label for "Apache Felix iPOJO Metadata"?
(org.apache.felix:org.apache.felix.ipojo.metadata)
org.apache.felix.ipojo.metadata-1.0.0: :
What is the new development version for "Apache Felix iPOJO Metadata"?
(org.apache.felix:org.apache.felix.ipojo.metadata) 0.9.1-SNAPSHOT: :
1.1.0-SNAPSHOT
[INFO] Transforming 'Apache Felix iPOJO Metadata'...
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[INFO] Executing: mvn clean verify --no-plugin-updates -Prelease
-DaltDeploymentRepository=local::default::file:///tmp
[INFO] Scanning for projects...
        [INFO]
------------------------------------------------------------------------
        [INFO] Building Apache Felix iPOJO Metadata
        [INFO]    task-segment: [clean, verify]
        [INFO]
------------------------------------------------------------------------
        [INFO] [clean:clean]
        [INFO] [resources:resources]
        [INFO] Using default encoding to copy filtered resources.
        [INFO] [compiler:compile]
        [INFO] Compiling 2 source files to
/Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/classes
        [INFO] [resources:testResources]
        [INFO] Using default encoding to copy filtered resources.
        [INFO] [compiler:testCompile]
        [INFO] No sources to compile
        [INFO] [surefire:test]
        [INFO] No tests to run.
        [INFO] [bundle:bundle]
        [WARNING] Include-Resource: overriding
META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE with
META-INF/LICENCE=LICENSE,                            META-INF/NOTICE=NOTICE
(add {maven-resources} if you want to include the maven resources)
        [INFO] [assembly:attached {execution: make-assembly}]
        [INFO] Building tar :
/Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-bin.tar.gz
        [INFO] Building tar :
/Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-bin.tar.bz2
        [INFO] Building zip:
/Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-bin.zip
        [INFO] Building tar :
/Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-project.tar.gz
        [INFO] Building tar :
/Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-project.tar.bz2
        [INFO] Building zip:
/Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-project.zip
        [INFO] [gpg:sign {execution: sign-artifacts}]
        GPG Passphrase: **********

[INFO]
------------------------------------------------------------------------
        [INFO] BUILD SUCCESSFUL
        [INFO]
------------------------------------------------------------------------
        [INFO] Total time: 13 seconds
        [INFO] Finished at: Mon Oct 13 19:51:31 CEST 2008
        [INFO] Final Memory: 27M/63M
        [INFO]
------------------------------------------------------------------------
        [INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file
/tmp/maven-scm-1989908437.commit --targets /tmp/maven-scm-60238-targets
[INFO] Working directory:
/Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: Commit failed (details follow):
svn: MKACTIVITY of
'/repos/asf/!svn/act/d02ec825-cf17-47f7-a88e-04699956f6f9': authorization
failed (https://svn.apache.org)

#release configuration
#Mon Oct 13 19:51:31 CEST 2008
scm.tag=org.apache.felix.ipojo.metadata-1.0.0
project.scm.org.apache.felix\:org.apache.felix.ipojo.metadata.empty=true
scm.url=scm\:svn\:https\://
svn.apache.org/repos/asf/felix/releases/felix-1.2.0/org.apache.felix.ipojo
preparationGoals=clean verify
scm.commentPrefix=[maven-release-plugin]
scm.tagBase=https\://svn.apache.org/repos/asf/felix/releases
project.rel.org.apache.felix\:org.apache.felix.ipojo.metadata=1.0.0
project.dev.org.apache.felix\:org.apache.felix.ipojo.metadata=1.1.0-SNAPSHOT
exec.additionalArguments=-Prelease
-DaltDeploymentRepository\=local\:\:default\:\:file\:///tmp
completedPhase=run-preparation-goals

Re: Issue during the release process

Posted by clement escoffier <cl...@gmail.com>.
Hello,

2008/10/14 Stuart McCulloch <mc...@gmail.com>

> 2008/10/14 clement escoffier <cl...@gmail.com>
>
> > Hi,
> >
> > I'm preparing a new release of iPOJO, but it seems that Maven doesn't
> like
> > my release :-)
> > During the commit phase, svn failed with:
> > [INFO] Unable to commit files
> > Provider message:
> > The svn command failed.
> > Command output:
> > svn: Commit failed (details follow):
> > svn: MKACTIVITY of
> > '/repos/asf/!svn/act/d02ec825-cf17-47f7-a88e-04699956f6f9': authorization
> > failed (https://svn.apache.org)
> >
> > Does somebody know how to turn around this issue?
> >
>
> could be one of these:
>
>  http://jira.codehaus.org/browse/HAUS-1703
>  http://jira.codehaus.org/browse/MRELEASE-355



Yes, it's the second one. I was able to turn around by removing the some
arguments of the svn command (
http://blogs.exist.com/bporter/2008/02/25/working-around-non-interactive-problems-in-leopards-subversion/).


For another strange reason I was not able to create the tagged version:
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: File
'/repos/asf/felix/releases/org.apache.felix.ipojo.metadata-1.0.0/doc/changelog.txt'
already exists

This is strange as the tag does not exist, and the commit of the pom file in
the trunk has worked. But as the Mac svn command seems buggy, I'll try on
Windows.

Thanks for your help.

Clement



>
>
> Thanks,
> >
> > Clement
> >
> > PS: Here is the complete trace of the execution and the
> release.properties
> > file
> > clement-mac-2:~/WORKSPACES/felix-trunk/ipojo/metadata $ mvn -Prelease
> > -Darguments="-Prelease
> > -DaltDeploymentRepository=local::default::file:///tmp"
> > -DaltDeploymentRepository=local::default::file:///tmp release:prepare
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'release'.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Apache Felix iPOJO Metadata
> > [INFO]    task-segment: [release:prepare] (aggregator-style)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [release:prepare]
> > [INFO] Verifying that there are no local modifications...
> > [INFO] Executing: svn --non-interactive status
> > [INFO] Working directory:
> > /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata
> > [INFO] Checking dependencies and plugins for snapshots ...
> > What is the release version for "Apache Felix iPOJO Metadata"?
> > (org.apache.felix:org.apache.felix.ipojo.metadata) 0.9.0: : 1.0.0
> > What is SCM release tag or label for "Apache Felix iPOJO Metadata"?
> > (org.apache.felix:org.apache.felix.ipojo.metadata)
> > org.apache.felix.ipojo.metadata-1.0.0: :
> > What is the new development version for "Apache Felix iPOJO Metadata"?
> > (org.apache.felix:org.apache.felix.ipojo.metadata) 0.9.1-SNAPSHOT: :
> > 1.1.0-SNAPSHOT
> > [INFO] Transforming 'Apache Felix iPOJO Metadata'...
> > [INFO] Not generating release POMs
> > [INFO] Executing goals 'clean verify'...
> > [INFO] Executing: mvn clean verify --no-plugin-updates -Prelease
> > -DaltDeploymentRepository=local::default::file:///tmp
> > [INFO] Scanning for projects...
> >        [INFO]
> > ------------------------------------------------------------------------
> >        [INFO] Building Apache Felix iPOJO Metadata
> >        [INFO]    task-segment: [clean, verify]
> >        [INFO]
> > ------------------------------------------------------------------------
> >        [INFO] [clean:clean]
> >        [INFO] [resources:resources]
> >        [INFO] Using default encoding to copy filtered resources.
> >        [INFO] [compiler:compile]
> >        [INFO] Compiling 2 source files to
> >
> >
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/classes
> >        [INFO] [resources:testResources]
> >        [INFO] Using default encoding to copy filtered resources.
> >        [INFO] [compiler:testCompile]
> >        [INFO] No sources to compile
> >        [INFO] [surefire:test]
> >        [INFO] No tests to run.
> >        [INFO] [bundle:bundle]
> >        [WARNING] Include-Resource: overriding
> > META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE with
> > META-INF/LICENCE=LICENSE,
>  META-INF/NOTICE=NOTICE
> > (add {maven-resources} if you want to include the maven resources)
> >        [INFO] [assembly:attached {execution: make-assembly}]
> >        [INFO] Building tar :
> >
> >
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-bin.tar.gz
> >        [INFO] Building tar :
> >
> >
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-bin.tar.bz2
> >        [INFO] Building zip:
> >
> >
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-bin.zip
> >        [INFO] Building tar :
> >
> >
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-project.tar.gz
> >        [INFO] Building tar :
> >
> >
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-project.tar.bz2
> >        [INFO] Building zip:
> >
> >
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-project.zip
> >        [INFO] [gpg:sign {execution: sign-artifacts}]
> >        GPG Passphrase: **********
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >        [INFO] BUILD SUCCESSFUL
> >        [INFO]
> > ------------------------------------------------------------------------
> >        [INFO] Total time: 13 seconds
> >        [INFO] Finished at: Mon Oct 13 19:51:31 CEST 2008
> >        [INFO] Final Memory: 27M/63M
> >        [INFO]
> > ------------------------------------------------------------------------
> >        [INFO] Checking in modified POMs...
> > [INFO] Executing: svn --non-interactive commit --file
> > /tmp/maven-scm-1989908437.commit --targets /tmp/maven-scm-60238-targets
> > [INFO] Working directory:
> > /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Unable to commit files
> > Provider message:
> > The svn command failed.
> > Command output:
> > svn: Commit failed (details follow):
> > svn: MKACTIVITY of
> > '/repos/asf/!svn/act/d02ec825-cf17-47f7-a88e-04699956f6f9': authorization
> > failed (https://svn.apache.org)
> >
> > #release configuration
> > #Mon Oct 13 19:51:31 CEST 2008
> > scm.tag=org.apache.felix.ipojo.metadata-1.0.0
> > project.scm.org.apache.felix\:org.apache.felix.ipojo.metadata.empty=true
> > scm.url=scm\:svn\:https\://
> >
> svn.apache.org/repos/asf/felix/releases/felix-1.2.0/org.apache.felix.ipojo
> > preparationGoals=clean<
> http://svn.apache.org/repos/asf/felix/releases/felix-1.2.0/org.apache.felix.ipojopreparationGoals=clean
> >verify
> > scm.commentPrefix=[maven-release-plugin]
> > scm.tagBase=https\://svn.apache.org/repos/asf/felix/releases
> > project.rel.org.apache.felix\:org.apache.felix.ipojo.metadata=1.0.0
> >
> >
> project.dev.org.apache.felix\:org.apache.felix.ipojo.metadata=1.1.0-SNAPSHOT
> > exec.additionalArguments=-Prelease
> > -DaltDeploymentRepository\=local\:\:default\:\:file\:///tmp
> > completedPhase=run-preparation-goals
> >
>
>
>
> --
> Cheers, Stuart
>

Re: Issue during the release process

Posted by Stuart McCulloch <mc...@gmail.com>.
2008/10/14 clement escoffier <cl...@gmail.com>

> Hi,
>
> I'm preparing a new release of iPOJO, but it seems that Maven doesn't like
> my release :-)
> During the commit phase, svn failed with:
> [INFO] Unable to commit files
> Provider message:
> The svn command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: MKACTIVITY of
> '/repos/asf/!svn/act/d02ec825-cf17-47f7-a88e-04699956f6f9': authorization
> failed (https://svn.apache.org)
>
> Does somebody know how to turn around this issue?
>

could be one of these:

  http://jira.codehaus.org/browse/HAUS-1703
  http://jira.codehaus.org/browse/MRELEASE-355

Thanks,
>
> Clement
>
> PS: Here is the complete trace of the execution and the release.properties
> file
> clement-mac-2:~/WORKSPACES/felix-trunk/ipojo/metadata $ mvn -Prelease
> -Darguments="-Prelease
> -DaltDeploymentRepository=local::default::file:///tmp"
> -DaltDeploymentRepository=local::default::file:///tmp release:prepare
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'release'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Felix iPOJO Metadata
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: svn --non-interactive status
> [INFO] Working directory:
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "Apache Felix iPOJO Metadata"?
> (org.apache.felix:org.apache.felix.ipojo.metadata) 0.9.0: : 1.0.0
> What is SCM release tag or label for "Apache Felix iPOJO Metadata"?
> (org.apache.felix:org.apache.felix.ipojo.metadata)
> org.apache.felix.ipojo.metadata-1.0.0: :
> What is the new development version for "Apache Felix iPOJO Metadata"?
> (org.apache.felix:org.apache.felix.ipojo.metadata) 0.9.1-SNAPSHOT: :
> 1.1.0-SNAPSHOT
> [INFO] Transforming 'Apache Felix iPOJO Metadata'...
> [INFO] Not generating release POMs
> [INFO] Executing goals 'clean verify'...
> [INFO] Executing: mvn clean verify --no-plugin-updates -Prelease
> -DaltDeploymentRepository=local::default::file:///tmp
> [INFO] Scanning for projects...
>        [INFO]
> ------------------------------------------------------------------------
>        [INFO] Building Apache Felix iPOJO Metadata
>        [INFO]    task-segment: [clean, verify]
>        [INFO]
> ------------------------------------------------------------------------
>        [INFO] [clean:clean]
>        [INFO] [resources:resources]
>        [INFO] Using default encoding to copy filtered resources.
>        [INFO] [compiler:compile]
>        [INFO] Compiling 2 source files to
>
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/classes
>        [INFO] [resources:testResources]
>        [INFO] Using default encoding to copy filtered resources.
>        [INFO] [compiler:testCompile]
>        [INFO] No sources to compile
>        [INFO] [surefire:test]
>        [INFO] No tests to run.
>        [INFO] [bundle:bundle]
>        [WARNING] Include-Resource: overriding
> META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE with
> META-INF/LICENCE=LICENSE,                            META-INF/NOTICE=NOTICE
> (add {maven-resources} if you want to include the maven resources)
>        [INFO] [assembly:attached {execution: make-assembly}]
>        [INFO] Building tar :
>
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-bin.tar.gz
>        [INFO] Building tar :
>
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-bin.tar.bz2
>        [INFO] Building zip:
>
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-bin.zip
>        [INFO] Building tar :
>
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-project.tar.gz
>        [INFO] Building tar :
>
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-project.tar.bz2
>        [INFO] Building zip:
>
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata/target/org.apache.felix.ipojo.metadata-1.0.0-project.zip
>        [INFO] [gpg:sign {execution: sign-artifacts}]
>        GPG Passphrase: **********
>
> [INFO]
> ------------------------------------------------------------------------
>        [INFO] BUILD SUCCESSFUL
>        [INFO]
> ------------------------------------------------------------------------
>        [INFO] Total time: 13 seconds
>        [INFO] Finished at: Mon Oct 13 19:51:31 CEST 2008
>        [INFO] Final Memory: 27M/63M
>        [INFO]
> ------------------------------------------------------------------------
>        [INFO] Checking in modified POMs...
> [INFO] Executing: svn --non-interactive commit --file
> /tmp/maven-scm-1989908437.commit --targets /tmp/maven-scm-60238-targets
> [INFO] Working directory:
> /Users/clement/Documents/workspaces/felix-trunk/ipojo/metadata
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to commit files
> Provider message:
> The svn command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: MKACTIVITY of
> '/repos/asf/!svn/act/d02ec825-cf17-47f7-a88e-04699956f6f9': authorization
> failed (https://svn.apache.org)
>
> #release configuration
> #Mon Oct 13 19:51:31 CEST 2008
> scm.tag=org.apache.felix.ipojo.metadata-1.0.0
> project.scm.org.apache.felix\:org.apache.felix.ipojo.metadata.empty=true
> scm.url=scm\:svn\:https\://
> svn.apache.org/repos/asf/felix/releases/felix-1.2.0/org.apache.felix.ipojo
> preparationGoals=clean<http://svn.apache.org/repos/asf/felix/releases/felix-1.2.0/org.apache.felix.ipojopreparationGoals=clean>verify
> scm.commentPrefix=[maven-release-plugin]
> scm.tagBase=https\://svn.apache.org/repos/asf/felix/releases
> project.rel.org.apache.felix\:org.apache.felix.ipojo.metadata=1.0.0
>
> project.dev.org.apache.felix\:org.apache.felix.ipojo.metadata=1.1.0-SNAPSHOT
> exec.additionalArguments=-Prelease
> -DaltDeploymentRepository\=local\:\:default\:\:file\:///tmp
> completedPhase=run-preparation-goals
>



-- 
Cheers, Stuart