cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COCOON3-104) org.apache.cocoon.archetype-webapp creating a new seed fails due to missing logback conf
Date Thu, 13 Sep 2012 17:50:07 GMT

    [ https://issues.apache.org/jira/browse/COCOON3-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455060#comment-13455060
] 

Thorsten Scherler commented on COCOON3-104:
-------------------------------------------

Just to make sure not to blame the archetype:create for the failure I tried:

mvn archetype:generate \
    -DarchetypeGroupId=org.apache.cocoon.archetype-webapp \
    -DarchetypeArtifactId=cocoon-archetype-webapp \
    -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT \
    -DgroupId=com.mycompany \
    -DartifactId=mywebapp 
                
> 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
>
> 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

Mime
View raw message