Le 16/04/15 15:40, Shawn McKinney a écrit :
>> 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-rest-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-files 
> (verify-legal-files) on project fortress-rest: Artifact does not contain any 
> legal files: fortress-rest.war -> [Help 1]


This is most certainly because the produced war does not contain the
LICENSE and NOTICE files.

Reply via email to