You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2012/09/13 20:28:08 UTC

[jira] [Closed] (COCOON3-104) org.apache.cocoon.archetype-webapp creating a new seed fails due to missing logback conf

     [ https://issues.apache.org/jira/browse/COCOON3-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler closed COCOON3-104.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0-beta-1

Seems to be an old snapshot that I had on my box.

Doing a clean install of the architype fixed that for me.

Javier tried on his machine and it as well working so closing the issue and sorry for the noise.
                
> org.apache.cocoon.archetype-webapp creating a new seed fails due to missing logback conf
> ----------------------------------------------------------------------------------------
>
>                 Key: COCOON3-104
>                 URL: https://issues.apache.org/jira/browse/COCOON3-104
>             Project: Cocoon 3
>          Issue Type: Bug
>          Components: cocoon-archetype-X
>    Affects Versions: 3.0.0-beta-1
>            Reporter: Thorsten Scherler
>             Fix For: 3.0.0-beta-1
>
>
> if you create a webapp project with the artifact like:
> thorsten@bulldozer:~/src/codebusters/c3$ mvn archetype:create \
> >     -DarchetypeGroupId=org.apache.cocoon.archetype-webapp \
> >     -DarchetypeArtifactId=cocoon-archetype-webapp \
> >     -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT \
> >     -DgroupId=com.mycompany \
> >     -DartifactId=mywebapp 
> Maven is going to complain about:
> [INFO] Using following parameters for creating project from Old (1.x) Archetype: cocoon-archetype-webapp:3.0.0-beta-1-SNAPSHOT
> [INFO] ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: com.mycompany
> [INFO] Parameter: packageName, Value: com.mycompany
> [INFO] Parameter: package, Value: com.mycompany
> [INFO] Parameter: artifactId, Value: mywebapp
> [INFO] Parameter: basedir, Value: /home/thorsten/src/codebusters/c3
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [ERROR] ResourceManager : unable to find resource 'archetype-resources/src/main/webapp/WEB-INF/classes/logback.xml' in any resource loader.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.264s
> [INFO] Finished at: Thu Sep 13 19:30:50 CEST 2012
> [INFO] Final Memory: 8M/239M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:create (default-cli) on project standalone-pom: Error creating from archetype: Error merging velocity templates: Unable to find resource 'archetype-resources/src/main/webapp/WEB-INF/classes/logback.xml' -> [Help 1]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira