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

Francesco Chicchiriccò commented on SYNCOPE-84:
-----------------------------------------------

It seems wise to just disable rat & ianal plugins by default in generated 
projects, since such projects do not necessarily have the same legal 
requirements as Syncope itself. 
                
> Projects generated with maven artifacts fail because of missing legal files
> ---------------------------------------------------------------------------
>
>                 Key: SYNCOPE-84
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-84
>             Project: Syncope
>          Issue Type: Bug
>          Components: archetype
>    Affects Versions: 1.0.0-incubating
>            Reporter: Francesco Chicchiriccò
>             Fix For: 1.0.0-incubating
>
>
> First generate new project from archetype, then 'mvn clean package', finally 
> go into console subdir and 'mvn -P embedded' (as reported by [1]).
> This fails with
> [INFO] --- apache-rat-plugin:0.7:check (default) @ console ---
> [INFO] Exclude: nbactions.xml
> [INFO] Exclude: nb-configuration.xml
> [INFO] Exclude: **/META-INF/services/**
> [INFO] Exclude: **/*.css
> [INFO] Exclude: **/*.js
> [INFO] Exclude: **/*.csv
> [INFO] Exclude: **/archetype-resources/**
> [INFO] Exclude: .externalToolBuilders/**
> [INFO] Exclude: maven-eclipse.xml
> [INFO] 
> [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ 
> console ---
> [INFO] Checking legal files in: syncope-console.war
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 17.642s
> [INFO] Finished at: Tue May 22 09:32:45 CEST 2012
> [INFO] Final Memory: 23M/600M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) 
> on project console: Artifact does not contain any legal files: 
> syncope-console.war -> [Help 1]
> [1] 
> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to