You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Hermod Opstvedt (JIRA)" <ji...@apache.org> on 2006/06/23 11:11:18 UTC
[jira] Created: (SHALE-200) Missing repository definition in master
pom
Missing repository definition in master pom
-------------------------------------------
Key: SHALE-200
URL: http://issues.apache.org/struts/browse/SHALE-200
Project: Shale
Type: Bug
Components: Core
Versions: 1.0.3
Environment: WinXP
Reporter: Hermod Opstvedt
Because Ibiblio is not listed in the repository section of the master pom, downloads will not work properly in all situations. Patch is:
Index: pom.xml
===================================================================
--- pom.xml (revisjon 416633)
+++ pom.xml (arbeidskopi)
@@ -151,6 +151,13 @@
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
+ <id>ibiblio</id>
+ <name>Ibiblio</name>
+ <url>http://www.ibiblio.org/maven2</url>
+ <releases><enabled>true</enabled></releases>
+ <snapshots><enabled>true</enabled></snapshots>
+ </repository>
+ <repository>
<id>java.net</id>
<name>java.net Maven 1 Repository</name>
<url>https://maven-repository.dev.java.net/nonav/repository</url>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (SHALE-200) Missing repository definition in
master pom
Posted by "Hermod Opstvedt (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SHALE-200?page=comments#action_37606 ]
Hermod Opstvedt commented on SHALE-200:
---------------------------------------
In my case I am behind a proxy. Howver, I think (have not tried) that if you ommit the section completely it will use the settings.xml, meaning that the pom repositories section overrides the settings.xml with respect to this.
> Missing repository definition in master pom
> -------------------------------------------
>
> Key: SHALE-200
> URL: http://issues.apache.org/struts/browse/SHALE-200
> Project: Shale
> Type: Bug
> Components: Core
> Versions: 1.0.3
> Environment: WinXP
> Reporter: Hermod Opstvedt
>
> Because Ibiblio is not listed in the repository section of the master pom, downloads will not work properly in all situations. Patch is:
> Index: pom.xml
> ===================================================================
> --- pom.xml (revisjon 416633)
> +++ pom.xml (arbeidskopi)
> @@ -151,6 +151,13 @@
> <snapshots><enabled>true</enabled></snapshots>
> </repository>
> <repository>
> + <id>ibiblio</id>
> + <name>Ibiblio</name>
> + <url>http://www.ibiblio.org/maven2</url>
> + <releases><enabled>true</enabled></releases>
> + <snapshots><enabled>true</enabled></snapshots>
> + </repository>
> + <repository>
> <id>java.net</id>
> <name>java.net Maven 1 Repository</name>
> <url>https://maven-repository.dev.java.net/nonav/repository</url>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (SHALE-200) Missing repository definition in
master pom
Posted by "Wendy Smoak (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SHALE-200?page=comments#action_37593 ]
Wendy Smoak commented on SHALE-200:
-----------------------------------
This is the 'central' repository that Maven 2 uses by default. I've never had to add it to a pom to get a m2 project to build.
Is there a special situation that this helps with? Maybe there's another solution, such as putting it in your own settings.xml?
> Missing repository definition in master pom
> -------------------------------------------
>
> Key: SHALE-200
> URL: http://issues.apache.org/struts/browse/SHALE-200
> Project: Shale
> Type: Bug
> Components: Core
> Versions: 1.0.3
> Environment: WinXP
> Reporter: Hermod Opstvedt
>
> Because Ibiblio is not listed in the repository section of the master pom, downloads will not work properly in all situations. Patch is:
> Index: pom.xml
> ===================================================================
> --- pom.xml (revisjon 416633)
> +++ pom.xml (arbeidskopi)
> @@ -151,6 +151,13 @@
> <snapshots><enabled>true</enabled></snapshots>
> </repository>
> <repository>
> + <id>ibiblio</id>
> + <name>Ibiblio</name>
> + <url>http://www.ibiblio.org/maven2</url>
> + <releases><enabled>true</enabled></releases>
> + <snapshots><enabled>true</enabled></snapshots>
> + </repository>
> + <repository>
> <id>java.net</id>
> <name>java.net Maven 1 Repository</name>
> <url>https://maven-repository.dev.java.net/nonav/repository</url>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (SHALE-200) Missing repository definition in
master pom
Posted by "Hermod Opstvedt (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SHALE-200?page=comments#action_37611 ]
Hermod Opstvedt commented on SHALE-200:
---------------------------------------
I know about Maven2 and proxies ( have been using Maven2 for quite a while) - What I was referring to, was that I think that the "repositories" section in the main pom is creating problems. I have not verified this, but I think that it will override other settings in settings.xml. When I configured in ibiblio as another repository everything worked ok. Actually, I also tested with that section commented out and it ran absolutelty fine.
> Missing repository definition in master pom
> -------------------------------------------
>
> Key: SHALE-200
> URL: http://issues.apache.org/struts/browse/SHALE-200
> Project: Shale
> Type: Bug
> Components: Core
> Versions: 1.0.3
> Environment: WinXP
> Reporter: Hermod Opstvedt
>
> Because Ibiblio is not listed in the repository section of the master pom, downloads will not work properly in all situations. Patch is:
> Index: pom.xml
> ===================================================================
> --- pom.xml (revisjon 416633)
> +++ pom.xml (arbeidskopi)
> @@ -151,6 +151,13 @@
> <snapshots><enabled>true</enabled></snapshots>
> </repository>
> <repository>
> + <id>ibiblio</id>
> + <name>Ibiblio</name>
> + <url>http://www.ibiblio.org/maven2</url>
> + <releases><enabled>true</enabled></releases>
> + <snapshots><enabled>true</enabled></snapshots>
> + </repository>
> + <repository>
> <id>java.net</id>
> <name>java.net Maven 1 Repository</name>
> <url>https://maven-repository.dev.java.net/nonav/repository</url>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (SHALE-200) Missing repository definition in
master pom
Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SHALE-200?page=comments#action_37607 ]
Craig McClanahan commented on SHALE-200:
----------------------------------------
Hermod, if you are behind a corporate firewall (as i am), what you really need to do is tell Maven that it should use an appropriate proxy server. Here's what I have in my ~/.m2/settings.xml file (with hostnames obfuscated) so that I can to Maven2-based development:
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>xxxxx</host>
<port>8080</port>
</proxy>
<proxy>
<active>true</active>
<protocol>https</protocol>
<host>xxxxx</host>
<port>8080</port>
</proxy>
</proxies>
With this in my settings.xml file, I can successfully build Maven based projects behind a firewall.
> Missing repository definition in master pom
> -------------------------------------------
>
> Key: SHALE-200
> URL: http://issues.apache.org/struts/browse/SHALE-200
> Project: Shale
> Type: Bug
> Components: Core
> Versions: 1.0.3
> Environment: WinXP
> Reporter: Hermod Opstvedt
>
> Because Ibiblio is not listed in the repository section of the master pom, downloads will not work properly in all situations. Patch is:
> Index: pom.xml
> ===================================================================
> --- pom.xml (revisjon 416633)
> +++ pom.xml (arbeidskopi)
> @@ -151,6 +151,13 @@
> <snapshots><enabled>true</enabled></snapshots>
> </repository>
> <repository>
> + <id>ibiblio</id>
> + <name>Ibiblio</name>
> + <url>http://www.ibiblio.org/maven2</url>
> + <releases><enabled>true</enabled></releases>
> + <snapshots><enabled>true</enabled></snapshots>
> + </repository>
> + <repository>
> <id>java.net</id>
> <name>java.net Maven 1 Repository</name>
> <url>https://maven-repository.dev.java.net/nonav/repository</url>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira