I have put this into $M2_HOME/conf/settings.xml, but still I get the
warnings:
<profile>
<id>jdk-1.4</id>
<activation>
<activeByDefault/>
</activation>
<repositories>
<repository>
<id>m1-repository</id>
<name>Maven 1.x Repository</name>
<url>http://repo1.maven.org/maven/</url>
</repository>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>my-m2-repository</id>
<name>Maven 2.x Repository</name>
<url>file://C:/Documents and Settings/syst/.m2/repository</url>
</repository>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>my-m1-repository</id>
<name>Maven 1.x Repository</name>
<url>file://C:/Documents and Settings/syst/.maven/repository</url>
<layout>legacy</layout>
</repository>
</repositories>
</profile>
Am I overlooking something?
Sybren
Naess, Ronny wrote:
> Try http://repo1.maven.org/maven/ instead
>
> -Ronny
>
> -----Opprinnelig melding-----
> Fra: Sybren Stüvel [mailto:[EMAIL PROTECTED]
> Sendt: 9. oktober 2006 12:46
> Til: [email protected]
> Emne: Warnings accessing M1 repository
>
> Hi there,
>
> I'm moving our projects from Maven 1 to Maven 2, and things are looking good.
> When running Maven 2 I do get a list of warnings:
>
> Downloading: http://repo1.maven.org/maven2/jaxb/xalan/1.2.6/xalan-1.2.6.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> Downloading:
> http://repo1.maven.org/maven2/mailapi/mailapi/1.3.1/mailapi-1.3.1.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> Downloading:
> http://repo1.maven.org/maven2/opensymphony/oscache/2.2/oscache-2.2.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> Downloading:
> http://repo1.maven.org/maven2/oracle/classes12/0.0/classes12-0.0.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
>
> Those are all POM files for JARs in my local Maven 1 repository.
>
> Is there a way to convert my M1 repository to M2, or at least automatically
> create those POM files so that the web isn't accessed for each and every one
> of them, every time I run a mvn command?
>
> Greetings,
> --
> Sybren Stüvel <[EMAIL PROTECTED]>
> Software Engineer CHESS iBusiness
> Nieuwe Gracht 13, Haarlem
> Postbus 5021, 2000 CA Haarlem
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> !DSPAM:452a2abc124351926716756!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Sybren Stüvel <[EMAIL PROTECTED]>
Software Engineer CHESS iBusiness
Nieuwe Gracht 13, Haarlem
Postbus 5021, 2000 CA Haarlem
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]