I'm responding to Jeremy's comments here rather than in TUSCANY-949
because I believe it's considered good practice to have discussions
on the mailing list rather than in updates to JIRAs.

Jeremy Boynes (JIRA) wrote:

[ http://issues.apache.org/jira/browse/TUSCANY-949?page=comments#action_12454069 ] Jeremy Boynes commented on TUSCANY-949:
---------------------------------------

I don't think we should use profiles in this way. We already use profiles
(e.g. in SDO) to determine the type of content that gets built (e.g. in SDO
we use them to generate aggregated vs. non-aggregated javadoc, in SCA we
have a sourcecheck profile that enables checkstyle and pmd) but this is
using them to determine which modules get built. I don't think this allows
us to do something like run sourcecheck on the release modules for example.

The -P option of mvn can have multiple comma-separated values, so there's
no problem with specifying -Psourcecheck,release to sourcecheck the
release modules.

This is really just trying to get modularity without doing the modularity
> work. It would be better to do that by restructuring the build into an
> appropriately modular tree.
>
This patch is fixing the problem of publishing M2 artifacts that should
not be published to maven, as discussed on yesterday's IRC chat.  It does
not prevent us from doing a build tree restructure for better modularity.
If at some future time this code becomes redundant because of the
restructured tree, it can easily be removed.



Incorrect set of extensions published to the maven repo
-------------------------------------------------------

               Key: TUSCANY-949
               URL: http://issues.apache.org/jira/browse/TUSCANY-949
           Project: Tuscany
        Issue Type: Bug
        Components: Build System
  Affects Versions: Java-M2
       Environment: all
          Reporter: Simon Nash
       Attachments: jira949.diff


mvn deploy publishes a number of extensions to  the maven repo that should not 
be published there because they are not fully tested and endorsed parts of the 
Tuscany M2 release.  Specifically, the following jars should not be published:
       groovy-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
An option should be provided on the build to selectively publish only those 
extensions that have been endorsed as part of the Tuscany M2  release.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to