Hi,
Thanks for the response, we were able to dowload the jar file from the
provided URL and also install it locally.
Now, when we try the next step i.e. build the application, we are running
into an error:
[EMAIL PROTECTED] jetexpress]$ mvn -P tomcat,min -f
/home/vijay/workspace/jetexpress/pom.xml
[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/jetspeed-2/2.1-dev/jetspeed-2-2.1-dev.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.portals.jetspeed-2
ArtifactId: jetspeed-2
Version: 2.1-dev
Reason: Unable to download the artifact from any repository
This certainly appears to be maven related error, but we would like to
know how we can specify www.bluesunrise.com as the repository to check instead
of the default repo1.maven.org.
Thanks for your response. Best regards,
Vijay
Frank Stalherm <[EMAIL PROTECTED]> wrote:
Hi Vijay,
it is obviously not available on repo1.maven.org
But it is available here:
http://www.bluesunrise.com/maven2/org/apache/portals/jetspeed-2/portal-archetype/2.1-dev/portal-archetype-2.1-dev.jar
You might want to dowload this manually and put it in the m2 repository.
Maven must have tried this an failed, I guess.
Frank
VJ Thinker wrote:
> Hi Frank,
>
> We are trying to follow the instructions from the provided URL, but are
> running into the following error:
> [INFO] Defaulting package to group ID: org.apache.portals.tutorials
> Downloading:
> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-archetype/2.1-dev/portal-archetype-2.1-dev.jar
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> GroupId: org.apache.portals.jetspeed-2
> ArtifactId: portal-archetype
> Version: 2.1-dev
> Reason: Unable to download the artifact from any repository
> Try downloading the file manually from the project website.
>
> Can you suggest what we need to do in order to resolve this issue? Thanks for
> the help.
>
> Best regards,
>
> Vijay
>
> Frank Stalherm wrote:
> 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 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 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]
>
>
>
>
> ---------------------------------
> Have a burning question? Go to Yahoo! Answers and get answers from real
> people who know.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Have a burning question? Go to Yahoo! Answers and get answers from real people
who know.