Hi

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 absolutlty fine.

Hermod

-----Original Message-----
From: Craig McClanahan (JIRA) [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 7:33 AM
To: issues@struts.apache.org
Subject: [jira] Commented: (SHALE-200) Missing repository definition
inmaster pom


    [ 
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


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to