Hi Robert + Robert,

On 15/06/16 12:29, Robert Munteanu wrote:
$ svn co http://svn.apache.org/repos/asf/sling/trunk sling
$ cd sling
$ export MAVEN_OPTS="-Xmx1024M -XX:MaxPermSize=512m"
$ mvn -DskipTests clean install

That works for me OOTB on my svn checkout.


Interesting!  If I follow my own recipe it works for me too!

In an attempt to simplify I had omitted to say that I don't usually download the whole thing every time and instead simply do: -

 $ svn update

So this means the project folder isn't necessarily pristine every time I run mvn.

Can you attach the license errors that are reported in
~/projects/sling/sling/launchpad/builder/target/rat.txt ?

Having looked through the rat.txt file I think the problem is it is a little too eager to check every file for the Apache license and is counting some of the Oak artifacts produced from previous attempts to run Sling.

I'm not sure if the list accepts attachments and besides it is 941 KB. I can send it on request but in the meantime here are some extracts from it to give you a flavour: -


*****************************************************
Summary
-------
Generated at: 2016-06-13T21:34:50+01:00
Notes: 1
Binaries: 325
Archives: 175
Standards: 349

Apache Licensed: 45
Generated Documents: 0

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

304 Unknown Licenses

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

Unapproved licenses:

  /home/djl/projects/sling/sling/launchpad/builder/html.esp

/home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle5/version0.0/revision.location

/home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle5/bundle.info

/home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle45/version0.0/revision.location

/home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle45/bundle.info

/home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle12/version0.0/revision.location
...

/home/djl/projects/sling/sling/launchpad/builder/test/jackrabbit/repository/meta/rootUUID

/home/djl/projects/sling/sling/launchpad/builder/test/jackrabbit/repository/nodetypes/custom_nodetypes.xml

/home/djl/projects/sling/sling/launchpad/builder/test/jackrabbit/repository/datastore/20/e4/41/20e441466574bfb19df73df1ebf8c82c01aa578c

/home/djl/projects/sling/sling/launchpad/builder/test/jackrabbit/repository/datastore/f5/c4/75/f5c475582c7ef904d0b09aaa9e45a2a7ce87abea

/home/djl/projects/sling/sling/launchpad/builder/test/jackrabbit/repository/datastore/b9/67/e0/b967e0fad752f522b496e31f5a0a94c71d40e09d
...
*****************************************************
  Files with Apache License headers will be marked AL
  Binary files (which do not require AL headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc will be marked N
 !????? /home/djl/projects/sling/sling/launchpad/builder/html.esp
AL /home/djl/projects/sling/sling/launchpad/builder/src/main/provisioning/oak.txt AL /home/djl/projects/sling/sling/launchpad/builder/src/main/provisioning/launchpad.txt AL /home/djl/projects/sling/sling/launchpad/builder/src/main/provisioning/sling.txt AL /home/djl/projects/sling/sling/launchpad/builder/src/main/provisioning/boot.txt AL /home/djl/projects/sling/sling/launchpad/builder/src/main/provisioning/repoinit.txt AL /home/djl/projects/sling/sling/launchpad/builder/src/main/provisioning/standalone.txt
  AL    /home/djl/projects/sling/sling/launchpad/builder/pom.xml
B /home/djl/projects/sling/sling/launchpad/builder/test/installer/RegisteredResourceList.ser !????? /home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle5/version0.0/revision.location A /home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle5/version0.0/bundle.jar !????? /home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle5/bundle.info !????? /home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle45/version0.0/revision.location A /home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle45/version0.0/bundle.jar !????? /home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle45/bundle.info !????? /home/djl/projects/sling/sling/launchpad/builder/test/felix/bundle12/version0.0/revision.location


Regards,
David Legg

Reply via email to