Wuhai’s Weblog

March 10, 2008

Maven repository / JAR

Filed under: Java — wuhai @ 6:34 pm

The JAR file ‘oracle-portlet-tags.jar’ can’t be found in maven repository.

The following can be done to work around the above issue:

mvn install:install-file -Dfile=oracle-portlet-tags.jar -DgroupId=oPortal -D
artifactId=oracle-portlet-tags.jar -Dversion=1.0 -Dpackaging=jar

In pom.xml file, add the following entries under ‘dependencies’ tag:

<dependency>
<groupId>oPortal</groupId>
<artifactId>oracle-portlet-tags</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency

Issue solved.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.