I've created JIRA TUSCANY-949 for the problem discussed on today's
IRC chat about the build automatically publishing to the maven repo
some extension jars that are not intended to be binary released
artifacts for M2. I've created a patch to fix this problem and I've
attached this to the JIRA.
The patch uses maven profiles to control which modules get built
and published. There are two maven profiles for the build:
full (the default)
release (only builds projects intended for binary release)
To specify a release build, use the "-P release" option on the mvn command.
Example: mvn deploy -P release
To specify a full build, no special options are needed, as at present.
Examples: mvn deploy
mvn install
mvn
A full build creates and optionally deploys the following jars
under services:
axis2-1.0-incubator-M2.jar
databinding-sdo-1.0-incubator-M2.jar
javascript-1.0-incubator-M2.jar
rmi-1.0-incubator-M2.jar
ruby-1.0-incubator-M2.jar
spring-1.0-incubator-M2.jar
wsdl-1.0-incubator-M2.jar
groovy-1.0-incubator-M2.jar
databinding-axiom-1.0-incubator-M2.jar
databinding-castor-1.0-incubator-M2.jar
databinding-jaxb-1.0-incubator-M2.jar
databinding-xmlbeans-1.0-incubator-M2.jar
databinding-test-1.0-incubator-M2.jar
celtix-1.0-incubator-M2.jar
binding-jsonrpc-1.0-incubator-M2.jar
maven-1.0-incubator-M2.jar
A release build creates and optionally deploys only the following
jars under services:
axis2-1.0-incubator-M2.jar
databinding-sdo-1.0-incubator-M2.jar
javascript-1.0-incubator-M2.jar
rmi-1.0-incubator-M2.jar
ruby-1.0-incubator-M2.jar
spring-1.0-incubator-M2.jar
wsdl-1.0-incubator-M2.jar
databinding-axiom-1.0-incubator-M2.jar
maven-1.0-incubator-M2.jar
For all modules except those under services, the full and release
builds are identical.
As far as I am aware, specifying the release profile causes the
correct jars for the M2 release to be built and deployed, without
any editing of POMs or additional manual steps.
Please review this patch and let me know if there are any issues
so that I can correct them.
Simon
ant elder wrote:
I've fixed most of the LICENSE and NOTICE problems, the Woden having been
remove from the maven repo problem, and verified the the samples failing to
build problem is fixed if the sample parent pom is published.
Its worth pointing out that an Axis2 1.1.1 release which fixes some maven
issues may be imminent so we may want to wait to pick that up before
cutting
our M2.
...ant
On 11/23/06, ant elder <[EMAIL PROTECTED]> wrote:
Ok I've gone through all the artifacts and here's what I found:
In the maven repo jars:
-tuscany-war-plugin-1.0-incubator-M2.jar has no LICENSE or NOTICE files
-Groovy container has no LICENSE file
-JSONRPC binding has no NOTICE file
-JavaScript container has no LICENSE file
-RMI binding has no NOTICE file
-Ruby container has no LICENSE file
I haven't found why this is happening yet but running the various WS
samples they all get log mesages about axiom-api:SNAPSHOT, I can't find
where this is coming from but it makes it look like something is still
using
a SNAPSHOT version.
The samples still fail to build as documented by running mvn within each
sample directory, do they work for anyone else? I get the following:
[INFO] Failed to resolve artifact.
GroupId: org.apache.tuscany.sca.samples
ArtifactId: parent
Version: 1.0-incubator-M2
Some questions:
- In the distributions LICENSE files do we need a SCA license note
similar
to the one thats there for SDO - "License for the Service Data Objects
JavaDoc and Interface Definition files."?
- The src and samples distro LICENSE file mentions the NPL license but
the
binary distro LICENSE does not. If we shouldn't really be mentioning NPL
thats fine but its a bit confusing that its there in the src distro
but not
in the bin distro so maybe there should be a comment in the IPMC vote
email
explaining.
- Not sure about these, but as they're artifacts we distribute in a maven
repo... the javadoc jars don't include LICENSE or NOTICE files:
- tuscany-api-1.0-incubator-M2-javadoc.jar
- tuscany-host-api-1.0-incubator-M2-javadoc.jar
- tuscany-spi-1.0-incubator-M2-javadoc.jar
For all those missing LICENSE/NOTICE files is it ok if I just go ahead
and
fix these in the M2 branch (and remove the NPL stuff)?
If we do end up cutting a new set of M2 artifacts would it be worth
trying
to fix the distro unziping into a tuscany-M2-incubating top level
directory?
I'd help with doing that although I'm not so familiar with how the
distros
are created right now.
...ant
On 11/21/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote:
>
> Please vote to approve the release of the incubator-M2 version of
> Apache Tuscany SCA for Java.
>
> These archives are -incubator- rather than -incubating- for
> consistency with the SDO and DAS M2 releases.
> None of the distributions have a top level directory reflecting the
> version.
>
> Thanks
> --
> Jeremy
>
> Source distribution:
> http://people.apache.org/~jboynes/tuscany-M2/tuscany-sca-1.0-
> <http://people.apache.org/%7Ejboynes/tuscany-M2/tuscany-sca-1.0->
> incubator-M2-src.tar.gz
>
http://people.apache.org/~jboynes/tuscany-M2/tuscany-sca-1.0-<http://people.apache.org/%7Ejboynes/tuscany-M2/tuscany-sca-1.0->
> incubator-M2-src.zip
>
> Binary distribution:
>
http://people.apache.org/~jboynes/tuscany-M2/tuscany-sca-1.0-<http://people.apache.org/%7Ejboynes/tuscany-M2/tuscany-sca-1.0->
> incubator-M2-bin.tar.gz
> http://people.apache.org/~jboynes/tuscany-M2/tuscany-sca-1.0-
> <http://people.apache.org/%7Ejboynes/tuscany-M2/tuscany-sca-1.0->
> incubator-M2-bin.zip
>
> Samples:
> http://people.apache.org/~jboynes/tuscany-M2/tuscany-sca-1.0-
> <http://people.apache.org/%7Ejboynes/tuscany-M2/tuscany-sca-1.0->
> incubator-M2-samples.tar.gz
>
http://people.apache.org/~jboynes/tuscany-M2/tuscany-sca-1.0-<http://people.apache.org/%7Ejboynes/tuscany-M2/tuscany-sca-1.0->
> incubator-M2-samples.zip
>
> Javadoc:
> http://people.apache.org/~jboynes/tuscany-M2/tuscany-sca-1.0-
> <http://people.apache.org/%7Ejboynes/tuscany-M2/tuscany-sca-1.0->
> incubator-M2-javadoc.zip
>
> Artifacts in the Maven repo at
> http://people.apache.org/repo/m2-incubating-repository/org/apache/
> tuscany/
>
> org/apache/tuscany/sca/parent/1.0-incubator-M2/parent-1.0-incubator-
> M2.pom
> org/apache/tuscany/sca/kernel/parent/1.0-incubator-M2/parent-1.0-
> incubator-M2.pom
> org/apache/tuscany/sca/kernel/tuscany-api/1.0-incubator-M2/tuscany-
> api-1.0-incubator-M2.jar
> org/apache/tuscany/sca/kernel/tuscany-api/1.0-incubator-M2/tuscany-
> api-1.0-incubator-M2-javadoc.jar
> org/apache/tuscany/sca/kernel/tuscany-host-api/1.0-incubator-M2/
> tuscany-host-api-1.0-incubator-M2.jar
> org/apache/tuscany/sca/kernel/tuscany-host-api/1.0-incubator-M2/
> tuscany-host-api-1.0-incubator-M2-javadoc.jar
> org/apache/tuscany/sca/kernel/tuscany-spi/1.0-incubator-M2/tuscany-
> spi-1.0-incubator-M2.jar
> org/apache/tuscany/sca/kernel/tuscany-spi/1.0-incubator-M2/tuscany-
> spi-1.0-incubator-M2-javadoc.jar
> org/apache/tuscany/sca/kernel/core/1.0-incubator-M2/core-1.0-
> incubator-M2.jar
> org/apache/tuscany/sca/test/1.0-incubator-M2/test-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/parent/1.0-incubator-M2/parent- 1.0-
> incubator-M2.pom
> org/apache/tuscany/sca/services/idl/parent/1.0-incubator-M2/
> parent-1.0-incubator-M2.pom
> org/apache/tuscany/sca/services/idl/wsdl/1.0-incubator-M2/wsdl-1.0-
> incubator-M2.jar
> org/apache/tuscany/sca/services/containers/parent/1.0-incubator-M2/
> parent-1.0-incubator-M2.pom
> org/apache/tuscany/sca/services/containers/groovy/1.0-incubator-M2/
> groovy-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/containers/javascript/1.0-incubator-
> M2/javascript- 1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/containers/ruby/1.0-incubator-M2/
> ruby-1.0-incubator-M2.jar
> org/apache/tuscany/sca/runtime/parent/1.0-incubator-M2/parent-1.0-
> incubator-M2.pom
> org/apache/tuscany/sca/runtime/webapp/1.0-incubator-M2/webapp- 1.0-
> incubator-M2.jar
> org/apache/tuscany/sca/services/containers/spring/1.0-incubator-M2/
> spring-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/databinding/parent/1.0-incubator-M2/
> parent-1.0-incubator-M2.pom
> org/apache/tuscany/sca/services/databinding/databinding-axiom/1.0-
> incubator-M2/databinding-axiom-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/databinding/databinding-castor/1.0-
> incubator-M2/databinding- castor-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/databinding/databinding-jaxb/1.0-
> incubator-M2/databinding-jaxb-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/databinding/databinding-sdo/1.0-
> incubator-M2/databinding-sdo-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/databinding/databinding-xmlbeans/1.0-
> incubator-M2/databinding-xmlbeans-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/databinding/databinding-test/1.0-
> incubator-M2/databinding-test-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/bindings/parent/1.0-incubator-M2/
> parent-1.0-incubator-M2.pom
> org/apache/tuscany/sca/services/bindings/sunjars/1.0-incubator-M2/
> sunjars-1.0-incubator-M2.pom
> org/apache/tuscany/sca/services/bindings/celtix/1.0-incubator-M2/
> celtix-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/bindings/axis2/1.0-incubator-M2/
> axis2-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/bindings/binding-jsonrpc/1.0-
> incubator-M2/binding-jsonrpc-1.0-incubator-M2.jar
> org/apache/tuscany/sca/services/bindings/rmi/1.0-incubator-M2/rmi-1.0-
> incubator-M2.jar
> org/apache/tuscany/sca/services/maven/1.0-incubator-M2/maven- 1.0-
> incubator-M2.jar
> org/apache/tuscany/sca/runtime/webapp-host/1.0-incubator-M2/webapp-
> host-1.0-incubator-M2.jar
> org/apache/tuscany/sca/runtime/standalone/1.0-incubator-M2/
> standalone-1.0-incubator-M2.jar
> org/apache/tuscany/sca/runtime/standalone-host/1.0-incubator-M2/
> standalone-host-1.0-incubator-M2.jar
> org/apache/tuscany/sca/commands/parent/1.0-incubator-M2/parent-1.0-
> incubator-M2.pom
> org/apache/tuscany/sca/commands/launcher/1.0-incubator-M2/
> launcher-1.0-incubator-M2.jar
> org/apache/tuscany/sca/sca-tools/1.0-incubator-M2/sca-tools-1.0-
> incubator-M2.jar
> org/apache/tuscany/sca/plugins/parent/1.0-incubator-M2/parent-1.0-
> incubator-M2.pom
> org/apache/tuscany/sca/plugins/tuscany-war-plugin/1.0-incubator-M2/
> tuscany-war-plugin-1.0-incubator-M2.jar
> org/apache/tuscany/sca/plugins/tuscany-plugin-wsdl2java/1.0-incubator-
> M2/tuscany-plugin-wsdl2java-1.0-incubator-M2.jar
> org/apache/tuscany/sca/plugins/tuscany-plugin-java2wsdl/1.0-incubator-
> M2/tuscany-plugin-java2wsdl-1.0-incubator-M2.jar
> org/apache/tuscany/sca/distribution/1.0-incubator-M2/distribution-1.0-
> incubator-M2.pom
> org/apache/tuscany/sca/distribution/1.0-incubator-M2/distribution-1.0-
> incubator-M2-bin.zip
> org/apache/tuscany/sca/distribution/1.0-incubator-M2/distribution-1.0-
> incubator-M2-bin.tar.gz
> org/apache/tuscany/sca/samples/parent/1.0-incubator-M2/parent-1.0-
> incubator-M2.pom
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]