Performing the two steps you mentioned worked.

Thanks
Prabha


Ate Douma wrote:
> 
> Seems like your local repository metadata file (the one linked too below)
> is 
> corrupt.
> 
> I suggest you:
> a) delete the whole ~/.m2/repository/org/apache/portals/pluto/* folder
> b) upgrade to at least maven 2.2.1 or higher
> 
> On 06/14/2011 04:08 PM, prabha77 wrote:
>>
>> Hi All,
>>
>> I am trying to build the jetspeed portal trunk.
>> I checked out the code from
>> http://svn.apache.org/repos/asf/portals/jetspeed-2/portal/trunk
>> I am following the instructions from
>> http://portals.apache.org/jetspeed-2/maven-2-build.html here
>>
>> I am getting the following error when I try to run the command mvn
>> install
>> -P init
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: org.apache.portals.pluto:pluto-container-api
>>
>> Reason: Error getting POM for
>> 'org.apache.portals.pluto:pluto-container-api'
>> from the repository: Unable to read local copy of metadata: Cannot read
>> metadata from
>> '/Users/prasannaprabhakaran/.m2/repository/org/apache/portals/pluto/pluto-container-api/2.0.3-SNAPSHOT/maven-metadata-apache.snapshots.xml':
>> expected START_TAG or END_TAG not TEXT (position: TEXT seen
>> ...<extension>jar</... @14:25)
>>    org.apache.portals.pluto:pluto-container-api:pom:2.0.3-SNAPSHOT
>>
>>   for project org.apache.portals.pluto:pluto-container-api
>>
>> Is the above error is something related to maven. The version that I am
>> using maven 2.0.9
>>
>> I appreciate any help regarding this.
>>
>> Thanks
>> Prabha
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
> For additional commands, e-mail: jetspeed-user-h...@portals.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Error-while-building-the-trunk-tp31843103p31846829.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


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

Reply via email to