You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lecharny <el...@gmail.com> on 2011/03/11 16:20:49 UTC

Pb with the maven RAT plugin in shared

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


Re: Pb with the maven RAT plugin in shared

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 3/11/11 4:40 PM, Pierre-Arnaud Marcelot wrote:
> Build is fine for me.

I have ran superclean.sh, and now, it builds :/


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: Pb with the maven RAT plugin in shared

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Build is fine for me.

But running 'rat:check' fails...

Strange...

Regards,
Pierre-Arnaud
-

On 11 mars 2011, at 16:20, Emmanuel Lecharny wrote:

> 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
>