You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Laws <si...@googlemail.com> on 2010/08/16 12:29:33 UTC

RAT failing in build

I did svn up / mvn this morning and the build was clean but for a RAT
failure in legal-checks...

Unapproved licenses:

  D:/sca-java-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-jsonrpc/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
  D:/sca-java-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-rmi/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
  D:/sca-java-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-sca/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
  D:/sca-java-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samples/helloworld/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
  D:/sca-java-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samples/helloworld-bpel/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
  D:/sca-java-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samples/helloworld-bpel/target/sample-helloworld-bpel/META-INF/DEPENDENCIES
  D:/sca-java-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samples/helloworld-spring/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
  D:/sca-java-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samples/implementation-script/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
  D:/sca-java-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samples/target/maven-shared-archive-resources/META-INF/DEPENDENCIES

I've not noticed these DEPENDENCIES files before. If you open one up
you see something like...

// ------------------------------------------------------------------
// Transitive dependencies of this project determined from the
// maven pom organized by organization.
// ------------------------------------------------------------------

Apache Tuscany SCA Sample Contribution binding-jsonrpc Calculator


From: 'The Apache Software Foundation' (http://www.apache.org/)
  - Apache Tuscany SCA Data API
(http://tuscany.apache.org/tuscany-modules/tuscany-data-api)
org.apache.tuscany.sca:tuscany-data-api:jar:2.0-SNAPSHOT
    License: The Apache Software License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
  - Apache Tuscany SCA API Feature
(http://tuscany.apache.org/tuscany-feature/tuscany-feature-api)
org.apache.tuscany.sca:tuscany-feature-api:pom:2.0-SNAPSHOT
    License: The Apache Software License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
  - Apache Tuscany SCA Node API
(http://tuscany.apache.org/tuscany-modules/tuscany-node-api)
org.apache.tuscany.sca:tuscany-node-api:jar:2.0-SNAPSHOT
    License: The Apache Software License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
  - Apache Tuscany SCA API
(http://tuscany.apache.org/tuscany-modules/tuscany-sca-api)
org.apache.tuscany.sca:tuscany-sca-api:jar:2.0-SNAPSHOT
    License: The Apache Software License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)


I suspect this may have something to do with the new parent pom
switching on some mvn feature. However If someone has turned this on
manually would be useful to know before I spend time investigating.

At least we should filter this out of these files from the RAT
processing as they look to be generated.

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Re: RAT failing in build

Posted by ant elder <an...@gmail.com>.
On Mon, Aug 16, 2010 at 11:29 AM, Simon Laws <si...@googlemail.com> wrote:

>
> At least we should filter this out of these files from the RAT
> processing as they look to be generated.
>

Yes i think thats right, we should filter it out in the distribution
assembly where the samples get included, i've done that in r985863,
running a build now to see if it fixes it.

   ...ant