unable to create a project with local repository.
--------------------------------------------------
Key: MREPOSITORY-9
URL: http://jira.codehaus.org/browse/MREPOSITORY-9
Project: Maven 2.x Repository Plugin
Issue Type: Bug
Affects Versions: 2.0
Environment: Windows XP professional SP2. LAN connected PC with NO
Internet access.
Reporter: Alan Lewis
When using maven 2.0.4 for the first time on a PC with no internet access, but
that has a local copy of the ibiblio maven2 repository, the archetype:create
fails. The "system" settings.xml [ in {maven2_home}/conf ] has been updated
to include the section below:
...previous text removed for clarity, from default (2.0.4) settings.xml
<profile>
<id>jdk-1.5</id>
<activation>
<jdk>1.5</jdk>
</activation>
<repositories>
<repository>
<id>jdk15</id>
<name>Local Repository for JDK 1.5 builds</name>
<url>http://localhost/maven2</url>
<layout>default</layout>
<!-- THIS IS BROKEN!!! snapshotPolicy>always</snapshotPolicy -->
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>maven2-plugins</id>
<name>Local Repository for maven2 plugins</name>
<url>http://localhost/maven2</url>
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
</profile>
...remainder ignored, from default settings.xml
This url is accessible from a browser. The local Apache installation is 2.0.55
The command used is:
C:\sandbox\maven_projects\sapphire\review-tool>mvn -e archetype:create
-DgroupId=com.fujitsu.sapphire -DartifactId=review-tool
-DarchetypeArtifactId=maven-archetype-webapp
-DremoteRepositories=http://localhost/maven2
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira