Hi Roger (and all others),
note that with our current setup (via ant), existing ant task
"maven-install" do the same as mvn install, and usually this is good the
same for people working with a local maven repository ... ok I know that's
not the same as a native maven build.

The only problem I see in having a mixed (Ant and Maven) build is to make
confusion and have both not aligned (the same if true even for eclipse
project files, but we could generate them from maven stuff). But could be a
start point.

> I mean, for a community-driven project, seems like someone who is
interested and knows something about it could contribute .....
I agree ... I'd do it myself but due to a lack of time I can't now, so if
someone if interested, tell us ...
A minimal setup with a parent pom.xml and another one for each Pivot
project, so "package" and "install" (and "eclipse:eclipse") could work,
then see later what to do, depending on community feedback, ok ?
Note that for Pivot 2.1 we was thinking to drop Java 6 as requirement, and
go to Java 7, if there aren't objections ...
A JIRA issue for "Mavenization of Build" (for 2.1 release) would be great,
to not lose things (and maybe a patch).
This could even be used by Jenkins Servers (instead of usual tasks) ...

Bye,
Sandro



2013/6/3 Roger Whitcomb <rogerandb...@rbwhitcomb.com>

> So, Sandro,
>         Thanks ;-)  I don't need to end up with all the work ....
>         But, do you know (or Andrei, do you know?) what it would take so
> that "mvn clean install" would actually do something?  I don't see any
> particular reason that we couldn't be maven-compatible (without Ant) ....
>  Lots of other Apache projects (including "commons") are setup this way.  I
> always use Ant, but seems like we could setup Maven as well, since we're
> almost there (or are we?).  I'm just clueless about Maven myself .....
>         I mean, for a community-driven project, seems like someone who is
> interested and knows something about it could contribute .....
>
> Ciao,
> ~Roger
>
> On Jun 3, 2013, at 10:26 AM, Sandro Martini wrote:
>
> > Hi all,
> >
> >> *Roger*
> > info: Pivot team is not only Roger :-) ...
> >
> >> 1) pivot build is ant-centric and treats pom.xml as a byproduct
> resource.
> > yes, I know, it has been that way since the beginning ... so I add the
> > maven-related stuff some time ago, but from an ant point of view ...
> >
> >> 2) the "mvn clean install" will not work on the pivot trunk.
> > anyway, the "right" command for us, using ant is this (as written in our
> > BUILD file):
> > * To install in a local Maven repository (requires Maven Ant tasks):
> >
> >  $ ant maven-install
> >
> > for sure it works with 2.0.x branch, and one time fixed the dependency it
> > will work even in trunk.
> >
> >
> >> 3) all you have to do is to add new dependency stanza ...
> > ok, we'll do it. thanks for now. But remember to commit the fix under the
> > same jira issue that introduce the dependency.
> >
> >> 3) the way to test this is to create a maven project which uses new
> pivot
> > build with new dependency and to confirm that it still builds with "mvn
> > clean install".
> > many time ago I wrote even a simple maven archetype for Pivot, but there
> > was not enough interests (as always we need a successful vote before
> > publishing stuff), so I couldn't publish it in maven repository ... but
> > it's in svn, you can find it, and even a minimal test application (one
> for
> > Java, and another in Scala :-) ):
> >
> > http://svn.apache.org/repos/asf/pivot/skunk/pivot-archetype-quickstart/
> >
> >
> http://code.google.com/a/apache-extras.org/p/pivot-stuff/source/browse/#svn%2Ftrunk%2Fpivot-java-test-maven
> >
> http://code.google.com/a/apache-extras.org/p/pivot-stuff/source/browse/#svn%2Ftrunk%2Fscala-use-pivot2
> >
> >
> >> 4) I tried to convince Greg to mavenize pivot long time back, yet he was
> > not interested.
> > yes, I tried too ...
> > Note that in our ant script we have many other commands, even for doing
> > source/binary release and other tasks, so I'm not sure it worth the
> effort
> > now.
> > All major build tasks now use maven repository (maven, gradle, sbt) so a
> +1
> > for it from me ... but currently I can't do it due to a lack of time, so
> if
> > someone is interested to start split tasks moving to maven, any help is
> > welcome (and a related JIRA issue) ...
> >
> > Note that official Pivot-2.0.3 jars will be published in main maven
> > repository just after the related release (with a successful vote), in
> the
> > meantime you must use them from a local repository.
> >
> >
> > Bye,
> > Sandro
>
>

Reply via email to