Hi,
I have a following problem:
I installed a few artefacts with a command (for example):
mvn install:install-file -Dfile=./jdom-1.0.zip -DgroupId=org
-DartifactId=jdom -Dversion=1.0 -Dpackaging=jar
Now I have a structure:
\.m2\repository\org\jdom\1.0\jdom-1.0.jar
In my POM.xml there is:
...
<repositories>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>my-m1-repository</id>
<name>Maven 1.x Repository</name>
<url>http://192.168.1.60:8080/maven</url>
<layout>legacy</layout>
</repository>
</repositories>
...
and
...
<dependencies>
...
<dependency>
<groupId>org</groupId>
<artifactId>jdom</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
...
</dependencies>
...
When I try: mvn compile, it says:
Downloading: http://192.168.1.60:8080/maven/org/poms/jdom-1.0.pom
[WARNING] Unable to get resource from repository my-m1-repository
(http://192.168.1.60:8080/maven)
Downloading: http://repo1.maven.org/maven2/org/jdom/1.0/jdom-1.0.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
and the operation takes much time (a couple of minutes). I didn't
changed anything in my settings.xml or other files.
Is it possible that my local repository isn't working?
Thanks for any suggestions,
Pawel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]