RE: Jetspeed 2.3

Lalitha Bourishetty <[email protected]> Thu, 6 Aug 2015 06:56:43 -0700 (PDT)
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <003d62aa-a125-46f1-a363-60ae45ae3cd5@default>
Hi Ron,

Installed Nexus in my machine. Followed http://books.sonatype.com/nexus-boo=
k/reference/confignx.html done below changes:
Created a repository there and made it public. Added profile, server, mirro=
r, activate profiles etc. and commented proxy entry which was made earlier.
Then I tried to build source code then also facing error as below:(8082 is =
the port number I gave in nexus.properties)

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.portals.jetspeed-2:jetspee=
d-2:2.3.0: Failure to find org.apache.portals:portals-pom:pom:1.4 in http:/=
/localhost
:8082/nexus/content/groups/public was cached in the local repository, resol=
ution will not be reattempted until the update interval of nexus has elapse=
d or updat
es are forced and 'parent.relativePath' points at no local POM @ line 28, c=
olumn 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.portals.jetspeed-2:jetspeed-2:2.3.0 (C:\je=
tspeed-2-2.3.0\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.portals.jetspeed-2:jet=
speed-2:2.3.0: Failure to find org.apache.portals:portals-pom:pom:1.4 in ht=
tp://local
host:8082/nexus/content/groups/public was cached in the local repository, r=
esolution will not be reattempted until the update interval of nexus has el=
apsed or u
pdates are forced and 'parent.relativePath' points at no local POM @ line 2=
8, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e=
 switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, pleas=
e read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBu=
ildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/Unresolva=
bleModelException


Let me know how this can be resolved. Let me know if I have to make any oth=
er changes.

Eagerly waiting for reply.=20

Regards,
Lalitha

-----Original Message-----
From: Ron Wheeler [mailto:[email protected]]=20
Sent: Wednesday, August 05, 2015 6:38 PM
To: Jetspeed Users List
Cc: Ramesh Veera venkata gopi Sama ([email protected])
Subject: Re: Jetspeed 2.3

You will have to read the docs for the full story but the short story is:
- get the Community version of Nexus and install it on a server or if this =
is a one-man project on your PC
- use the web interface to
-- configure it with the maven repos that you want it to proxy
-- configure (or check) the local repos that Nexus will set up for your SNA=
PSHOT and Release artifacts
- Fix your settings.xml to proxy all Maven repos through your Nexus
- Run your build to check out the Nexus repo and get it populated with Mave=
n Artifacts
- Use the web interface to check out your Nexus to see what it was able to =
download and to investigate missing artifacts
- Continue to build and if new repos are required, add them to your Nexus.

This may not fix your current problem but it will make it easier to find th=
e source of the problem.
- your settings.xml becomes stable
- you have a web-based system that lets you search and browse all of the ar=
tifacts to which your build has access
- you have a repo where you can deploy your own libraries for convenient ac=
cess through Maven

I hope that this helps.

Ron
On 05/08/2015 2:22 AM, Lalitha Bourishetty wrote:
> Yes, 2.2 build downloaded portals-pom into local repo.
> It has 1.2 and 1.3 folders inside it with some contents.
> 1.4 folder has only portals-pom-1.4.pom.lastUpdated file.
>
> Could you explain how to use Nexus server in the current scenario.
>
> Regards,
> Lalitha
>
> -----Original Message-----
> From: Ron Wheeler [mailto:[email protected]]
> Sent: Tuesday, August 04, 2015 7:34 PM
> To: [email protected]
> Subject: Re: Jetspeed 2.3
>
> Did the 2.2 build download the portals-pom into your local repo?
>
> Adding a free Nexus server just makes it a lot easier to work with Maven =
since you use it to proxy all your Maven remote repos and it saves download=
ing things multiple times over the internet and gives you a lot more visibi=
lity into Maven.
> Saved us a lot of trouble compared to our original way of working which w=
as similar to your current setup.
>
> You current setup should work but is more fragile.
>
> Ron
>
>
> On 04/08/2015 9:57 AM, Lalitha Bourishetty wrote:
>> No I don't have Nexus, Artifactorym in my local machine.
>> But without these it is working for Jetspeed 2.2  source code.
>> In requirements I found only maven 3.3.1 so using the same.
>>
>> Regards,
>> Lalitha
>>
>> -----Original Message-----
>> From: Ron Wheeler [mailto:[email protected]]
>> Sent: Tuesday, August 04, 2015 7:22 PM
>> To: Jetspeed Users List
>> Subject: Re: Jetspeed 2.3
>>
>> Do you have a Maven repository server (Nexus, Artifactorym etc.) install=
ed?
>> Using Maven without a repo is a PITA.
>>
>> Just post to the user list. No need to double post.
>>
>> Ron
>>
>> On 04/08/2015 9:43 AM, Lalitha Bourishetty wrote:
>>> Hi Team,
>>>
>>> I am also able to see org.apache.portals:portals-pom:pom:1.4  at https:=
//repo.maven.apache.org/maven2.
>>> I configured proxy in .m2\settings.xml file and %M2_HOME%/conf/settings=
.xml. Then also I am getting same error.
>>>
>>> When I tried same with  Jetspeed 2.2 source code I am able to build cod=
e.
>>> But with Jetspeed 2.3 I am facing error as mentioned in my last mail.
>>>
>>> Let me know if you have any clue how this can be resolved.
>>>
>>> Regards,
>>> Lalitha
>>>
>>> -----Original Message-----
>>> From: Ron Wheeler [mailto:[email protected]]
>>> Sent: Tuesday, August 04, 2015 7:06 PM
>>> To: Jetspeed Developers List
>>> Subject: Re: Jetspeed 2.3
>>>
>>> Looks like a problem with your internet connection.
>>> I just followed the link to  https://repo.maven.apache.org/maven2=20
>>> and
>>> org.apache.portals:portals-pom:pom:1.4 seems to be there.
>>> You might want to use your browser to follow the link and see if you ca=
n read the file.
>>> If you can, try the build again.
>>>
>>>
>>> On 04/08/2015 9:00 AM, Lalitha Bourishetty wrote:
>>>
>>>> Hi Team,
>>>>
>>>>     =20
>>>>
>>>> I have downloaded jetspeed-2-2.3.0-source-release.zip from https://por=
tals.apache.org/jetspeed-2/download.html.
>>>>
>>>> I have installed maven 3.3.1,tomcat 7 and java1.8 in my machine.
>>>>
>>>>     =20
>>>>
>>>> I followed instructions given at
>>>> https://portals.apache.org/jetspeed-2/buildguide/maven-2-build.html
>>>>
>>>> When i ran mvn install command I am getting below error:
>>>>
>>>>     =20
>>>>
>>>>     =20
>>>>
>>>> C:\jetspeed-2-2.3.0>mvn -e install
>>>>
>>>> [INFO] Error stacktraces are turned on.
>>>>
>>>> [INFO] Scanning for projects...
>>>>
>>>> Downloading:
>>>> https://repo.maven.apache.org/maven2/org/apache/portals/portals-pom/1.
>>>> 4/portals-pom-1.4.pom
>>>>
>>>> [ERROR] [ERROR] Some problems were encountered while processing the PO=
Ms:
>>>>
>>>> [FATAL] Non-resolvable parent POM for
>>>> org.apache.portals.jetspeed-2:jetspeed-2:2.3.0: Could not transfer=20
>>>> artifact org.apache.portals:portals-pom:pom:1.4 from/to
>>>>
>>>> central (https://repo.maven.apache.org/maven2): Connect to
>>>> repo.maven.apache.org:443 [repo.maven.apache.org/23.235.40.215]
>>>> failed: Connection timed out: connec
>>>>
>>>> t and 'parent.relativePath' points at wrong local POM @ line 28,=20
>>>> column 11
>>>>
>>>>
>>>>     =20
>>>>
>>>> Let me know how this error can be resolved. Looking forward for your r=
eply.
>>>>
>>>>     =20
>>>>
>>>> Thank you.
>>>>
>>>>     =20
>>>>
>>>>     =20
>>>>
>>>>     =20
>>>>
>>>>     =20
>>>>
>>>> Regards,
>>>>
>>>> Lalitha
>>>>
>>>>     =20
>>>>
>>> --
>>> Ron Wheeler
>>> President
>>> Artifact Software Inc
>>> email: [email protected]
>>> skype: ronaldmwheeler
>>> phone: 866-970-2435, ext 102
>>>
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail:=20
>>> [email protected]
>>> For additional commands, e-mail:=20
>>> [email protected]
>>>
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail:=20
>>> [email protected]
>>> For additional commands, e-mail:
>>> [email protected]
>>>
>>>
>> --
>> Ron Wheeler
>> President
>> Artifact Software Inc
>> email: [email protected]
>> skype: ronaldmwheeler
>> phone: 866-970-2435, ext 102
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail:=20
>> [email protected]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail:=20
>> [email protected]
>>
>>
>
> --
> Ron Wheeler
> President
> Artifact Software Inc
> email: [email protected]
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]