Maven support in 11.1.1.2 / repository question

Oracle team,
Great job on 11.1.1.2, nice to see the developer preview of Maven support. I am still in the process of downloading it; while it's coming down, I thought I'd post a question..
I really like Maven, and I'd like to use it for ADF projects. With what looks like nice basic Maven support in JDev, there is only one thing that holds me back at the moment, and that is having the Oracle ADF libraries in a repository. Yes, it's quite easy for me to put them in my own repository, and that is something I'd like to move forward with. However, in order to make that process more resilient, it would be nice if Oracle published a recommended structure for the artifact names; in that way, I could be more or less sure that I won't have to re-do everything in the future. I've even considered (if Oracle does publish a recommended taxonomy) writing an extension that would snarf all of the JDeveloper library definitions and publish them to a repository, and furthermore to change the local library definitions to point to my local Maven copy.
Thoughts on this?
John

Muhammed,
I'm not clear on your question, but here is an example. We have a project that uses ADF BC4J.
Here is a example of a dependency specification from the project pom:
<dependency>
<groupId>com.oracle.jdeveloper.library</groupId>
<artifactId>BC4J_Runtime</artifactId>
<version>${jdev.release}</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>com.oracle.jdeveloper.jars.lib</groupId>
<artifactId>xmlparserv2</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.jdeveloper.jars.lib</groupId>
<artifactId>xml</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.jdeveloper.jars.jlib</groupId>
<artifactId>oracle-el</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.jdeveloper.jars.jlib</groupId>
<artifactId>jsp-el-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.oracle.jdeveloper.library</groupId>
<artifactId>BC4J_Oracle_Domains</artifactId>
<version>${jdev.release}</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>com.oracle.jdeveloper.jars.BC4J_jlib</groupId>
<artifactId>bc4jdatum</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.oracle.jdeveloper.library</groupId>
<artifactId>ADF_Model_Runtime</artifactId>
<version>${jdev.release}</version>
<type>pom</type>
</dependency>
And here is a fragment from the mvn dependency:tree command:
[INFO] +- com.oracle.jdeveloper.library:BC4J_Runtime:pom:10.1.3.4.0:compile
[INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:adfshare:jar:10.1.3.4.0:compile
[INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:bc4jmt:jar:10.1.3.4.0:compile
[INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:collections:jar:10.1.3.4.0:compile
[INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:bc4jct:jar:10.1.3.4.0:compile
[INFO] | +- com.oracle.jdeveloper.jars.jlib:jdev-cm:jar:10.1.3.4.0:compile
[INFO] | +- com.oracle.jdeveloper.jars.jlib:ojmisc:jar:10.1.3.4.0:compile
[INFO] | \- com.oracle.jdeveloper.jars.jlib:commons-el:jar:10.1.3.4.0:compile
[INFO] +- com.oracle.jdeveloper.library:BC4J_Oracle_Domains:pom:10.1.3.4.0:compile
[INFO] | \- com.oracle.jdeveloper.jars.BC4J_lib:bc4jdomorcl:jar:10.1.3.4.0:compile
[INFO] +- com.oracle.jdeveloper.library:ADF_Model_Runtime:pom:10.1.3.4.0:compile
[INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:adfm:jar:10.1.3.4.0:compile
[INFO] | +- com.oracle.jdeveloper.jars.BC4J_jlib:adfui:jar:10.1.3.4.0:compile
[INFO] | \- com.oracle.jdeveloper.jars.BC4J_lib:adfbinding:jar:10.1.3.4.0:compile
Note that the top level is a pom that relates to a JDeveloper Library, which is then composed of JARs. The intention was to maintain as close to a one to one mapping between the JDeveloper definitions and the maven artifacts. So, JDeveloper Libraries become maven poms.

Similar Messages

  • HT5312 Dear Apple Support ,  I can't remember my security question answers , so Please help me to Create new Security Question for my Account .  Best wishes

    Dear Apple Support , I can't remember my security question answers , so Please help me to Create new Security Question for my Account .  Best wishes
    <Email Edited by Host>

    Welcome to the user to User Technical Support Forum provided by Apple.
    Please do not post personal information on a Public Forum.
    I have requested the Hosts remove it for you
    For your issue...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact
    More Info >  Apple ID: All about Apple ID security questions
    Note:
    You can only set up and/or change a Rescue Email Before you forget the questions/answers.

  • Maven Support for JE, testers needed!

    Hello Berkeley DB Java Edition Fans and Developers!
    In an effort to better support our developers we've setup what we hope is a functional Maven repository, but we'd like you to test it and let us know if we've been successful or not. I've tried to test it, but to be perfectly honest I'm not a Maven expert. If we've done anything in a non-standard or imperfect manner please speak up and let me know so that I can fix things now.
    Here is the structure, the ever important POM file is found at:
    http://download.oracle.com/maven/com/sleepycat/je/<release>/je-<release>.pom
    e.g.
    http://download.oracle.com/maven/com/sleepycat/je/3.2.76/je-3.2.76.pom
    In that directory you will find:
    je-<release>.pom
    je-<release>.pom.md5
    je-<release>.pom.sha1
    je-<release>.jar
    je-<release>.jar.md5
    je-<release>.jar.sha1
    sources.jar
    sources.jar.md5
    sources.jar.sha1
    Also, I've uploaded a copy of each release's documentation tree to:
    http://download.oracle.com/berkeley-db/docs/je/<release>/
    e.g.
    http://download.oracle.com/berkeley-db/docs/je/3.2.76/
    Finally, the Sleepycat Public (open source) license file for JE is located at:
    http://download.oracle.com/maven/com/sleepycat/je/license.txt
    I believe that if you put the following into your Ant build.xml file it will pick up the JE .jar file using Maven, let me know if this is wrong:
      <!-- Use Maven to fetch Oracle Berkeley DB Java Edition -->
      <path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks-2.0.9.jar" />
      <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" classpathref="maven-ant-tasks.classpath" />
      <artifact:remoteRepository id="berkeleydb-je.repository" url="http://ossus.com/maven" />
      <artifact:dependencies pathId="dependency.classpath">
        <remoteRepository refid="berkeleydb-je.repository" />
        <dependency groupId="com.sleepycat" artifactId="je" version="3.2.76"/>
      </artifact:dependencies>
    --------------------------------And here is an example project POM file for those who use Maven to build their applications. Let me know if this is correct and usable or if I've made mistakes or there are ways to improve it as well.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://maven.apache.org/maven-v4_0_0.xsd"?>
      <modelVersion>4.0.0</modelVersion>
      <dependencies>
        <dependency>
          <groupId>com.sleepycat</groupId>
          <artifactId>je</artifactId>
          <version>3.2.76</version>
        </dependency>
      </dependencies>
      <repositories>
        <repository>
          <releases>
            <enabled>false</enabled>
            <updatePolicy>always</updatePolicy>
            <checksumPolicy>warn</checksumPolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
            <checksumPolicy>fail</checksumPolicy>
          </snapshots>
          <id>oracleReleases</id>
          <name>Oracle Released Java Packages</name>
          <url>http://download.oracle.com/maven</url>
          <layout>default</layout>
        </repository>
      </repositories>
    </project>
    --------------------------------If one or more Maven user could give this a try it would greatly help me out.
    Questions I have are:
    1. Did I put the source code up in the proper place/package/name/etc?
    2. Did I leave anything out of the POM?
    3. Did I put too much into the POM
    4. Is there some other file I need to put somewhere that tells people what the latest version is of JE (and is that something that indicates the latest version for major releases, as in the latest version of the 2.x series and then also the latest version of the 3.x series, etc.)?
    5. Does this work? :)
    Thanks in advance for your help,
    -greg
    Greg Burd | Senior Product Manager
    Oracle Berkeley DB | ORACLE United States

    Update: I changed our POM to refer to the new version, 3.3.62, and again the download, build and test was successful. So, upgrading JE versions required just a few keystrokes.
    FYI, you've still got a license typo, "Sleepcyat", in both the 3.2.76 and 3.3.62 POMs.
    Also, though it seems harmless, and only happens when using the m2eclipse inside-Eclipse maven build, I'm still getting the following warning on builds:
    [WARN] POM for 'com.sleepycat:je:pom:3.3.62:compile' is invalid. It will be ignored for artifact resolution. Reason: Parse error reading POM. Reason: Unrecognised tag: 'license' (position: START_TAG seen ...</organization>\n\n <license>... @15:12)
    I don't know enough about Maven to know if there's a 'higher-level' way to indicate the latest version overall, or latest within a version-prefix. I suspect people should make that determination from prose elsewhere. They might also try to determine other releasesby browsing the containing directory -- ie: http://download.oracle.com/maven/com/sleepycat/je/ -- though I see that doesn't work, only the direct URLs to the POMs and other resources answer.
    Your 'sources' URLs in both POMs trigger a JAR download as I would expect, but the Javadoc URLs both generate 404s. (I'm not sure if any automated tools depend on these delivering content, as opposed to the values just being there for human reference.)
    HTH -- though the main message is "it's working the way I'd expect!"
    - Gordon @ IA

  • Maven support

    JDeveloper Team,
    First of all, congratulations for putting out a new release with significant improvements in features. This is great and I am excited to try out all the new stuff. Looking at the release notes and feature list, I noticed that support for maven is still not available in JDeveloper. While I am aware that there exists a maven plugin, it is very limited in functionality. I have been using it for a while and the major issue is that we need to recreate JDeveloper project after adding a new dependency. Also, it does not have support for downloading sources and configuring it automatically. It's really a pain to do it manually for each project. I am aware of the fact that JDeveloper team is current working on a new maven plugin as mentioned elsewhere in the forum. Is this plugin available for this release? if not, could you please let us know when we can expect this? I have been struggling for over 4 years without adequate support for maven in JDeveloper and I am sure there are many others who face a similar situation. My sincere and humble request for JDeveloper team is to consider this a high priority if possible and make it available for JDeveloper lovers.
    Thank you,
    Bala Raman.

    Shay,
    Thank you so much for your response. This is great news and I am looking forward towards the next release.
    Cheers,
    Bala Raman.

  • [HTML5 App] "authentication not supported" when attempt to clone git repository on Eclipse

    Greetings,
      I attempt to clone a project from git.hanatrial.ondemand.com to eclipse by following Rui's guideline (Lightweight HTML5 apps and Git on SAP HANA Cloud Platform) but authentication not supported error prompted.
      Do I need additional authentication in order to do that?
    BR,
    Chapman

    lykwydchykyn wrote:is this indeed an authentication issue of some kind?
    The "Permission denied (publickey)" message suggests that this is the case. Double-check that your ~/.ssh/config and the public key on the AUR web interface are correct.

  • Designer repository question

    We currently have our designer repository at configuration 4.0.12.96.16. We were told that this version could be accessed by both Designer 6i and Designer 9i. The repository resides on an 8i database right now and we want to go to a 10g database.
    I've checked the designer documentation on how to upgrade from a 6i or higher to 10g. However, i want to know if my designer 6i could still access this repository if i upgrade only the repository. The certification matrix doesn't cover designer 6i anymore...
    Has anyone gone through this upgrade and can share lessons learned?

    If you just upgrade de database version of the database where the repository resides from 8i to 10 there should be no problem. But if you upgrade the designer repository from 9i to 10g you will (probably) not be able to access this repository from a 6i or 9i client (only 10g client).

  • OBIEE 11g Repository Question: session context

    The Metadata Repository Builder's Guide says in chapter 13, "Note: Alternatively, you can use the database session context to pass end user identity to the database. Use a connection pool script to set up session context. Note that this approach does not rely on database authentication."
    However, no example or instruction is given to show/explain how to do that. Does anyone know how to set up a connection pool script to pass the :USER value to the database session context object? We have to pass the user ID of the Analytics user to the database so as to apply VPD policies.
    Thanks,
    Ken

    I'm trying also to get work VPD with OBIEE 11.1.1.5, but no luck. I have done almost all the same as are in Venkatakrishnan's example. It seems that select statement with set function in "execute befire query" goes to the database, but it have no effort because query in Answers returns no rows, means that :USER is not forwarded to the policy function. Is it possible that statement in "execute before query" and Answer request are not in same database session? Have anyone got work VPD with OBIEE 11.1.1.5? Everything works ok for example in SQLPlus and in SQL Developer.
    - Risto
    Edited by: risto.soikkeli on 6.8.2011 17:56
    Edited by: risto.soikkeli on 6.8.2011 23:04

  • Solution Manager 4.0 and SAP R3 4.7E - Business Process Repository Question

    When I am in solution manager setting up my business processes (solar01) to select my logical component with the drop-down I do not see my SAP R3 ERP 4.7 system available for selection.  They do exist in my SLD (SMSY) and all the components with the 4.7 system.  Does anyone know why they are not showing up in the drop-down for business process repository selection help?
    Thanks
    Skip Ford

    Hi,
    For how long the installation process has been running. Check the following.
    1. The virtual memory page size that you have assigned.
    2. The hard disk free space.
    3. The Virtual memory should be optimized size, should not be larger than the free space available.
    These are performance optimization settings.
    I guess the installation would take around ten hours, I am not sure.
    But one thing is sure <b>SAP</b> is not that bad to get aborted abruptly.
    Keep Patience while installing. Before that take care that your system satisfies, requirements.
    Hope I was clear. Feel free to get back, incase you face any problem.
    --Thanks and Regards,
    Ragu
    ERP,
    Suzlon Energy Limted, Pune
    Extn: 2638
    +919370675797
    I have no limits for others sky is only a reason

  • Design Time Repository question.

    Hi, I'm clustering my SOA Suite per a consultant and this documentation:
    http://download-west.oracle.com/docs/cd/B31017_01/core.1013/b28939/j2ee.htm
    In section 3.1.19 Configuring JNDIs for the Topic and Topic Connection Factory, it states:
    Using Oracle Enterprise Manager 10g, follow these steps to configure JNDIs in the Design Time and both ESB repository instances.
    Now I've followed these steps for the ESB repository, but I find it unclear as to what it's referencing with the "Design Time repository".
    I'm having an issue where the SOAP WSDL's pull up without problem, but the SOAP Endpoint URI's always fail, and I'm wondering if this may have something to do with it.
    Thanks for your help!
    David

    Hi Paolo,
    I am doubtful about the use of NDS. This is because the libraries available with NDS will be for WAS 6.40 and EP6 SP2 i feel is on WAS 6.20. I am really not sure about this but my main point is that there may be library version conflict issues.
    I dont think there is any plugin available for DTR.
    But then DTR is a WebDAV based server. Hence any WebDAV client should be able to solve your purpose.
    But this is a good thread. Hope others will also provide their suggestions on this.
    Regards
    Sidharth

  • No 64-bit vista support...? Starting to question my relationship with Apple

    Apple still isn't fully supporting 64-bit vista, and there is no word as to if or when they will do so. Every time I open itunes I have to tolerate the "not correct installed" message and the inability to burn CDs.
    I've spent thousands of dollars on ipods, music, and videos. I did so expecting that apple would support me as a customer. It has been months since vista was released, and at this point apple is just being negligent in their lack of support. This is a main-stream windows operating system here. It is entirely reasonable to expect support for it.
    I'm starting to reconsider my relationship with Apple. I certainly won't be expanding my library any time soon. Not when they have the ability to hold me hostage by limiting their support. I'm tempted to cut and run. I'll take a big loss on my library, but there may be no other choice.
    People have posted links to some 3rd party driver you can install to work around the problem... but I'm not looking for a work-around. I'm looking for reasonable support from a company which has taken a good deal of my cash.
    Apple, please do the right thing and resolve this issue.

    http://www.gearsoftware.com/support/drivers.cfm
    these aren't 3rd party drivers that act as a workaround. these are necessary drivers to your computer that, for some reason, are absent from vista 64. because every other computer running vista 32 or xp has these drivers. i originally had 32 bit vista and had no issues with itunes. it was only until i got the 64bit version that i had any problems. but seriously, this is probably the only way you'll get around that issue. i don't see apple caring when they're spending all they're resources on releasing new ipods and iphones that have their own sets of problems.

  • Merge Repository - Question

    I have tested merging repositories using some threads and the following link:
    http://oraclebizint.wordpress.com/2007/11/22/oracle-bi-ee-101332-merging-repositories/
    The scenario I set up was that I made a copy of the Paint.rpd file and renamed it Paint2.rpd. In this Paint2.rpd, I added two new columns to the Products folder in the Business and Presentation layer - simple text columns named ColumnA and ColumnB. I now want to merge these changes.
    The merge steps -
    - I make a copy of the Paint.rpd and call it CopyofPaint.rpd
    - I open the Paint.rpd in offline mode
    - I select File-Merge and select the CopyofPaint.rpd
    - For the Modified Repository (the middle drop-down) I select Paint2.rpd
    Ok I am presented with a dialog box that has nothing/blank values under the columns - Type/Name/Description/Decisions, however, when I select Merge it merges my two new columns (ColumnA and ColumnB) into a new repository file.
    This goes totally against what I am seeing in the Tool Documentation - my assumption is that I would see the two new columns under Type/Name/Description/Decisions and allow me to select whether I want to merge both of them or one of them. (The Decisions drop-down). It basically looks like the steps above are only providing an all or nothing approach.
    Is my assumption wrong? If these are the wrong steps please let me know, this is a very simple test where I followed the posts and it still does not allow me to pick or choose what I want to merge.
    I look forward to the responses.

    Venkat,
    Thank you for the response I read your new post, however, per my example, going that route only lets me merge over the Paint and Paint Exec Presentation catalogs. Since it is now compared against the Blank repository it finds the full folder/catalog. Again the all or nothing approach, if I just wanted to bring over ColumnA and not ColumnB I wouldn't be able to in this new approach.
    When you take the merge options for what they are presented as you would think it would show the differences at the levels/choics you want. If I select the CopyofPaint.rpd as the Original and the Paint2.rpd as the Modified I am perplexed as why it doesn't show the two new columns as the difference instead of leaving it blank. Would you agree? Or am I looking at this wrong? Going through the OBIEE Admin document seems to present the scenario where I would see the 2 columns and have a choice of merging both or just one.
    Thanks, I appreciate your input

  • 3.0.9 Portlet Repository Question

    We recently upgraded from 3.0.6.7.2 for NT to the 3.0.9 version for NT. When this happened the portlet respository was also upgraded. All of my old portlets show up at the top level of the portlet repository, but all my new portlets show up in a provider subfolder under "Other Providers". Is there a way to make my new portlets show up at the top level in the portlet repository instead of two levels down? I have been moving them for now, but this is a tedious and inefficient process. Any thoughts?
    Thanks,
    Kim
    null

    Kim,
    See my response to your other post.

  • Omni Portlet (Repository Question)

    I have created a few omni portlets on a page but am wondering where they are being stored? I want them to be available in the repository list for other pages, but am not sure how to do this.
    Can anyone help me?
    Thanks

    It is not the best solution, but you could try to create and share your portlet.
    Or try to create your portlet in page and make your page as portlet.
    .....

  • Local Repository Question...

    First - I really appreciate all the work that everyone has put into this, I'm really starting to like this distro a lot...
    Second...
    Still pretty new to the linux world. Messed with Xubuntu for the last few months, but I wanted to learn more... So I've ended up with Arch...
    I've done a couple of installs to a GUI with some success, but still have a few things to get figured out...
    Third - My question...
    I spend a lot of time in places where I do not have internet access and I really like to mess, so I've download all of the files from an extra repository to set up a local repo on my hd.
    I ran the perl script quickhack from the wiki against the directory, copied the file the script created to the directory with all of the other files and renamed it to "current.db.tar.gz"
    From there I set my pacman.conf to point to the directory and done a sync/refresh and everything works fine...
    I can search/install any of the files that are listed, but when I try to do "pacman -S xfce4" or "pacman -S gnome" I get the "not found in sync db"... I can install any of the separate files but not an entire group...
    What is it that I'm overlooking ?
    Thanks...

    sparrow wrote:
    I spend a lot of time in places where I do not have internet access and I really like to mess, so I've download all of the files from an extra repository to set up a local repo on my hd.
    I ran the perl script quickhack from the wiki against the directory, copied the file the script created to the directory with all of the other files and renamed it to "current.db.tar.gz"
    From there I set my pacman.conf to point to the directory and done a sync/refresh and everything works fine...
    Why did you do that? There are few ways to create local mirror (full or only installed packages) of Arch repos, all described on Wiki.
    You don't need to merge Arch repos into one local repository.
    sparrow wrote:
    I can search/install any of the files that are listed, but when I try to do "pacman -S xfce4" or "pacman -S gnome" I get the "not found in sync db"... I can install any of the separate files but not an entire group...
    What is it that I'm overlooking ?
    That's because you regenerated repo db with this script, so you lost your groups.
    If I understand you correctly, you need to look at these articles:
    http://wiki.archlinux.org/index.php/Local_Mirror
    http://wiki.archlinux.org/index.php/How … me_Network

  • Why didn't the Apple Support Communities take me back to the question I was looking at after I logged in?  Now I have to find it again???

    That's the whole question...  Cmon people, any reasonable support site or forum or blog takes you back to the place you were looking at before you login.  Why does Apple's take me to the home page???  Not smart.  Not thinking (different or otherwise).  Not usable.

    Note:  I selected the response based on the highest level of humor.   
    What irks me is that on some bad sign-in forum sites, when you hit the back arrow, and hit refresh, it "forgets" you just signed in.  At least Apple does that part right.  But still it should remember your "intent" in signing in in the first place. 
    Actually, of course really there should be a reply button which brings up a login/signup popup which uses modern technology (like Sproutcore, or is it Ember.js eh?) to keep you in context while doing this dynamic operation which totally doesn't need to have an SEO value...  You know?

Maybe you are looking for