Once the release is done and the artifacts are in a maven repo you will be able to do mvn clean install. It fails now because there is no eba-maven-plugin in a maven repo.

Alasdair

On 25 Mar 2010, at 01:43, Lin Sun <[email protected]> wrote:

I'd think a required test before every single release is that user
should be able to build the source tree using "mvn clean install" with
a clean local .m2 repo.  I am concerned that not releasing the eba
maven plugin first will fail that test.

Lin

On Wed, Mar 24, 2010 at 4:36 PM, Alasdair Nottingham <[email protected]> wrote:
It sounds like we are quite close to having the release ready so
perhaps we can release everything at the same time right now, and more
to a separate release model for subsequent releases?

Alasdair

On 24 March 2010 20:21, Lin Sun <[email protected]> wrote:
Right, I mean the eba maven plugin and its dependency out of the
current trunk dir, unless we get rid of its current parent pom
dependency.

That way, we can have 2 releases, 2 votes and 2 tags, which is less
overhead than each subproject has its own tag. And if the eba plugin
is stable, in a future release, we just need to do 1 release, 1 vote
and 1 tag of aries trunk.

Lin

On Wed, Mar 24, 2010 at 3:00 PM, Guillaume Nodet <[email protected]> wrote:
I don't think that would work, because the the eba maven plugin depends at least on the parent poms, so we would need at least a release for those. I don't see any real problems in having each subproject associated with its own tag personally, but it's a bit more overhead when releasing the whole
thing.

On Wed, Mar 24, 2010 at 20:54, Lin Sun <[email protected]> wrote:

I was trying to suggest things in a soft way :-)  I agree that we
should release the eba plugin first.

We could release the eba plugin first with a tag (after we move it out of the trunk dir), then release the other subprojects together with
another tag.

Lin


On Wed, Mar 24, 2010 at 2:28 PM, Guillaume Nodet <[email protected]> wrote:
The problem isn't that it makes sense or not, it's that in order to
release
aries, we'll have to have the aries plugin released before hand. So
we'll
have to release all the subprojects separatly (even if we do that under a single vote / staging repo and whatever else), but this means we'll have
multiple tags.

On Wed, Mar 24, 2010 at 19:58, Lin Sun <[email protected]> wrote:

Patch looks good, assuming you can build eba-maven-plugin using the
init profile successfully.

Does it make sense for us to release the eba-maven-plugin separately, so that user doesn't have to build aries using the init profile first?

Lin

On Wed, Mar 24, 2010 at 1:40 PM, Alan D. Cabrera <[email protected] >
wrote:
I did attach a file.

Index: pom.xml
=== === =============================================================
--- pom.xml     (revision 927124)
+++ pom.xml     (working copy)
@@ -38,18 +38,6 @@

   <modules>
       <module>parent</module>
-        <module>eba-maven-plugin</module>
-        <module>testsupport</module>
-        <module>util</module>
-        <module>blueprint</module>
-        <module>jndi</module>
-        <module>transaction</module>
-        <module>web</module>
-        <module>application</module>
-        <module>jmx</module>
-        <module>jpa</module>
-        <module>spi-fly</module>
-        <module>samples</module>
   </modules>

   <build>
@@ -63,4 +51,37 @@
       </plugins>
   </build>

+
+    <profiles>
+        <profile>
+            <id>default</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <modules>
+                <module>testsupport</module>
+                <module>util</module>
+                <module>blueprint</module>
+                <module>jndi</module>
+                <module>transaction</module>
+                <module>web</module>
+                <module>application</module>
+                <module>jmx</module>
+                <module>jpa</module>
+                <module>spi-fly</module>
+                <module>samples</module>
+            </modules>
+        </profile>
+
+        <profile>
+            <id>init</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <modules>
+                <module>eba-maven-plugin</module>
+            </modules>
+        </profile>
+
+    </profiles>
</project>

On Mar 24, 2010, at 11:04 AM, Lin Sun wrote:

I think using profiles is fine or perhaps we can move the
eba-maven-plugin to its own tree/build and release the
eba-maven-plugin separately (which seems reasonable).

P.S. did you intend to attach a file?  anyway I don't see it.

Lin

On Wed, Mar 24, 2010 at 12:55 PM, Alan D. Cabrera <
[email protected]

wrote:


Here's a possible fix using profiles.  WDYT?


Regards,
Alan

On Mar 24, 2010, at 10:45 AM, Lin Sun wrote:

Hi

I think I ran into similar issues yesterday when I tried to build
with
a clean .m2 repo.  I remember I had to manually build the
default-parent, parent, then eba-plugin to get around this. We'll have to make sure we can build aries with a clean .m2 repo before
we
release.

Lin

On Wed, Mar 24, 2010 at 12:39 PM, Alan D. Cabrera <
[email protected]>
wrote:

I'm on a new tower and I tried to do a fresh build and it fails
because
of a
missing EBA plugin. I try to build the EBA plugin and it fails
because
it's
missing a parent.

Shouldn't we control this build process via profiles at the SVN
root?


Regards,
Alan










--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com





--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com





--
Alasdair Nottingham
[email protected]

Reply via email to