You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/02/24 18:35:31 UTC
svn commit: r1293355 - in /tapestry/tapestry5/trunk: ./
tapestry-component-report/
tapestry-component-report/src/main/java/org/apache/tapestry/mojo/
tapestry-component-report/src/test/conf/
tapestry-component-report/src/test/java/org/apache/tapestry/mo...
Author: hlship
Date: Fri Feb 24 17:35:30 2012
New Revision: 1293355
URL: http://svn.apache.org/viewvc?rev=1293355&view=rev
Log:
Generate a binary archive as part of generating a release
Remove tapestry-component-report (no longer built or used)
Add some missing licenses
TAP5-1790
Added:
tapestry/tapestry5/trunk/tapestry-core/LICENSE-antlr.txt
tapestry/tapestry5/trunk/tapestry-core/LICENSE-prototype.txt
tapestry/tapestry5/trunk/tapestry-core/LICENSE-scriptaculous.txt
tapestry/tapestry5/trunk/tapestry-ioc/LICENSE-slf4j.txt
Removed:
tapestry/tapestry5/trunk/tapestry-component-report/LICENSE.txt
tapestry/tapestry5/trunk/tapestry-component-report/NOTICE.txt
tapestry/tapestry5/trunk/tapestry-component-report/src/main/java/org/apache/tapestry/mojo/ClassDescription.java
tapestry/tapestry5/trunk/tapestry-component-report/src/main/java/org/apache/tapestry/mojo/ComponentReport.java
tapestry/tapestry5/trunk/tapestry-component-report/src/main/java/org/apache/tapestry/mojo/ParameterDescription.java
tapestry/tapestry5/trunk/tapestry-component-report/src/main/java/org/apache/tapestry/mojo/ParametersDoclet.java
tapestry/tapestry5/trunk/tapestry-component-report/src/test/conf/testng.xml
tapestry/tapestry5/trunk/tapestry-component-report/src/test/java/org/apache/tapestry/mojo/ComponentReportTest.java
tapestry/tapestry5/trunk/tapestry-component-report/src/test/java/org/apache/tapestry/mojo/DoxiaXhtmlSinkDecorator.java
Modified:
tapestry/tapestry5/trunk/NOTICE.txt
tapestry/tapestry5/trunk/build.gradle
tapestry/tapestry5/trunk/tapestry-ioc/build.gradle
Modified: tapestry/tapestry5/trunk/NOTICE.txt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/NOTICE.txt?rev=1293355&r1=1293354&r2=1293355&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/NOTICE.txt (original)
+++ tapestry/tapestry5/trunk/NOTICE.txt Fri Feb 24 17:35:30 2012
@@ -1,5 +1,12 @@
This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
-Please refer to the NOTICE.txt for each sub-module to
+Please refer to the NOTICE.txt in each sub-module to
identify further dependencies.
+
+The Maven central repository is the prefered method to download Tapestry
+and its dependencies. The binary archive includes just basic
+dependencies for tapestry-core; using other modules (such as
+tapestry-hibernate or any of the others) requires downloading
+additional dependencies. Please refer to the Maven POM for each module
+to identify its dependencies.
Modified: tapestry/tapestry5/trunk/build.gradle
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/build.gradle?rev=1293355&r1=1293354&r2=1293355&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/build.gradle (original)
+++ tapestry/tapestry5/trunk/build.gradle Fri Feb 24 17:35:30 2012
@@ -90,10 +90,19 @@ configurations {
if (doSign) {
published.extendsFrom signatures
}
+ binaries // additional dependencies included in the binary archive
}
dependencies {
javadoc project(":tapestry-javadoc")
+
+ // From tapestry-ioc:
+ binaries "javax.inject:javax.inject:1"
+ binaries "org.slf4j:slf4j-api:1.6.1"
+ binaries "log4j:log4j:1.2.14"
+ binaries "org.slf4j:slf4j-log4j12:1.6.1"
+ binaries "commons-codec:commons-codec:1.5"
+ binaries "org.antlr:antlr-runtime:3.3", { transitive = false }
}
subprojects {
@@ -313,6 +322,41 @@ task zippedJavadoc(type: Zip) {
into "apidocs"
}
+task zippedBinaries(type:Zip) {
+ description "Zip archive of binaries of each sub-project"
+ // TODO: Plus dependencies?
+ group "Release artifact"
+
+ destinationDir buildDir
+ baseName "apache-tapestry"
+ version project.version
+ classifier "bin"
+
+ // This is via some experimentation
+ from subprojects*.configurations*.archives.artifacts*.file*.findAll {
+ ! (it.name.endsWith(".asc") || it.name.startsWith("quickstart"))
+ }
+
+ from configurations.binaries
+
+ // Pick up various licenses and notices
+
+ from (projectDir) {
+ include "*.txt"
+ }
+
+ subprojects.each { sub ->
+ from (sub.projectDir) {
+ include "*.txt"
+ into sub.name
+ }
+ }
+
+
+
+}
+
+
if (canDeploy) {
@@ -323,21 +367,21 @@ if (canDeploy) {
}
- task generateMD5Checksums(type: GenMD5) {
- group "Release artifact"
- description "Creates MD5 checksums for archives of source and JavaDoc"
- source configurations.archives
- outputDir "$buildDir/md5"
- }
-
artifacts {
- archives zippedJavadoc, zippedSources
+ archives zippedJavadoc, zippedSources, zippedBinaries
}
configurations {
upload.extendsFrom archives, signatures
}
+ task generateMD5Checksums(type: GenMD5) {
+ group "Release artifact"
+ description "Creates MD5 checksums for archives of source and JavaDoc"
+ source tasks.withType(Zip)
+ outputDir "$buildDir/md5"
+ }
+
if (doSign) {
signing {
sign configurations.archives
@@ -348,7 +392,7 @@ if (canDeploy) {
group "Release artifact"
description "Uploads top-level artifacts to people.apache.org, along with MD5 checksums and PGP signatures (if signing is enabled)"
- source files(generateMD5Checksums, configurations.upload.allArtifacts.files)
+ source files(generateMD5Checksums, configurations.uploads.allArtifacts.files)
host "people.apache.org"
userName deployUsername()
Added: tapestry/tapestry5/trunk/tapestry-core/LICENSE-antlr.txt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/LICENSE-antlr.txt?rev=1293355&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/LICENSE-antlr.txt (added)
+++ tapestry/tapestry5/trunk/tapestry-core/LICENSE-antlr.txt Fri Feb 24 17:35:30 2012
@@ -0,0 +1,26 @@
+[The BSD License]
+Copyright (c) 2010 Terence Parr
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Added: tapestry/tapestry5/trunk/tapestry-core/LICENSE-prototype.txt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/LICENSE-prototype.txt?rev=1293355&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/LICENSE-prototype.txt (added)
+++ tapestry/tapestry5/trunk/tapestry-core/LICENSE-prototype.txt Fri Feb 24 17:35:30 2012
@@ -0,0 +1,18 @@
+Copyright (c) 2005-2007 Sam Stephenson
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+âSoftwareâ), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+THE SOFTWARE IS PROVIDED âAS ISâ, WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
Added: tapestry/tapestry5/trunk/tapestry-core/LICENSE-scriptaculous.txt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/LICENSE-scriptaculous.txt?rev=1293355&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/LICENSE-scriptaculous.txt (added)
+++ tapestry/tapestry5/trunk/tapestry-core/LICENSE-scriptaculous.txt Fri Feb 24 17:35:30 2012
@@ -0,0 +1,21 @@
+Copyright © 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+âSoftwareâ), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED âAS ISâ, WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
Added: tapestry/tapestry5/trunk/tapestry-ioc/LICENSE-slf4j.txt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/LICENSE-slf4j.txt?rev=1293355&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-ioc/LICENSE-slf4j.txt (added)
+++ tapestry/tapestry5/trunk/tapestry-ioc/LICENSE-slf4j.txt Fri Feb 24 17:35:30 2012
@@ -0,0 +1,21 @@
+Copyright (c) 2004-2011 QOS.ch
+ All rights reserved.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Modified: tapestry/tapestry5/trunk/tapestry-ioc/build.gradle
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/build.gradle?rev=1293355&r1=1293354&r2=1293355&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-ioc/build.gradle (original)
+++ tapestry/tapestry5/trunk/tapestry-ioc/build.gradle Fri Feb 24 17:35:30 2012
@@ -7,6 +7,9 @@ dependencies {
provided project(':tapestry-test')
+ // For now, keep these compile dependencies synchronized with the binaries dependencies
+ // of the top-level build:
+
compile "javax.inject:javax.inject:1"
compile "org.slf4j:slf4j-api:1.6.1"