6 Replies Latest reply: May 28, 2013 6:51 AM by MukeshSPatil RSS

    POM creation in JDev 11.1.1.5 using Maven Plug in

    MukeshSPatil
      Hi all

      I have to create a POM file in JDeveloper 11.1.1.5 for my ADF project using Maven plug in. I have downloaded the plug in and kept all things default in setting.

      Now when i create a Maven POM project from New--> Gallary-->Maven POM for Project, it create a POM file but it does not have dependencies. See POM generated at last.

      I can see the dependencies in Maven setting but not generated automatically in POM. Does i need add it manually ? Maven support in JDev 11.1.1.5 is not matured like in 11.1.2

      Thanks.

      Mukesh
      =============
      <?xml version="1.0" encoding="windows-1252" ?>
      <project xmlns="http://maven.apache.org/POM/4.0.0">
      <modelVersion>4.0.0</modelVersion>
      <groupId>PreSalesViewController.jpr</groupId>
      <artifactId>PreSalesViewController.jpr</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <build>
      <sourceDirectory>src/main/java/</sourceDirectory>
      <plugins>
      <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>build-helper-maven-plugin</artifactId>
      <version>1.1</version>
      <executions>
      <execution>
      <id>add-source</id>
      <phase>generate-sources</phase>
      <goals>
      <goal>add-source</goal>
      </goals>
      <configuration>
      <sources>
      <source>
      adfmsrc
      </source>
      <source>
      src
      </source>
      <source>
      tradius/viewobjects/viewlinks
      </source>
      <source>
      tradius/viewobjects
      </source>
      </sources>
      </configuration>
      </execution>
      </executions>
      </plugin>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <version>2.0.2</version>
      <configuration>
      <source>
      1.6
      </source>
      <target>
      1.6
      </target>
      </configuration>
      </plugin>
      </plugins>
      <outputDirectory>classes/</outputDirectory>
      </build>
      </project>