directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Pb with the maven RAT plugin in shared
Date Fri, 11 Mar 2011 15:20:49 GMT
Hi guys,

I tried to build shared today and I got some nasty errors with the rat 
plugin :


*****************************************************
Summary
-------
Notes: 9
Binaries: 19
Archives: 4
Standards: 80

Apache Licensed: 24
Generated Documents: 0

JavaDocs are generated and so license header is optional
Generated files do not required license headers

56 Unknown Licenses

*******************************

Archives (+ indicates readable, $ unreadable):

  + integ/target/osgi-cache-1152296720/bundle1/version0.0/bundle.jar
  + integ/target/osgi-cache-783328245/bundle1/version0.0/bundle.jar
  + 
integ/target/pluginDirectory/shared-ldap-extras-codec-1.0.0-M2-SNAPSHOT.jar
  + integ/target/shared-integ-1.0.0-M2-SNAPSHOT.jar

*****************************************************
...
*****************************************************
  Printing headers for files without AL header...


  =======================================================================
  ==integ/.classpath
  =======================================================================


The .classpath is *not* supposed to be seen as a file needing a license, 
and it's excluded from the rat plugin config :

(shared/pom.xml)

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
<!-- MAVEN_DEFAULT_EXCLUDES -->
<exclude>**/target/**/*</exclude>
<exclude>**/cobertura.ser</exclude>
<!-- ECLIPSE_DEFAULT_EXCLUDES -->
<exclude>**/.classpath</exclude>  -----------------> here
<exclude>**/.project</exclude>
<exclude>**/.settings/**/*</exclude>

I have *no idea* why I get such errors just now.

Anyone has any clue ?

-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message