JDeveloper 11g and Maven

Submitted by Jochus on Thu, 03/01/2013 - 21:06 | Posted in: Java



This evening, I played a little bit with Oracle JDeveloper 11g (http://www.oracle.com/technetwork/developer-tools/jdev/overview/index.h…). I'm using Eclipse since 2007 as IDE and I'm very happy with it, but I was wondering how JDeveloper works.

I wanted to import some existing Java projects into my JDeveloper workspace. I'm used to run the $ mvn eclipse:eclipse command to create a .project and .classpath file, but I noticed there's no $ mvn jdeveloper:jdeveloper command. However, after Googling, I found that Trinidad developed a custom plugin which does exactly the same.

To let it work, add the following tag in the pom.xml file:

<build>
    <plugins>
      <plugin>
        <groupId>org.apache.myfaces.trinidadbuild</groupId>
        <artifactId>maven-jdev-plugin</artifactId>
      </plugin>
    </plugins>
</build>

Then, run the following command:

$ mvn jdev:jdev

This command will create a JDeveloper .jpr project file which you can easily import in JDeveloper.

Add new comment

The content of this field is kept private and will not be shown publicly.

Full HTML

  • Lines and paragraphs break automatically.
  • You can caption images (data-caption="Text"), but also videos, blockquotes, and so on.
  • Web page addresses and email addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <cpp>, <css>, <html5>, <java>, <javascript>, <php>, <sql>, <xml>. The supported tag styles are: <foo>, [foo].
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.