You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by alex christidis <cy...@gmail.com> on 2007/08/14 10:44:24 UTC

Maven2 or Maven1

Hello community

I am new to the community and to be honest this is my first request for an
answer so please excuse me if i seem too newby! :P

I saw a couple of mails saying that Maven2.x. is not suported by Jetspeed 2.
Is that true?
Cause i found some tweeks that you could do to the repository of maven 2
andit would be suported. But still as i saw again i think it will not be
fully supported.

So would your sugestion  be to download and use Maven 1.x ?

Thank You very much

P.S. could i search the mails by others by subject so before i sent mine,
maybe i could already find an answer? If yescould you plz enlighten me?

Re: Maven2 or Maven1

Posted by alex christidis <cy...@gmail.com>.
I totally agree actually with using Maven 2 but as said i am a newby in all
this so i am afraid it will be more dificult for me to find the tweeks.

All i need is to find somewhere good documentation and explanations.

I think i would go for Maven 2 since as I.T. guys we want to use latest
technolgies and not older ones, off course as long as they are stable. The
reason for using all this is i need to create a portal with a postgresql
database and also provide some webservices.
I am not sure but i think i would use the following:
Jetspeed2
Maven2
Eclipse
Tomcat
Postgresql

It is really chalenging in a nice way to find how to make it work and then
also share it with the others but my only problem is "deadlines". I wish i
could take my time and search around but i dont have the time luxury so i
would like to find something that i will not spend much time in instaling
and getting it to work...so then i can work on what i want to do.

I think a good place to start is indeed:
http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport

for getting it to work...i just need to find my way around.

P.S. in that link at one point is refererd to copy the setting.xml to the
.m2/settings.xml
for which original settings.xml is it talking about?
plus in the .m2/ folder there is only a repository folder

Thank you very much for your time

Kind Regards



On 8/14/07, Ron Wheeler <rw...@artifact-software.com> wrote:
>
> Maven 1 is old and essentially unsupported by Apache in terms of
> documentation at least. They may be fixing bugs but it is hard to
> justify starting a new project with something that is old and has no
> upgrade path.
> Maven-2 is a really a new product with a completely different approach
> that was done under the name of an older product since it was the same
> group. Not worth spending the time to learn.
>
> I would avoid it.
> If you are looking at a long term relationship with Jetspeed , start
> with Maven-2 or the tutorial that is built using Ant and Eclipse.
>
> What is your plan for Jetspeed if it works for you? Do you use Eclipse
> currently?
>
> Ron
>
> Ate Douma wrote:
> > alex christidis wrote:
> >> Hello community
> >>
> >> I am new to the community and to be honest this is my first request
> >> for an
> >> answer so please excuse me if i seem too newby! :P
> >>
> >> I saw a couple of mails saying that Maven2.x. is not suported by
> >> Jetspeed 2.
> >> Is that true?
> > No, maven-2 is supported and working, although using maven-1 still
> > preferred by most.
> >
> > Originally, Jetspeed-2 only provided a maven-1 build (as maven-2
> > didn't exist yet).
> > Since end of 2005 we have been adding maven-2 support besides the
> > maven-1 build setup.
> > More information about the *current* maven-2 build support can be
> > found at the wiki:
> >
> >   http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport
> >
> > Note though that our current mixed maven-1 and maven-2 build
> > environment isn't exactly satisfactory and we've been discussing
> > refactoring the current trunk (version 2.2-SNAPSHOT) to a clean new
> > maven-2 *only* setup.
> > That is something which I'm actually planning to start with this week
> > so the current svn trunk probably isn't the best to start out with
> > right now.
> > I suggest to use our latest release, 2.1.2 or maybe the current
> > 2.1.3-dev branch which we created for minor fix and improvements
> > development only.
> >
> > The maven-2 build setup as described at the wiki page link I gave
> > above will work for both of those.
> >
> >> Cause i found some tweeks that you could do to the repository of maven
> 2
> >> andit would be suported. But still as i saw again i think it will not
> be
> >> fully supported.
> >>
> >> So would your sugestion  be to download and use Maven 1.x ?
> > Depends on your requirements.
> > The maven-1 build environment provides more customization options
> > using the maven-1 plugin, so if that is what you need I suggest still
> > using maven-1.
> > See also:
> >   http://portals.apache.org/jetspeed-2/getting-started-source.html
> >   http://portals.apache.org/jetspeed-2/getting-started-binary.html
> >   http://portals.apache.org/jetspeed-2/guides/guide-properties.html
> > and
> >   http://portals.apache.org/jetspeed-2/j2-maven-plugin.html
> >
> > We do intent to provide a good migration path once we switched to the
> > new redesigned maven-2 build environment, to support as much as
> > possible the custom maven-1 build setups our users have developed over
> > the years.
> >
> >>
> >> Thank You very much
> >>
> >> P.S. could i search the mails by others by subject so before i sent
> >> mine,
> >> maybe i could already find an answer? If yescould you plz enlighten me?
> > Nabble is your friend:
> >
> >   http://www.nabble.com/Jetspeed-f14377.html
> >
> > Regards,
> >
> > Ate
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

Re: Maven2 or Maven1

Posted by Ron Wheeler <rw...@artifact-software.com>.
Maven 1 is old and essentially unsupported by Apache in terms of 
documentation at least. They may be fixing bugs but it is hard to 
justify starting a new project with something that is old and has no 
upgrade path.
Maven-2 is a really a new product with a completely different approach 
that was done under the name of an older product since it was the same 
group. Not worth spending the time to learn.

I would avoid it.
If you are looking at a long term relationship with Jetspeed , start 
with Maven-2 or the tutorial that is built using Ant and Eclipse.

What is your plan for Jetspeed if it works for you? Do you use Eclipse 
currently?

Ron

Ate Douma wrote:
> alex christidis wrote:
>> Hello community
>>
>> I am new to the community and to be honest this is my first request 
>> for an
>> answer so please excuse me if i seem too newby! :P
>>
>> I saw a couple of mails saying that Maven2.x. is not suported by 
>> Jetspeed 2.
>> Is that true?
> No, maven-2 is supported and working, although using maven-1 still 
> preferred by most.
>
> Originally, Jetspeed-2 only provided a maven-1 build (as maven-2 
> didn't exist yet).
> Since end of 2005 we have been adding maven-2 support besides the 
> maven-1 build setup.
> More information about the *current* maven-2 build support can be 
> found at the wiki:
>
>   http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport
>
> Note though that our current mixed maven-1 and maven-2 build 
> environment isn't exactly satisfactory and we've been discussing 
> refactoring the current trunk (version 2.2-SNAPSHOT) to a clean new 
> maven-2 *only* setup.
> That is something which I'm actually planning to start with this week 
> so the current svn trunk probably isn't the best to start out with 
> right now.
> I suggest to use our latest release, 2.1.2 or maybe the current 
> 2.1.3-dev branch which we created for minor fix and improvements 
> development only.
>
> The maven-2 build setup as described at the wiki page link I gave 
> above will work for both of those.
>
>> Cause i found some tweeks that you could do to the repository of maven 2
>> andit would be suported. But still as i saw again i think it will not be
>> fully supported.
>>
>> So would your sugestion  be to download and use Maven 1.x ?
> Depends on your requirements.
> The maven-1 build environment provides more customization options 
> using the maven-1 plugin, so if that is what you need I suggest still 
> using maven-1.
> See also:
>   http://portals.apache.org/jetspeed-2/getting-started-source.html
>   http://portals.apache.org/jetspeed-2/getting-started-binary.html
>   http://portals.apache.org/jetspeed-2/guides/guide-properties.html
> and
>   http://portals.apache.org/jetspeed-2/j2-maven-plugin.html
>
> We do intent to provide a good migration path once we switched to the 
> new redesigned maven-2 build environment, to support as much as 
> possible the custom maven-1 build setups our users have developed over 
> the years.
>
>>
>> Thank You very much
>>
>> P.S. could i search the mails by others by subject so before i sent 
>> mine,
>> maybe i could already find an answer? If yescould you plz enlighten me?
> Nabble is your friend:
>
>   http://www.nabble.com/Jetspeed-f14377.html
>
> Regards,
>
> Ate
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Maven2 or Maven1

Posted by Ate Douma <at...@douma.nu>.
alex christidis wrote:
> Hello community
> 
> I am new to the community and to be honest this is my first request for an
> answer so please excuse me if i seem too newby! :P
> 
> I saw a couple of mails saying that Maven2.x. is not suported by Jetspeed 2.
> Is that true?
No, maven-2 is supported and working, although using maven-1 still preferred by most.

Originally, Jetspeed-2 only provided a maven-1 build (as maven-2 didn't exist yet).
Since end of 2005 we have been adding maven-2 support besides the maven-1 build setup.
More information about the *current* maven-2 build support can be found at the wiki:

   http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport

Note though that our current mixed maven-1 and maven-2 build environment isn't exactly satisfactory and we've been discussing refactoring the current trunk 
(version 2.2-SNAPSHOT) to a clean new maven-2 *only* setup.
That is something which I'm actually planning to start with this week so the current svn trunk probably isn't the best to start out with right now.
I suggest to use our latest release, 2.1.2 or maybe the current 2.1.3-dev branch which we created for minor fix and improvements development only.

The maven-2 build setup as described at the wiki page link I gave above will work for both of those.

> Cause i found some tweeks that you could do to the repository of maven 2
> andit would be suported. But still as i saw again i think it will not be
> fully supported.
> 
> So would your sugestion  be to download and use Maven 1.x ?
Depends on your requirements.
The maven-1 build environment provides more customization options using the maven-1 plugin, so if that is what you need I suggest still using maven-1.
See also:
   http://portals.apache.org/jetspeed-2/getting-started-source.html
   http://portals.apache.org/jetspeed-2/getting-started-binary.html
   http://portals.apache.org/jetspeed-2/guides/guide-properties.html
and
   http://portals.apache.org/jetspeed-2/j2-maven-plugin.html

We do intent to provide a good migration path once we switched to the new redesigned maven-2 build environment, to support as much as possible the custom 
maven-1 build setups our users have developed over the years.

> 
> Thank You very much
> 
> P.S. could i search the mails by others by subject so before i sent mine,
> maybe i could already find an answer? If yescould you plz enlighten me?
Nabble is your friend:

   http://www.nabble.com/Jetspeed-f14377.html

Regards,

Ate

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org