You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bruno Dumant <bd...@businessobjects.com> on 2007/04/03 11:20:41 UTC
Release with perforce and multi-module: parent pom cannot be updated
Hi,
I have a problem with the release plugin when using it with perforce in
a multi-module environment. Everything works fine (including tagging the
release) until the "update pom" phase: the parent POM cannot be
modified (apparently, it is not checked out before trying to update it).
Environment:
* Windows 2003 server / Java 1.6
* Maven 2.0.6 (I had the problem with 2.0.4 as well)
* I tried using the 2.0-beta-5 release plugin with no
success
* Perforce Server version: P4D/LINUX24X86/2005.2/95346
(2006/04/10)
Please see the files attached: the parent and child poms (self
sufficient) and the command output.
Thanks for your help,
Bruno
RE: Release with perforce and multi-module: parent pom cannot be updated
Posted by Bruno Dumant <bd...@businessobjects.com>.
Yes the file is here, but it is read-only. At the start of the process, the file is in read-write mode (it is checked out, i.e., editable for perforce). The release-prepare version:
- modifies the file (to set the appropriate version),
- submits it (which makes it read-only)
When trying to modify it again, it fails.
When releasing simple projects, it works fine. I imagine that the pom file is checked out again in the simple project case, to make it read-write. But with multiple modules, it doesn't seem to be the case. A user specifically mentioned in another post that his SCM information was present in the parent and the child poms. It is not the case with me. Should I add SCM information everywhere?
The release plugin version is 2.0-beta-4.
Bruno
-----Original Message-----
From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
Sent: mardi 3 avril 2007 11:56
To: Maven Users List
Subject: Re: Release with perforce and multi-module: parent pom cannot be updated
With your logs, it seems to be there, because the prepare goal run 'mvn clean integration-test --no-plugin-updates' on it but the release plugin can't modify it, maybe it is read only.
What is your release plugin version?
Emmanuel
Bruno Dumant a écrit :
> Hi,
>
>
>
> I have a problem with the release plugin when using it with perforce in
> a multi-module environment. Everything works fine (including tagging the
> release) until the "update pom" phase: the parent POM cannot be
> modified (apparently, it is not checked out before trying to update it).
>
>
>
> Environment:
>
> * Windows 2003 server / Java 1.6
> * Maven 2.0.6 (I had the problem with 2.0.4 as well)
> o I tried using the 2.0-beta-5 release plugin with no success
> * Perforce Server version: P4D/LINUX24X86/2005.2/95346 (2006/04/10)
>
>
>
> Please see the files attached: the parent and child poms (self
> sufficient) and the command output.
>
>
>
> Thanks for your help,
>
>
>
> Bruno
>
>
> ------------------------------------------------------------------------
>
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT
> [INFO] Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0-SNAPSHOT
> [INFO] Searching repository for plugin with prefix: 'release'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT
> [INFO] task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTest) 1.0.0: : What is the release version for "Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTestApp) 1.0.0: : What is SCM release tag or label for "Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTest) MultiModuleTest-1.0.0: : What is the new development version for "Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTest) 1.0.1-SNAPSHOT: : What is the new development version for "Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTestApp) 1.0.1-SNAPSHOT: : [INFO] Transforming 'Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT'...
> [INFO] Transforming 'Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0-SNAPSHOT'...
> [INFO] Executing preparation goals 'clean integration-test'...
> [INFO] Executing: mvn clean integration-test --no-plugin-updates
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Unnamed - bdumant:MultiModuleTest:pom:1.0.0
> [INFO] Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - bdumant:MultiModuleTest:pom:1.0.0
> [INFO] task-segment: [clean, integration-test]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\target
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\target\classes
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\target\test-classes
> [INFO] [site:attach-descriptor]
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0
> [INFO] task-segment: [clean, integration-test]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\APP\target
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\APP\target\classes
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\APP\target\test-classes
> [INFO] [site:attach-descriptor]
> [INFO]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] ------------------------------------------------------------------------
> [INFO] Unnamed - bdumant:MultiModuleTest:pom:1.0.0 ........... SUCCESS [1.328s]
> [INFO] Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0 ........ SUCCESS [0.000s]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Tue Apr 03 11:04:53 CEST 2007
> [INFO] Final Memory: 3M/7M
> [INFO] ------------------------------------------------------------------------
> [INFO] Checking in modified POMs...
> [INFO] Tagging release with the label MultiModuleTest-1.0.0...
> [INFO] Transforming 'Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT'...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error writing POM: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error writing POM: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error writing POM: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
> at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:110)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> ... 16 more
> Caused by: org.apache.maven.plugins.release.ReleaseExecutionException: Error writing POM: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:518)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:463)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:175)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:102)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.execute(AbstractRewritePomsPhase.java:90)
> at org.apache.maven.plugins.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:139)
> at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:106)
> ... 18 more
> Caused by: java.io.FileNotFoundException: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
> at java.io.FileWriter.<init>(FileWriter.java:73)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:499)
> ... 24 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Tue Apr 03 11:04:59 CEST 2007
> [INFO] Final Memory: 4M/9M
> [INFO] ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
>
> <groupId>bdumant</groupId>
> <artifactId>MultiModuleTest</artifactId>
> <packaging>pom</packaging>
> <version>1.0.0</version>
>
> <modules>
> <module>APP</module>
> </modules>
>
> <scm>
> <connection>
> scm:perforce:perforceproxy2.product.businessobjects.com:1971://experiments/bdumant/MultiModuleTest
> </connection>
> <developerConnection>
> scm:perforce:perforceproxy2.product.businessobjects.com:1971://experiments/bdumant/MultiModuleTest
> </developerConnection>
> </scm>
>
> <repositories>
> <repository>
> <id>labs-repository</id>
> <name>Labs repository</name>
> <url>file:////pusan/m2-labs</url>
> </repository>
> <repository>
> <id>labs-snapshots-repository</id>
> <name>Labs snapshots repository</name>
> <url>file:////pusan/m2-labs-snapshots</url>
> </repository>
> </repositories>
>
> <distributionManagement>
> <!-- use the following if you're not using a snapshot version. -->
> <repository>
> <id>labs-repository</id>
> <name>Labs repository</name>
> <url>file:////pusan/m2-labs</url>
> </repository>
> <!-- use the following if you ARE using a snapshot version. -->
> <snapshotRepository>
> <id>labs-snapshots-repository</id>
> <name>Labs snapshots repository</name>
> <url>file:////pusan/m2-labs-snapshots</url>
> </snapshotRepository>
> </distributionManagement>
>
> <profiles>
> <profile>
> <id>apache</id>
> <repositories>
> <repository>
> <id>apache.org</id>
> <name>Maven Snapshots</name>
> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>apache.org</id>
> <name>Maven Plugin Snapshots</name>
> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </pluginRepository>
> </pluginRepositories>
> </profile>
> </profiles>
>
> </project>
>
>
> ------------------------------------------------------------------------
>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>bdumant</groupId>
> <artifactId>MultiModuleTestApp</artifactId>
> <packaging>pom</packaging>
> <version>1.0.0</version>
>
> <parent>
> <groupId>bdumant</groupId>
> <artifactId>MultiModuleTest</artifactId>
> <version>1.0.0</version>
> </parent>
> </project>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Release with perforce and multi-module: parent pom cannot be
updated
Posted by Emmanuel Venisse <em...@venisse.net>.
With your logs, it seems to be there, because the prepare goal run 'mvn clean integration-test --no-plugin-updates' on it but the release plugin can't modify it, maybe it is read only.
What is your release plugin version?
Emmanuel
Bruno Dumant a écrit :
> Hi,
>
>
>
> I have a problem with the release plugin when using it with perforce in
> a multi-module environment. Everything works fine (including tagging the
> release) until the “update pom” phase: the parent POM cannot be
> modified (apparently, it is not checked out before trying to update it).
>
>
>
> Environment:
>
> * Windows 2003 server / Java 1.6
> * Maven 2.0.6 (I had the problem with 2.0.4 as well)
> o I tried using the 2.0-beta-5 release plugin with no success
> * Perforce Server version: P4D/LINUX24X86/2005.2/95346 (2006/04/10)
>
>
>
> Please see the files attached: the parent and child poms (self
> sufficient) and the command output.
>
>
>
> Thanks for your help,
>
>
>
> Bruno
>
>
> ------------------------------------------------------------------------
>
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT
> [INFO] Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0-SNAPSHOT
> [INFO] Searching repository for plugin with prefix: 'release'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT
> [INFO] task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTest) 1.0.0: : What is the release version for "Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTestApp) 1.0.0: : What is SCM release tag or label for "Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTest) MultiModuleTest-1.0.0: : What is the new development version for "Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTest) 1.0.1-SNAPSHOT: : What is the new development version for "Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0-SNAPSHOT"? (bdumant:MultiModuleTestApp) 1.0.1-SNAPSHOT: : [INFO] Transforming 'Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT'...
> [INFO] Transforming 'Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0-SNAPSHOT'...
> [INFO] Executing preparation goals 'clean integration-test'...
> [INFO] Executing: mvn clean integration-test --no-plugin-updates
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Unnamed - bdumant:MultiModuleTest:pom:1.0.0
> [INFO] Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - bdumant:MultiModuleTest:pom:1.0.0
> [INFO] task-segment: [clean, integration-test]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\target
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\target\classes
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\target\test-classes
> [INFO] [site:attach-descriptor]
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0
> [INFO] task-segment: [clean, integration-test]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\APP\target
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\APP\target\classes
> [INFO] Deleting directory d:\dev\perforce\experiments\bdumant\MultiModuleTest\APP\target\test-classes
> [INFO] [site:attach-descriptor]
> [INFO]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] ------------------------------------------------------------------------
> [INFO] Unnamed - bdumant:MultiModuleTest:pom:1.0.0 ........... SUCCESS [1.328s]
> [INFO] Unnamed - bdumant:MultiModuleTestApp:pom:1.0.0 ........ SUCCESS [0.000s]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Tue Apr 03 11:04:53 CEST 2007
> [INFO] Final Memory: 3M/7M
> [INFO] ------------------------------------------------------------------------
> [INFO] Checking in modified POMs...
> [INFO] Tagging release with the label MultiModuleTest-1.0.0...
> [INFO] Transforming 'Unnamed - bdumant:MultiModuleTest:pom:1.0.0-SNAPSHOT'...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error writing POM: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error writing POM: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error writing POM: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
> at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:110)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> ... 16 more
> Caused by: org.apache.maven.plugins.release.ReleaseExecutionException: Error writing POM: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:518)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:463)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:175)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:102)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.execute(AbstractRewritePomsPhase.java:90)
> at org.apache.maven.plugins.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:139)
> at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:106)
> ... 18 more
> Caused by: java.io.FileNotFoundException: d:\dev\perforce\experiments\bdumant\MultiModuleTest\pom.xml (Access is denied)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
> at java.io.FileWriter.<init>(FileWriter.java:73)
> at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:499)
> ... 24 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Tue Apr 03 11:04:59 CEST 2007
> [INFO] Final Memory: 4M/9M
> [INFO] ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
>
> <groupId>bdumant</groupId>
> <artifactId>MultiModuleTest</artifactId>
> <packaging>pom</packaging>
> <version>1.0.0</version>
>
> <modules>
> <module>APP</module>
> </modules>
>
> <scm>
> <connection>
> scm:perforce:perforceproxy2.product.businessobjects.com:1971://experiments/bdumant/MultiModuleTest
> </connection>
> <developerConnection>
> scm:perforce:perforceproxy2.product.businessobjects.com:1971://experiments/bdumant/MultiModuleTest
> </developerConnection>
> </scm>
>
> <repositories>
> <repository>
> <id>labs-repository</id>
> <name>Labs repository</name>
> <url>file:////pusan/m2-labs</url>
> </repository>
> <repository>
> <id>labs-snapshots-repository</id>
> <name>Labs snapshots repository</name>
> <url>file:////pusan/m2-labs-snapshots</url>
> </repository>
> </repositories>
>
> <distributionManagement>
> <!-- use the following if you're not using a snapshot version. -->
> <repository>
> <id>labs-repository</id>
> <name>Labs repository</name>
> <url>file:////pusan/m2-labs</url>
> </repository>
> <!-- use the following if you ARE using a snapshot version. -->
> <snapshotRepository>
> <id>labs-snapshots-repository</id>
> <name>Labs snapshots repository</name>
> <url>file:////pusan/m2-labs-snapshots</url>
> </snapshotRepository>
> </distributionManagement>
>
> <profiles>
> <profile>
> <id>apache</id>
> <repositories>
> <repository>
> <id>apache.org</id>
> <name>Maven Snapshots</name>
> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>apache.org</id>
> <name>Maven Plugin Snapshots</name>
> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </pluginRepository>
> </pluginRepositories>
> </profile>
> </profiles>
>
> </project>
>
>
> ------------------------------------------------------------------------
>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>bdumant</groupId>
> <artifactId>MultiModuleTestApp</artifactId>
> <packaging>pom</packaging>
> <version>1.0.0</version>
>
> <parent>
> <groupId>bdumant</groupId>
> <artifactId>MultiModuleTest</artifactId>
> <version>1.0.0</version>
> </parent>
> </project>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org