On 9/9/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 9/9/06, Alexandru Popescu <[EMAIL PROTECTED]> wrote:
> On 9/9/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > The only thing you could be doing is defining these repositories in
> > ~/.m2/settings.xml . If you haven't added them, then they must be
> > coming from the s2 build files, which need to be corrected.
> >
>
> The only thing I have modified to the default installation of
> maven-2.0.4 was adding this line:
>
> <localRepository>D:/workspace/java/.repository/maven2repo</localRepository>
I'm looking at it.
Meanwhile, try deleting the entire <repository> section that has the
url http://cvs.apache.org/repository . It's in the struts2-parent
pom, which is struts2/trunk/pom.xml .
I have commented the following part in the mentioned pom.xml:
[code]
<repository>
<id>apache</id>
<name>apache</name>
<layout>legacy</layout>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
<url>http://cvs.apache.org/repository</url>
</repository>
<repository>
<id>apache.snapshots</id>
<name>Apache Maven Repository (Snapshots and Test Builds)</name>
<url>http://cvs.apache.org/maven-snapshot-repository</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
[/code]
and it looks like the dependencies are retrieved, and build succeeds.
./alex
--
.w( the_mindstorm )p.
--
Wendy
---------------------------------------------------------------------
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]