Oracle Developer Cloud Service Local Maven Repository and Oracle Maven Repository


If your project utilizes Oracle libraries you can configure Oracle Maven repository under Configure Buil Job|Environment with your OTN credentials.

devcs1.png

If your project utilizes other Oracle libraries you can upload them to the project’s local Maven reposository.

devcs2.png

In additio must update your pom with references to the local maven repo such as:

    <repositories>

        <repository>

            <id>maven.oracle.com</id>

            <releases>

                <enabled>true</enabled>

            </releases>

            <snapshots>

                <enabled>false</enabled>

            </snapshots>

            <url>https://maven.oracle.com</url>

            <layout>default</layout>

        </repository>

        <repository>

            <id>SCFCOT_repo</id>

            <name>SCFCOT Maven Repository</name>

            <url>https://developer.em2.oraclecloud.com/profile/developerxxxxx-a4xxxxx/s/developerxxxxx-axxxx_scfcot_xxxx/maven/</url>

        </repository>        

    </repositories>
This settings can help you solve issues such as:

[FATAL] Non-resolvable parent POM for com.xxx:yyy:0.0.1-SNAPSHOT: Could not find artifact com.oracle.weblogic.archetype:wls-common:pom:12.2.1-2-0 in central (https://repo.maven.apache.org/maven2) and ‘parent.relativePath’ points    at  no local POM @ line xxx, column yyy

 

Enjoy 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.