I'm developing Oracle custom authentication plugin(OAM 11g) using maven dependencies.I've followed all the steps listed in Oracle documentation to add maven dependencies:
1)Created account with OTN and accepted the licence 2)Created my setting file and POM file and added the following:
<server>
    <id>maven.oracle.com</id>
      <username>[email protected]</username>
        <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>
After following these steps, I still getthe error "The import oracle.security cannot be resolved" in my Java class, which means the dependencies and not resolved in my program. I would appreciate if anybody out there can help me understand this issue.Thanks
                        
You need add following repository definition to your pom.xml.
You get more Information here setting up multiple repositories