I am extremely happy to see a serious interest in the maven2 integration.
I am also confident that Gavin will love this ;-)


I am not sure that it is something new for you people. May be it will be 
helpful.
This is the POM I have used for building SEAM 1.1.1.BETA2

POM.XML
<?xml version="1.0" encoding="UTF-8"?>
  | <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
  |   <modelVersion>4.0.0</modelVersion>
  |   <groupId>org.jboss.seam</groupId>
  |   <artifactId>jboss-seam</artifactId>
  |   <packaging>jar</packaging>
  |   <version>1.1.0.BETA2</version>
  |   <description>qqq</description>
  |   <dependencies>
  |     <!--dependency>
  |       <groupId>org.hibernate</groupId>
  |       <artifactId>hibernateAll</artifactId>
  |       <version>SEAM.1.1.0.BETA2</version>
  |     </dependency-->
  |     <dependency>
  |       <groupId>org.hibernate</groupId>
  |       <artifactId>hibernate</artifactId>
  |       <version>3.2.0.ga</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>org.hibernate</groupId>
  |       <artifactId>hibernate-annotations</artifactId>
  |       <version>3.2.0.ga</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>org.hibernate</groupId>
  |       <artifactId>hibernate-entitymanager</artifactId>
  |       <version>3.2.0.ga</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>org.jboss.ejb3</groupId>
  |       <artifactId>jboss-ejb3-all</artifactId>
  |       <version>SEAM.1.1.0.BETA2</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>org.jboss.jbpm</groupId>
  |       <artifactId>jbpm</artifactId>
  |       <version>3.1.2</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>org.jboss.drools</groupId>
  |       <artifactId>drools-core</artifactId>
  |       <version>3.0.1</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>org.jboss.drools</groupId>
  |       <artifactId>drools-compiler</artifactId>
  |       <version>3.0.1</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>org.jboss.cache</groupId>
  |       <artifactId>jboss-cache</artifactId>
  |       <version>SEAM.1.1.0.BETA2</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>javax.portlet</groupId>
  |       <artifactId>portlet-api</artifactId>
  |       <version>1.0</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>org.testng</groupId>
  |       <artifactId>testng</artifactId>
  |       <classifier>jdk15</classifier>
  |       <version>5.1</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>log4j</groupId>
  |       <artifactId>log4j</artifactId>
  |       <version>1.2.13</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>commons-logging</groupId>
  |       <artifactId>commons-logging</artifactId>
  |       <version>1.1</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>commons-collections</groupId>
  |       <artifactId>commons-collections</artifactId>
  |       <version>3.2</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>org.apache.myfaces.core</groupId>
  |       <artifactId>myfaces-api</artifactId>
  |       <version>1.1.4</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>javax.el</groupId>
  |       <artifactId>el-api</artifactId>
  |       <version>1.2</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>javax.el</groupId>
  |       <artifactId>el-ri</artifactId>
  |       <version>1.2</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>javax.servlet</groupId>
  |       <artifactId>jstl</artifactId>
  |       <version>1.1.2</version>
  |     </dependency>
  |     <dependency>
  |       <groupId>javax.servlet</groupId>
  |       <artifactId>servlet-api</artifactId>
  |       <version>2.5</version>
  |     </dependency>
  |   </dependencies>
  |   <build>
  |     <plugins>
  |             <plugin>
  |                     <groupId>org.apache.maven.plugins</groupId>
  |                     <artifactId>maven-compiler-plugin</artifactId>
  |                     <version>2.0</version>
  |                     <configuration>
  |                             <source>1.5</source>
  |                             <target>1.5</target>
  |                     </configuration>
  |             </plugin>
  |     </plugins>
  |     <outputDirectory>target/jboss-seam.jar</outputDirectory>
  |   </build>
  | </project>


And this is files that I have to put in my local repository.

mvn install:install-file 
-Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\jboss-ejb3-all.jar 
-DgroupId=org.jboss.ejb3 -DartifactId=jboss-ejb3-all -Dversion=SEAM.1.1.0.BETA2 
-Dpackaging=jar 
  | 
  | mvn install:install-file 
-Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\jbpm-3.1.2.jar 
-DgroupId=org.jboss.jbpm -DartifactId=jbpm -Dversion=3.1.2 -Dpackaging=jar
  | 
  | mvn install:install-file 
-Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\drools\lib\drools-core-3.0.3.jar 
-DgroupId=org.jboss.drools -DartifactId=drools-core -Dversion=3.0.3 
-Dpackaging=jar
  | 
  | mvn install:install-file 
-Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\drools\lib\drools-compiler-3.0.3.jar
 -DgroupId=org.jboss.drools -DartifactId=drools-compiler -Dversion=3.0.3 
-Dpackaging=jar
  | 
  | mvn install:install-file
  |   -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\jboss-cache-jdk50.jar 
  |   -DgroupId=org.jboss.cache -DartifactId=jboss-cache 
  |   -Dversion=SEAM.1.1.0.BETA2 -Dpackaging=jar
  | 
  | mvn install:install-file -Dfile=c:\javaprogs\new\hibernate-3.2\lib\jta.jar 
  |   -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B 
  |   -Dpackaging=jar
  | 
  | mvn install:install-file 
  |   -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\el-api.jar 
  |   -DgroupId=javax.el -DartifactId=el-api -Dversion=1.2 -Dpackaging=jar
  | 
  | mvn install:install-file
  |   -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\el-ri.jar 
  |   -DgroupId=javax.el -DartifactId=el-ri -Dversion=1.2 
  |   -Dpackaging=jar



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995313#3995313

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995313
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to