Hi Shawn, One more thing, if I run just ³mvn clean install² without -Dload.file=Š I get the same error as you, namely:
[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ fortress-rest --- [INFO] Checking legal files in: fortress-rest.war [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.071s [INFO] Finished at: Thu Apr 16 16:31:55 CEST 2015 [INFO] Final Memory: 41M/468M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.geronimo.genesis.plugins:tools-maven-plugin:1.4:verify-legal-fil es (verify-legal-files) on project fortress-rest: Artifact does not contain any legal files: fortress-rest.war -> [Help 1] /Oleksandr On 16/4/2015 15:40 , "Shawn McKinney" <[email protected]> wrote: > >> On Apr 16, 2015, at 5:44 AM, Emmanuel Lécharny <[email protected]> >>wrote: >> >> Le 16/04/15 12:35, Oleksandr Bodriagov (Polystar) a écrit : >>> I get the same error when running mvn clean install >>> -Dload.file=./src/main/resources/FortressRestServerPolicy.xml >> >> >> Hmmm, same thing for me... >> >> We will have to wait a few hours for Shawn to have a look at this issue. > >Hi, > >Let me see if I have this right: > >1. You have pulled the latest source from git for core, realm and >enmasse. > >2. Next you changed the version in core from 1.0-RC41-SNAPSHOT TO >1.0-RC40-SNAPSHOT in the core pom.xml. > >3. Next you have built the core and realm. > >4. Next you try to mvn clean install on enmasse and you get an error. > >When I do the same I get a different error on enmasse mvn clean install. >Excerpt is below. Emmanuel do you know the cause for what my error is? >Guessing it has something to do with the parent project being added to >the pom.xml. > > >[INFO] Building jar: >/home/smckinn/GIT/fortressDev/directory-fortress-enmasse/target/fortress-r >est-1.0-RC40-SNAPSHOT-sources.jar >[INFO] >[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) >@ fortress-rest --- >[INFO] Checking legal files in: fortress-rest.war >[INFO] >------------------------------------------------------------------------ >[INFO] BUILD FAILURE >[INFO] >------------------------------------------------------------------------ >[INFO] Total time: 8.756 s >[INFO] Finished at: 2015-04-16T06:54:45-06:00 >[INFO] Final Memory: 49M/606M >[INFO] >------------------------------------------------------------------------ >[ERROR] Failed to execute goal >org.apache.geronimo.genesis.plugins:tools-maven-plugin:1.4:verify-legal-fi >les (verify-legal-files) on project fortress-rest: Artifact does not >contain any legal files: fortress-rest.war -> [Help 1] >[ERROR] >[ERROR] To see the full stack trace of the errors, re-run Maven with the >-e switch. >[ERROR] Re-run Maven using the -X switch to enable full debug logging. >[ERROR] >[ERROR] For more information about the errors and possible solutions, >please read the following articles: >[ERROR] [Help 1] >http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > >Shawn >[email protected] >
