Integrating Maven 2 and WebLogic Portal with CMS ,Spring hibernate struts
Gerald Nunn’s blog
http://www.gexperts.com/articles/weblogic-maven.asp .
I just changed the weblogic version from 9.2.0 to 10.0.0 and added the cms specific dependencies, see below
Added for Content Management
<dependency>
<groupid>weblogic-portal-cms</groupId>
<artifactid>content-management-app-lib</artifactId>
<version>10.0.0</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupid> weblogic-portal-cms</groupId>
<artifactid>content-management-web-lib</artifactId>
<version> 10.0.0</version>
<type> pom</type>
<scope> provided</scope>
</dependency>
added the dependencies in the script to run manually
mvn install:install-file -Dfile=%BEA_HOME%\wlserver_10.0\cm\lib\modules\content-management-app-lib.ear -DgroupId=weblogic-portal-cms -DartifactId=content-management-app-lib -Dversion=10.0.0 -Dpackaging=ear -DgeneratePom=true
mvn install:install-file -Dfile=%BEA_HOME%\wlserver_10.0\cm\lib\modules\content-management-web-lib.war -DgroupId=weblogic-portal-cms -DartifactId=content-management-web-lib -Dversion=10.0.0 -Dpackaging=war
For spring and hibernate added the following to my webapp pom.xml
Spring && Hibernate3
<dependency>
<groupid>org.springframework</groupId>
<artifactid>spring-hibernate3</artifactId>
<version>2.0-m4</version>
</dependency>
I encountered an missing dependency for javax.sql:jdbc-extjar , this can be resolved by adding the following within the repositories tag of your maven/conf/settings.xml
<repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven</name>
<url>http://download.java.net/maven/2/</url>
<layout>default</layout>
</repository>
the above mentioned will take care of all the sun’s jar not found in ibiblo repository