You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Leszek Gawron (JIRA)" <ji...@apache.org> on 2006/09/06 20:32:24 UTC
[jira] Closed: (COCOON-1910) cocoon deployer fails when deploying
cocoon-core
[ http://issues.apache.org/jira/browse/COCOON-1910?page=all ]
Leszek Gawron closed COCOON-1910.
---------------------------------
Resolution: Fixed
> cocoon deployer fails when deploying cocoon-core
> ------------------------------------------------
>
> Key: COCOON-1910
> URL: http://issues.apache.org/jira/browse/COCOON-1910
> Project: Cocoon
> Issue Type: Bug
> Components: - Build System: Maven
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Lars Trieloff
> Assigned To: Leszek Gawron
>
> Running mvn cocoon:deploy on my application's blocks or the cocoon-webapp leads to following results:
> The deployer fails to deploy cocoon-core, because WEB-INF/cocoon/properties/core.properties is already deployed.
> [INFO] Deploying cocoon-core
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] File '/Users/lars/Documents/coccon/core/cocoon-webapp/target/cocoon-webapp/WEB-INF/cocoon/properties/core.properties' already exists!
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.cocoon.maven.deployer.monolithic.FileAlreadyDeployedException: File '/Users/lars/Documents/coccon/core/cocoon-webapp/target/cocoon-webapp/WEB-INF/cocoon/properties/core.properties' already exists!
> at org.apache.cocoon.maven.deployer.monolithic.SingleFileDeployer.writeResource(SingleFileDeployer.java:99)
> at org.apache.cocoon.maven.deployer.monolithic.MonolithicServer22.extract(MonolithicServer22.java:84)
> at org.apache.cocoon.maven.deployer.monolithic.MonolithicCocoonDeployer.deploy(MonolithicCocoonDeployer.java:84)
> at org.apache.cocoon.maven.deployer.monolithic.MonolithicCocoonDeployer.deploy(MonolithicCocoonDeployer.java:57)
> at org.apache.cocoon.maven.deployer.AbstractDeployMojo.deployMonolithicCocoonAppAsWebapp(AbstractDeployMojo.java:180)
> at org.apache.cocoon.maven.deployer.DeployExplodedMojo.execute(DeployExplodedMojo.java:62)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> 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:585)
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira