You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alan Lewis (JIRA)" <ji...@codehaus.org> on 2007/02/06 16:34:44 UTC
[jira] Created: (MREPOSITORY-9) unable to create a project with
local repository.
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
[jira] Moved: (ARCHETYPE-185) unable to create a project with
local repository.
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg moved MREPOSITORY-9 to ARCHETYPE-185:
-----------------------------------------------------
Affects Version/s: (was: 2.0)
Key: ARCHETYPE-185 (was: MREPOSITORY-9)
Project: Maven Archetype (was: Maven 2.x Repository Plugin)
> unable to create a project with local repository.
> --------------------------------------------------
>
> Key: ARCHETYPE-185
> URL: http://jira.codehaus.org/browse/ARCHETYPE-185
> Project: Maven Archetype
> Issue Type: Bug
> 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
[jira] Commented: (ARCHETYPE-185) unable to create a project with
local repository.
Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138863#action_138863 ]
Raphaël Piéroni commented on ARCHETYPE-185:
-------------------------------------------
What is the result (full trace) of the command. maybe using -X option also.
Are you sure you use maven 2.0.4 and not maven 2.0.9?
> unable to create a project with local repository.
> --------------------------------------------------
>
> Key: ARCHETYPE-185
> URL: http://jira.codehaus.org/browse/ARCHETYPE-185
> Project: Maven Archetype
> Issue Type: Bug
> 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