You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Dishara Wijewardana <dd...@gmail.com> on 2012/05/01 20:09:59 UTC
Problem when building velocity trunk
Hi to all,
I am trying to build velocity trunk from [1] . But it fails when try to
build from trunk level.
It fails with unresolvable parent. This trunk root pom points to a
velocity-master
artifact.
Or I am I building a wrong source code ?
[1] - http://svn.apache.org/repos/asf/velocity/engine/trunk/
--
Thanks
/Dishara
Re: Problem when building velocity trunk
Posted by Dishara Wijewardana <dd...@gmail.com>.
On Wed, May 2, 2012 at 5:29 PM, Claude Brisson <cl...@renegat.net> wrote:
> You need to checkout the master with:
> https://svn.apache.org/repos/asf/velocity/maven/trunk/pom
>
> and do a "mvn install" from this directory, this will install
> velocity-master.
>
Hi Claude,
I tried this but failed to build as the trunk pom points to an old snapshot
version of the master.
I created a JIRA[1] and attached the fixed pom as a patch .
With this change I was able to successfully build the velocity trunk code
with tests.
[1] - https://issues.apache.org/jira/browse/VELOCITY-824
>
> Our maven reorganization is still quite recent, the README file hasn't
> been updated yet...
>
> By the way, Antonio, is there any good reason not to have
> org.apache.velocity be the root artifact?
>
>
> Claude
>
> On Tue, 1 May 2012 23:39:59 +0530
> Dishara Wijewardana <dd...@gmail.com> wrote:
>
> > Hi to all,
> >
> > I am trying to build velocity trunk from [1] . But it fails when try
> > to build from trunk level.
> > It fails with unresolvable parent. This trunk root pom points to a
> > velocity-master
> > artifact.
> > Or I am I building a wrong source code ?
> >
> > [1] - http://svn.apache.org/repos/asf/velocity/engine/trunk/
> >
>
>
--
Thanks
/Dishara
Re: Problem when building velocity trunk
Posted by Dishara Wijewardana <dd...@gmail.com>.
On Mon, May 7, 2012 at 7:57 PM, Claude Brisson <cl...@renegat.net> wrote:
> Thanks, glad you managed to compile it.
>
> I launched a vote to give you commit access, and I'm still waiting for
> all votes. The idea is to create a specific branch for your project, so
> that you can make regular commits.
>
Great,
I was going through the spec and gathering points for my first task.(sketch
a class diagram of the classes that going to implement of jsr 223 spec).
I also looked in to the sun implementation on JSR 223 on top of velocity,
and there was only Engine and the Factory implementation.
Regards,
>
>
> Claude
>
> On Sat, 5 May 2012 22:18:40 +0530
> Dishara Wijewardana <dd...@gmail.com> wrote:
>
> > On Wed, May 2, 2012 at 5:29 PM, Claude Brisson <cl...@renegat.net>
> > wrote:
> >
> > > You need to checkout the master with:
> > > https://svn.apache.org/repos/asf/velocity/maven/trunk/pom
> > >
> > > and do a "mvn install" from this directory, this will install
> > > velocity-master.
> > >
> >
> > Hi Claude,
> > I tried this but failed to build as the trunk pom points to an old
> > snapshot version of the master.
> > I created a JIRA[1] and attached the fixed pom as a patch .
> >
> > With this change I was able to successfully build the velocity trunk
> > code with tests.
> >
> > [1] - https://issues.apache.org/jira/browse/VELOCITY-824
> >
> >
> >
> > > Our maven reorganization is still quite recent, the README file
> > > hasn't been updated yet...
> > >
> > > By the way, Antonio, is there any good reason not to have
> > > org.apache.velocity be the root artifact?
> > >
> > >
> > > Claude
> > >
> > > On Tue, 1 May 2012 23:39:59 +0530
> > > Dishara Wijewardana <dd...@gmail.com> wrote:
> > >
> > > > Hi to all,
> > > >
> > > > I am trying to build velocity trunk from [1] . But it fails when
> > > > try to build from trunk level.
> > > > It fails with unresolvable parent. This trunk root pom points to a
> > > > velocity-master
> > > > artifact.
> > > > Or I am I building a wrong source code ?
> > > >
> > > > [1] - http://svn.apache.org/repos/asf/velocity/engine/trunk/
> > > >
> > >
> > >
> >
> >
>
>
--
Thanks
/Dishara
Re: Problem when building velocity trunk
Posted by Antonio Petrelli <an...@gmail.com>.
2012/5/2 Claude Brisson <cl...@renegat.net>
> All subprojects other than Engine depend upon Engine, so Engine could
> have been the root
No, it's not this way especially if you think about version numbering.
velocity-engine-parent has its version, velocity-tools-parent too. What if
you release velocity-engine-parent various times? Should you release the
other dependent subprojects?
Instead, velocity-master will have a very slow-paced release plan, in other
words it will be released only when strictly needed (e.g. the first
version, or change in PMC/committers).
> Speaking about this, we can maybe release velocity-master right away,
> can't we?
>
Sure, I will try to create a test build this evening (CET).
Antonio
Re: Problem when building velocity trunk
Posted by Claude Brisson <cl...@renegat.net>.
All subprojects other than Engine depend upon Engine, so Engine could
have been the root, but I agree it's not a problem once it has been
released, and maybe it's cleaner this way.
Speaking about this, we can maybe release velocity-master right away,
can't we?
Claude
On Wed, 2 May 2012 14:05:36 +0200
Antonio Petrelli <an...@gmail.com> wrote:
> 2012/5/2 Claude Brisson <cl...@renegat.net>
>
> > By the way, Antonio, is there any good reason not to have
> > org.apache.velocity be the root artifact?
> >
>
> Apache Velocity is made up of several subprojects (Engine, Tools,
> Anakia, etc.). velocity-master contains all the common configurations
> between all these projects.
> Once released, velocity-master does not give any problem, since it
> will be downloaded from the main repository.
>
> Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
Re: Problem when building velocity trunk
Posted by Claude Brisson <cl...@renegat.net>.
You need to checkout the master with:
https://svn.apache.org/repos/asf/velocity/maven/trunk/pom
and do a "mvn install" from this directory, this will install
velocity-master.
Our maven reorganization is still quite recent, the README file hasn't
been updated yet...
By the way, Antonio, is there any good reason not to have
org.apache.velocity be the root artifact?
Claude
On Tue, 1 May 2012 23:39:59 +0530
Dishara Wijewardana <dd...@gmail.com> wrote:
> Hi to all,
>
> I am trying to build velocity trunk from [1] . But it fails when try
> to build from trunk level.
> It fails with unresolvable parent. This trunk root pom points to a
> velocity-master
> artifact.
> Or I am I building a wrong source code ?
>
> [1] - http://svn.apache.org/repos/asf/velocity/engine/trunk/
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org