Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-84

Projects generated with maven artifacts fail because of missing legal files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-incubating
    • 1.0.0-incubating
    • archetype
    • None

    Description

      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

      Attachments

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            ilgrosso Francesco Chicchiriccò
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: