{"push_id":1435030255,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"46a43ac757eb2c3b28474035905776a5b8720fd2","before":"9064a47a7f9a1942e7abdc215e1e7033bbc68e86","commits":[{"sha":"4f90e6a3e58c753710fa0a7e0030a59340d3c6f0","author":{"name":"Geoff Macartney","email":"8fee01c6520fbc485f97cefb30957ada7540ae45@cloudsoftcorp.com"},"message":"Add manually created LICENSE file for Karaf distribution.\n\nThis adds the LICENSE file for the Karaf distribution.\n\nFor the regular distribution this is automated through the Maven\nplugin, however for Karaf the process is different as Karaf\nassembles dependencies based also on features.\n\nThis commit includes a semi-manually generated LICENSE file until\nsuch time as we can create a process for generating the file\nautomatically.\n\nThe process followed is:\n\n1. Build the code.\n2. Search the system directory for jar files and extract their\npom.properties:\n\nfind system -name '*jar' -type f | while read jar ; do\n   pp=$(jar tf $jar | grep pom.properties)\n   if [ \"$pp\" ] ; then\n     jar xf $jar $pp\n   else\n      echo $jar has no pom.properties\n   fi\ndone\n\nThe above process noted the following jars without pom.properties;\nadded the licenses for these manually:\n\nsystem/com/google/code/gson/gson/2.3/gson-2.3.jar has no pom.properties\nsystem/com/google/inject/extensions/guice-assistedinject/3.0/guice-assistedinject-3.0.jar has no pom.properties\nsystem/com/google/inject/extensions/guice-multibindings/3.0/guice-multibindings-3.0.jar has no pom.properties\nsystem/com/google/inject/guice/3.0/guice-3.0.jar has no pom.properties\nsystem/com/jayway/jsonpath/json-path/2.0.0/json-path-2.0.0.jar has no pom.properties\nsystem/org/bouncycastle/bcpkix-jdk15on/1.49/bcpkix-jdk15on-1.49.jar has no pom.properties\nsystem/org/bouncycastle/bcprov-ext-jdk15on/1.49/bcprov-ext-jdk15on-1.49.jar has no pom.properties\nsystem/org/bouncycastle/bcprov-jdk15on/1.49/bcprov-jdk15on-1.49.jar has no pom.properties\nsystem/org/codehaus/woodstox/woodstox-core-asl/4.4.1/woodstox-core-asl-4.4.1.jar has no pom.properties\nsystem/org/eclipse/birt/runtime/org.eclipse.osgi/3.10.2.v20150203-1939/org.eclipse.osgi-3.10.2.v20150203-1939.jar has no pom.properties\nsystem/org/eclipse/jdt/core/compiler/ecj/4.4/ecj-4.4.jar has no pom.properties\nsystem/org/freemarker/freemarker/2.3.22/freemarker-2.3.22.jar has no pom.properties\nsystem/org/glassfish/external/opendmk_jmxremote_optional_jar/1.0-b01-ea/opendmk_jmxremote_optional_jar-1.0-b01-ea.jar has no pom.properties\nsystem/org/mongodb/mongo-java-driver/3.0.3/mongo-java-driver-3.0.3.jar has no pom.properties\nsystem/org/ow2/asm/asm-all/5.0.2/asm-all-5.0.2.jar has no pom.properties\nsystem/org/ow2/asm/asm-all/5.0.4/asm-all-5.0.4.jar has no pom.properties\nsystem/org/tukaani/xz/1.4/xz-1.4.jar has no pom.properties\n\n3.  find . -name pom.properties | xargs dos2unix\n\n4. Create a POM file snippet with the dependency information:\n\nfind META-INF -name pom.properties -type f | while read pp ; do\n   groupId=$(sed -n '/^groupId/s/.*=//p' $pp)\n   artifactId=$(sed -n '/^artifactId/s/.*=//p' $pp)\n   version=$(sed -n '/^version/s/.*=//p' $pp)\n\n   if [ \"$groupId\" -a \"$artifactId\" -a \"$version\" ] ; then\n       echo $pp is ok\n       cat >> dependencies.xml <<EOF\n       <dependency>\n           <groupId>${groupId}</groupId>\n           <artifactId>${artifactId}</artifactId>\n           <version>${version}</version>\n       </dependency>\n\nEOF\n   else\n      echo Could not find groupId:artifactId:version in $pp\n   fi\ndone\n\n5. Create a temporary pom.xml with the dependencies above.\nNote, had to remove the JTidy dependency to get the next\nstep to work.\n\n6. Extract the notices for the dependencies using the normal\nplugin:\n\nmvn org.heneveld.maven:license-audit-maven-plugin:notices\\\n    -Dformat=csv\\\n    -DlistDependencyIdOnly=true\\\n    -Ddepth=1\\\n    -DsuppressExcludedDependencies=true\\\n    -DlicensesPreferred=ASL2,ASL,EPL1,BSD-2-Clause,BSD-3-Clause,CDDL1.1,CDDL1,CDDL \\\n    -DoutputFile=notices.autogenerated \\\n    > tmp_stdout 2> tmp_stderr || ( cat tmp_stdout && echo \"----ERRORS----\" && cat tmp_stderr && false )\n\n7. Include the notices from notices.autogenerated in section 2 of\nthe LICENSE file.\n\n8. Manually add licenses for section 3, and the notices for the jars\nmentioned in point 2 above.","distinct":true,"url":"https://api.github.com/repos/apache/brooklyn-dist/commits/4f90e6a3e58c753710fa0a7e0030a59340d3c6f0"},{"sha":"84cec7c1a99ec07080bbdf31180fef626c60976a","author":{"name":"Geoff Macartney","email":"8fee01c6520fbc485f97cefb30957ada7540ae45@cloudsoftcorp.com"},"message":"Guava 16.0.1","distinct":true,"url":"https://api.github.com/repos/apache/brooklyn-dist/commits/84cec7c1a99ec07080bbdf31180fef626c60976a"},{"sha":"d19d3bd219bce301f7f60a8b401bbb112ee3cca2","author":{"name":"Geoff Macartney","email":"8fee01c6520fbc485f97cefb30957ada7540ae45@cloudsoftcorp.com"},"message":"jclouds-1.9.3","distinct":true,"url":"https://api.github.com/repos/apache/brooklyn-dist/commits/d19d3bd219bce301f7f60a8b401bbb112ee3cca2"},{"sha":"46a43ac757eb2c3b28474035905776a5b8720fd2","author":{"name":"Svetoslav Neykov","email":"720277b7d0f445676bf10dd078cab2d1eb91c4be@cloudsoftcorp.com"},"message":"Closes #63\n\nAdd manually created LICENSE file for Karaf distribution.\n\nThis adds the LICENSE file for the Karaf distribution.\n\nFor the regular distribution this is automated through the Maven\nplugin, however for Karaf the process is different as Karaf\nassembles dependencies based also on features.\n\nThis commit includes a semi-manually generated LICENSE file until\nsuch time as we can create a process for generating the file\nautomatically.\n\nThe process followed is:\n\n1. Build the code.\n2. Search the system directory for jar files and extract their\npom.properties:\n```\nfind system -name '*jar' -type f | while read jar ; do\n   pp=$(jar tf $jar | grep pom.properties)\n   if [ \"$pp\" ] ; then\n     jar xf $jar $pp\n   else\n      echo $jar has no pom.properties\n   fi\ndone\n```\n\n~~TODO~~ (licenses added in updated squashed commit 1/Dec): the above process noted the following jars without\npom.properties; check the licenses for these:\n\nsystem/com/google/code/gson/gson/2.3/gson-2.3.jar has no pom.properties\nsystem/com/google/inject/extensions/guice-assistedinject/3.0/guice-assistedinject-3.0.jar has no pom.properties\nsystem/com/google/inject/extensions/guice-multibindings/3.0/guice-multibindings-3.0.jar has no pom.properties\nsystem/com/google/inject/guice/3.0/guice-3.0.jar has no pom.properties\nsystem/com/jayway/jsonpath/json-path/2.0.0/json-path-2.0.0.jar has no pom.properties\nsystem/org/bouncycastle/bcpkix-jdk15on/1.49/bcpkix-jdk15on-1.49.jar has no pom.properties\nsystem/org/bouncycastle/bcprov-ext-jdk15on/1.49/bcprov-ext-jdk15on-1.49.jar has no pom.properties\nsystem/org/bouncycastle/bcprov-jdk15on/1.49/bcprov-jdk15on-1.49.jar has no pom.properties\nsystem/org/codehaus/woodstox/woodstox-core-asl/4.4.1/woodstox-core-asl-4.4.1.jar has no pom.properties\nsystem/org/eclipse/birt/runtime/org.eclipse.osgi/3.10.2.v20150203-1939/org.eclipse.osgi-3.10.2.v20150203-1939.jar has no pom.properties\nsystem/org/eclipse/jdt/core/compiler/ecj/4.4/ecj-4.4.jar has no pom.properties\nsystem/org/freemarker/freemarker/2.3.22/freemarker-2.3.22.jar has no pom.properties\nsystem/org/glassfish/external/opendmk_jmxremote_optional_jar/1.0-b01-ea/opendmk_jmxremote_optional_jar-1.0-b01-ea.jar has no pom.properties\nsystem/org/mongodb/mongo-java-driver/3.0.3/mongo-java-driver-3.0.3.jar has no pom.properties\nsystem/org/ow2/asm/asm-all/5.0.2/asm-all-5.0.2.jar has no pom.properties\nsystem/org/ow2/asm/asm-all/5.0.4/asm-all-5.0.4.jar has no pom.properties\nsystem/org/tukaani/xz/1.4/xz-1.4.jar has no pom.properties\n\n3.  find . -name pom.properties | xargs dos2unix\n\n4. Create a POM file snippet with the dependency information:\n```\nfind META-INF -name pom.properties -type f | while read pp ; do\n   groupId=$(sed -n '/^groupId/s/.*=//p' $pp)\n   artifactId=$(sed -n '/^artifactId/s/.*=//p' $pp)\n   version=$(sed -n '/^version/s/.*=//p' $pp)\n\n   if [ \"$groupId\" -a \"$artifactId\" -a \"$version\" ] ; then\n       echo $pp is ok\n       cat >> dependencies.xml <<EOF\n       <dependency>\n           <groupId>${groupId}</groupId>\n           <artifactId>${artifactId}</artifactId>\n           <version>${version}</version>\n       </dependency>\n\nEOF\n   else\n      echo Could not find groupId:artifactId:version in $pp\n   fi\ndone\n```\n\n5. Create a temporary pom.xml with the dependencies above.\nNote, had to remove the JTidy dependency to get the next\nstep to work.\n\n6. Extract the notices for the dependencies using the normal\nplugin:\n```\nmvn org.heneveld.maven:license-audit-maven-plugin:notices\\\n    -Dformat=csv\\\n    -DlistDependencyIdOnly=true\\\n    -Ddepth=1\\\n    -DsuppressExcludedDependencies=true\\\n    -DlicensesPreferred=ASL2,ASL,EPL1,BSD-2-Clause,BSD-3-Clause,CDDL1.1,CDDL1,CDDL \\\n    -DoutputFile=notices.autogenerated \\\n    > tmp_stdout 2> tmp_stderr || ( cat tmp_stdout && echo \"----ERRORS----\" && cat tmp_stderr && false )\n```\n\n7. Include the notices from notices.autogenerated in section 2 of\nthe LICENSE file.\n\n8. Manually add licenses for section 3.","distinct":true,"url":"https://api.github.com/repos/apache/brooklyn-dist/commits/46a43ac757eb2c3b28474035905776a5b8720fd2"}]}
{"actor":{"display_login":"asfgit"}}