You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/04/10 01:14:13 UTC

svn commit: r526948 - in /incubator/tuscany/java: pom.xml sca/pom.xml

Author: jsdelfino
Date: Mon Apr  9 16:14:12 2007
New Revision: 526948

URL: http://svn.apache.org/viewvc?view=rev&rev=526948
Log:
Adjusted poms to build pom/parent and buildtools only once.

Modified:
    incubator/tuscany/java/pom.xml
    incubator/tuscany/java/sca/pom.xml

Modified: incubator/tuscany/java/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/pom.xml?view=diff&rev=526948&r1=526947&r2=526948
==============================================================================
--- incubator/tuscany/java/pom.xml (original)
+++ incubator/tuscany/java/pom.xml Mon Apr  9 16:14:12 2007
@@ -44,8 +44,6 @@
                 <activeByDefault>true</activeByDefault>
             </activation>
             <modules>
-                <module>pom/parent</module>
-                <module>buildtools</module>
                 <module>spec/sdo-api</module>
                 <module>sdo</module>
                 <module>das</module>

Modified: incubator/tuscany/java/sca/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/pom.xml?view=diff&rev=526948&r1=526947&r2=526948
==============================================================================
--- incubator/tuscany/java/sca/pom.xml (original)
+++ incubator/tuscany/java/sca/pom.xml Mon Apr  9 16:14:12 2007
@@ -39,10 +39,8 @@
                 <activeByDefault>true</activeByDefault>
             </activation>
             <modules>
-                <!-- 
                 <module>../pom/parent</module>
                 <module>../buildtools</module>
-                -->
                 <module>modules</module>
                 <!--
                 <module>samples</module>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Re: svn commit: r526948 - in /incubator/tuscany/java: pom.xml sca/pom.xml

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Luciano Resende wrote:
> Hi Sebastien
>
>   Looks like you changed the parent pom to be built from java/sca/pom.xml
> only.

The parent pom is referenced by java/sca/pom.xml and as a result still 
built when you build java/pom.xml.

> This will probably cause problem as all sub-projects like SDO, DAS,
> etc also use this as it's parent pom.

I described the change in 
http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg16430.html, 
including this:
"With this setup, building java/ from a clean repos works (taking the 
DAS error that I posted earlier aside). Building java/sca from a clean 
repos works as well. Building java/sdo and java/das individually still 
require you to build parent and buildtools first, so this new setup is 
not worse than before for them."

I didn't see any problems but maybe I missed something. Here's my 
understanding of the build behavior with my change:
mvn -Pall still builds the parent pom
mvn -Psca didn't build the parent pom before, now builds it
mvn -Psdo didn't build the parent pom before, still doesn't
mvn -Pdas didn't build the parent pom before, still doesn't

Are you seeing a different behavior?

>
> Would it be OK to require at least a top-level build before being able to
> build only at the sub-project levels (e.g sca, das, sdo) ? Otherwise 
> we need
> to check further and see what other options are available from maven.
>
-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: svn commit: r526948 - in /incubator/tuscany/java: pom.xml sca/pom.xml

Posted by Luciano Resende <lu...@gmail.com>.
Hi Sebastien

   Looks like you changed the parent pom to be built from java/sca/pom.xml
only. This will probably cause problem as all sub-projects like SDO, DAS,
etc also use this as it's parent pom.

Would it be OK to require at least a top-level build before being able to
build only at the sub-project levels (e.g sca, das, sdo) ? Otherwise we need
to check further and see what other options are available from maven.

On 4/9/07, jsdelfino@apache.org <js...@apache.org> wrote:
>
> Author: jsdelfino
> Date: Mon Apr  9 16:14:12 2007
> New Revision: 526948
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=526948
> Log:
> Adjusted poms to build pom/parent and buildtools only once.
>
> Modified:
>     incubator/tuscany/java/pom.xml
>     incubator/tuscany/java/sca/pom.xml
>
> Modified: incubator/tuscany/java/pom.xml
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/pom.xml?view=diff&rev=526948&r1=526947&r2=526948
>
> ==============================================================================
> --- incubator/tuscany/java/pom.xml (original)
> +++ incubator/tuscany/java/pom.xml Mon Apr  9 16:14:12 2007
> @@ -44,8 +44,6 @@
>                  <activeByDefault>true</activeByDefault>
>              </activation>
>              <modules>
> -                <module>pom/parent</module>
> -                <module>buildtools</module>
>                  <module>spec/sdo-api</module>
>                  <module>sdo</module>
>                  <module>das</module>
>
> Modified: incubator/tuscany/java/sca/pom.xml
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/pom.xml?view=diff&rev=526948&r1=526947&r2=526948
>
> ==============================================================================
> --- incubator/tuscany/java/sca/pom.xml (original)
> +++ incubator/tuscany/java/sca/pom.xml Mon Apr  9 16:14:12 2007
> @@ -39,10 +39,8 @@
>                  <activeByDefault>true</activeByDefault>
>              </activation>
>              <modules>
> -                <!--
>                  <module>../pom/parent</module>
>                  <module>../buildtools</module>
> -                -->
>                  <module>modules</module>
>                  <!--
>                  <module>samples</module>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-commits-help@ws.apache.org
>
>


-- 
Luciano Resende
http://people.apache.org/~lresende

Re: svn commit: r526948 - in /incubator/tuscany/java: pom.xml sca/pom.xml

Posted by Luciano Resende <lu...@gmail.com>.
Hi Sebastien

   Looks like you changed the parent pom to be built from java/sca/pom.xml
only. This will probably cause problem as all sub-projects like SDO, DAS,
etc also use this as it's parent pom.

Would it be OK to require at least a top-level build before being able to
build only at the sub-project levels (e.g sca, das, sdo) ? Otherwise we need
to check further and see what other options are available from maven.

On 4/9/07, jsdelfino@apache.org <js...@apache.org> wrote:
>
> Author: jsdelfino
> Date: Mon Apr  9 16:14:12 2007
> New Revision: 526948
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=526948
> Log:
> Adjusted poms to build pom/parent and buildtools only once.
>
> Modified:
>     incubator/tuscany/java/pom.xml
>     incubator/tuscany/java/sca/pom.xml
>
> Modified: incubator/tuscany/java/pom.xml
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/pom.xml?view=diff&rev=526948&r1=526947&r2=526948
>
> ==============================================================================
> --- incubator/tuscany/java/pom.xml (original)
> +++ incubator/tuscany/java/pom.xml Mon Apr  9 16:14:12 2007
> @@ -44,8 +44,6 @@
>                  <activeByDefault>true</activeByDefault>
>              </activation>
>              <modules>
> -                <module>pom/parent</module>
> -                <module>buildtools</module>
>                  <module>spec/sdo-api</module>
>                  <module>sdo</module>
>                  <module>das</module>
>
> Modified: incubator/tuscany/java/sca/pom.xml
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/pom.xml?view=diff&rev=526948&r1=526947&r2=526948
>
> ==============================================================================
> --- incubator/tuscany/java/sca/pom.xml (original)
> +++ incubator/tuscany/java/sca/pom.xml Mon Apr  9 16:14:12 2007
> @@ -39,10 +39,8 @@
>                  <activeByDefault>true</activeByDefault>
>              </activation>
>              <modules>
> -                <!--
>                  <module>../pom/parent</module>
>                  <module>../buildtools</module>
> -                -->
>                  <module>modules</module>
>                  <!--
>                  <module>samples</module>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-commits-help@ws.apache.org
>
>


-- 
Luciano Resende
http://people.apache.org/~lresende