3 Replies Latest reply: Apr 26, 2013 9:42 AM by dvohra21 RSS

    Using Maven 2.x in JDev 11gR2

    Nasser Fard
      Hi All,

      I'm trying to config maven in JDev 11gR2, the problem is that JDev is not sync with maven so that the jar file and containing classes cannot be read in app. Maven can build project succesfully, but JDev cannot realise external jars, so givin comile time errors!
      The Maveen config in project properties section shold be straightforward. Am I missing something? Is that a class path issue? If so, how can we check?
      I'm using this settings.xml file which is working for another project in eclipse.
      Thanks for any ideas.

      Cheers,
      Nasser

      <?xml version="1.0" encoding="UTF-8"?>
      <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <proxies>
      <proxy>
      <username>nasser.fard</username>
      <password>password</password>
      <host>apxp04.main.dva</host>
      <nonProxyHosts>localhost|localhost.localdomain|127.0.0.1</nonProxyHosts>
      </proxy>
      </proxies>
      <servers>
      <server>
      <username>admin</username>
      <password>admin123</password>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
      <id>releases</id>
      </server>
      <server>
      <username>admin</username>
      <password>admin123</password>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
      <id>snapshots</id>
      </server>
      </servers>
      <mirrors>
      <mirror>
      <mirrorOf>*</mirrorOf>
      <url>http://server:8081/nexus/content/groups/public</url>
      <id>nexus</id>
      </mirror>
      </mirrors>
      <profiles>
      <profile>
      <repositories>
      <repository>
      <releases />
      <snapshots />
      <id>central</id>
      <url>http://central</url>
      </repository>
      </repositories>
      <pluginRepositories>
      <pluginRepository>
      <releases />
      <snapshots />
      <id>central</id>
      <url>http://server:8081/nexus/content/groups/public</url>
      </pluginRepository>
      </pluginRepositories>
      <id>nexus</id>
      </profile>
      </profiles>
      <activeProfiles>
      <activeProfile>nexus</activeProfile>
      </activeProfiles>
      </settings>