mvn install:install-file and mvn deploy:deploy-file are your friends
-- and they are very well-documented [1] [2] including a FAQ [3].
Assuming you have oc4j.jar and want to push it into the shared
corporate repo:

mvn deploy:deploy-file -DgroupId=com.oracle.jdeveloper
-DartifactId=oc4j -Dversion=10.1.3.2 -Dpackaging=jar -Dfile=oc4j.jar
-DgeneratePom=true -DrepositoryId=your_id
-Durl=file://somewhere/m2/repo

You will have to pick the groupId, artifactId, version for all your
jars. Also, you will need to follow the directions regarding setting
up the repositoryId in your settings.xml and of course get the right
file:// path. But that's it.

Wayne

[1] http://maven.apache.org/plugins/maven-install-plugin/usage.html
[2] http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
[3] http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html

On 6/7/07, Andrew Birchall <[EMAIL PROTECTED]> wrote:
Hello,
I am trying to Mavenize a multi-module J2EE Oracle ADF project that is
currently built with several Ant scripts and developed in JDeveloper
10.1.3.2

One of the main problems I have is that the project depends on many
Artifacts (jar files) distributed with JDeveloper.

Thus, In order to build this project with Maven I have to set up an
internal repository in our company with all the JDeveloper jar files.
At the moment I am trying to do this with the file:// protocol on a
network share.

However I'm not really sure the way to go about this and I can't seem
to find any good documentation on it. Non of the jars distributed with
JDeveloper are versioned. Do I have to version all the jar files
myself and put them in the correct package directories, in order to
conform to the Maven repository layout convention? How do I know what
version to re-name the jar files to?

If I do have to do this its a BIG and tedious job because there's so
many dependencies. And what about the pom files for each jar, how do
these get created?

I'd be very grateful to hear from anyone who can help
Kind regards
Andy Birchall

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to