Hello,

I'm using Config File Management to create a settings.xml file with the 
Oracle maven repository as a <server>. The repository requires login so I'm 
using a username, password credential and the Replace All functionality. 
Unfortunately this does not work because the server requires additional 
configuration parameters: 

    <server>
      <id>maven.oracle.com</id>
      <username>username</username>
      <password>password</password>
      <configuration>
        <basicAuthScope>
          <host>ANY</host>
          <port>ANY</port>
          <realm>OAM 11g</realm>
        </basicAuthScope>
        <httpConfiguration>
          <all>
            <params>
              <property>
                <name>http.protocol.allow-circular-redirects</name>
                <value>%b,true</value>
              </property>
            </params>
          </all>
        </httpConfiguration>
      </configuration>
    </server>

When I run mvn clean install with this pom, the effective pom drops the 
<configuration> part and only has the id, username and password. This then 
causes the build to fail.

Is this a known bug or am I doing something wrong?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d7911cc6-99a6-4425-8371-956a568e3e68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to