Hi Luis,

the tutorial is quite new and I have not used it much. The path goes to Maven 2 builds. And I think that is what the tutorial emphasizes on. But then again: Maven 2 works fine also.

On the mentioned page: yes you can simply follow the instructions top tp bottom and the build works fine.

Personally I moved over to building with Maven 2.

Frank


Luis Colorado wrote:
Frank,

This tutorial looks really good... maybe I'm not looking hard enough, but I 
never saw it before. This tutorial seems to be much better than the guides 
(e.g. http://portals.apache.org/jetspeed-2/getting-started-binary.html), and it 
seems to provide pretty good guidance for the set-up process. Is there a good 
reason to use the guides instead of the tutorial?

Thanks,

Luis

 -----Original Message-----
From: Frank Stalherm [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 6:20 PM
To:     Jetspeed Users List
Subject:        Re: Maven 1 required?

Maven2 build works fine.

You might want to take a look at the tutorial here: http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html

But basically you only need to check out jetspeed, edit settings.xml for your environment, put it somewhere where maven can find it and start maven in the base of your jetspeed checkout.

Of course you will need Tomcat somwhere to install it to.

Frank


Luis Colorado wrote:
Maven 2 didn't work for me... do you mean that you have been able to use Maven 
2 to build jetspeed? Is there any documentation or command lines I can see?

Thanks!

Luis


 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Philip Mark 
Donaghy
Sent:   Wednesday, February 14, 2007 4:44 PM
To:     Jetspeed Users List
Subject:        Re: Maven 1 required?

Luis and Vijay,

On 2/14/07, Luis Colorado <[EMAIL PROTECTED]> wrote:
Thank you, Phil and Vijay.

I see... it's good to know that I don't know Maven, but I have been sold about 
the advantages of using Maven. Still, I am a bit puzzled about Jetspeed using 
Maven 1 and not Maven 2.
Both Maven 1 and Maven 2 are supported. Maven 2 is pretty recent and
my one day become the only build environment for j2.

Philip

I was able to download Maven 1, and then I was able to download the plug in. 
Thank you so much for the help!

Luis

 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Philip Mark 
Donaghy
Sent:   Wednesday, February 14, 2007 4:00 PM
To:     Jetspeed Users List
Subject:        Re: Maven 1 required?

Hi Luis, Someone mentioned that you can run jetspeed without maven.
There are some recent install jars you can find here,

http://www.bluesunrise.com/maven/org.apache.portals.jetspeed-2/dist/

You don't need to build with maven if you use them.

On 2/14/07, Luis Colorado <[EMAIL PROTECTED]> wrote:
Hello, everybody!

I'm pulling my hair out!

I have been trying to follow the instructions to download Jetspeed-2 using 
maven (http://portals.apache.org/jetspeed-2/getting-started-binary.html). I 
have come across with a series of issues:

1.      Is Maven 1.0.2 is required (see 
http://portals.apache.org/jetspeed-2/getting-started.html)? It doesn't seem to 
be available any more at http://maven.apache.org/download.html. I hope Maven 
1.0.2 is no longer required, because it seems to be a deprecated version.
Maven 1 is still supported use this guide to build using it,

http://wiki.apache.org/portals/Jetspeed2/QuickstartForTheImpatient/BuildUsingMaven

2.      Since Maven 1 has been deprecated, I tried using Maven 2. However, I 
had problems, and I'm not sure if it's me, or a mistake in the instructions. 
The instructions to download the plugin 
(http://portals.apache.org/jetspeed-2/getting-started-binary.html) suggest to 
use a command line like the following:

maven -DartifactId=maven-jetspeed2-plugin 
-DgroupId=org.apache.portals.jetspeed-2 -Dversion=2.0 plugin:download
The maven 2 version of this can be done if you have built the
archetypes from source. Then you can run,

mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2
-DarchetypeArtifactId=portal-archetype -DarchetypeVersion=2.1-dev
-DgroupId=myportalgroup -DartifactId=myportal -Dversion=1.0

Instead, I tried using the same command, but I replaced "maven" with "mvn":

mvn -DartifactId=maven-jetspeed2-plugin -DgroupId=org.apache.portals.jetspeed-2 
-Dversion=2.0 plugin:download

And I got the following error:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO] -------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] -------------------------------------------------------
[INFO] Required goal not found: plugin:download
[INFO] -------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] -------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Feb 14 15:19:43 EST 2007
[INFO] Final Memory: 1M/3M
[INFO] -------------------------------------------------------

First of all, I'm not sure if version=2.0 is correct. Is that the version that 
I want? Where can I see what version I should use?

Secondly, somebody else had a similar problem (see 
http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200512.mbox/[EMAIL
 PROTECTED] ). I tried to use the solution provided, but it didn't work.

If I should use Maven 1, where can I get it? On the other hand, don't you think 
it would be good to support the current version of Maven, instead of a 
deprecated one? What alternatives do I have? Should I use subversion and ant?
This is our best guide to building jetspeed with maven 2.

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

Philip

Thank you all...



Luis Colorado



--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to