[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Update to maven pom.xml

pgier do-not-reply at jboss.com
Wed Jan 17 11:59:30 EST 2007


I updated the maven build script (pom.xml) because I noticed a couple things weren't working (missing dependencies, some files not compiling).
A couple things to note: the JRockit source files are skipped because they are dependent on a file not in the maven repo.  And the JUnit tests are skipped for now.  But the project builds ok, and I put a snapshot version in the maven repository.


  | <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>jboss</groupId>
  | 	<artifactId>jboss-aop</artifactId>
  | 	<packaging>jar</packaging>
  | 	<version>snapshot</version>
  | 	<name>Maven Quick Start Archetype</name>
  | 	<url>http://maven.apache.org</url>
  | 
  |       <repositories>
  |         <repository>
  |           <id>jboss</id>
  |           <name>JBoss Inc. Repository</name>
  |           <layout>default</layout>
  |           <url>http://repository.jboss.com/maven2/</url>
  |           <snapshots>
  |             <enabled>true</enabled>
  |           </snapshots>
  |         </repository>
  |       </repositories>
  |   
  | 	<build>
  | 		<sourceDirectory>src/main/</sourceDirectory>
  | 		<testSourceDirectory>src/test/</testSourceDirectory>
  | 		<plugins>
  | 			<plugin>
  | 				<groupId>org.apache.maven.plugins</groupId>
  | 				<artifactId>maven-compiler-plugin</artifactId>
  | 				<configuration>
  | 					<source>1.5</source>
  | 					<target>1.5</target>
  |                     <excludes>
  |                         <exclude>org/jboss/aop/hook/JRockit*</exclude>
  |                     </excludes>
  | 				</configuration>
  | 			</plugin>
  |             <plugin>
  |                 <groupId>org.apache.maven.plugins</groupId>
  |                 <artifactId>maven-surefire-plugin</artifactId>
  |                 <configuration>
  |                     <skip>true</skip>
  |                 </configuration>
  |             </plugin>
  | 		</plugins>
  | 	</build>
  | 
  | 	<dependencies>
  | 		<dependency>
  | 			<groupId>ant</groupId>
  | 			<artifactId>ant</artifactId>
  | 			<version>1.6.5</version>
  | 		</dependency>
  | 		<dependency>
  | 			<groupId>javassist</groupId>
  | 			<artifactId>javassist</artifactId>
  | 			<version>3.4.GA</version>
  | 		</dependency>
  | 		<dependency>
  | 			<groupId>jboss</groupId>
  | 			<artifactId>jboss-dependency</artifactId>
  | 			<version>2.0.0.Beta</version>
  | 		</dependency>
  | 		<dependency>
  | 			<groupId>jboss</groupId>
  | 			<artifactId>jboss-container</artifactId>
  | 			<version>2.0.0.Beta</version>
  | 		</dependency>
  |         <dependency>
  |             <groupId>jboss</groupId>
  |             <artifactId>jboss-test</artifactId>
  |             <version>1.0.1.GA</version>
  |             <scope>test</scope>
  |         </dependency>
  |         <dependency>
  |             <groupId>jboss.profiler.jvmti</groupId>
  |             <artifactId>jboss-profiler-jvmti</artifactId>
  |             <version>1.0.0.CR5</version>
  |             <scope>test</scope>
  |         </dependency>
  | 		<dependency>
  | 			<groupId>junit</groupId>
  | 			<artifactId>junit</artifactId>
  | 			<version>3.8.1</version>
  | 			<scope>test</scope>
  | 		</dependency>
  | 		<dependency>
  | 			<groupId>oswego-concurrent</groupId>
  | 			<artifactId>concurrent</artifactId>
  | 			<version>1.3.4</version>
  | 		</dependency>
  | 		<dependency>
  | 			<groupId>qdox</groupId>
  | 			<artifactId>qdox</artifactId>
  | 			<version>1.6</version>
  | 		</dependency>
  | 		<dependency>
  | 			<groupId>trove</groupId>
  | 			<artifactId>trove</artifactId>
  | 			<version>2.1.1</version>
  | 		</dependency>
  | 	</dependencies>
  |     
  |     <distributionManagement>
  |         <repository>
  |             <id>cvs-file-repository</id>
  |             <!-- Set maven.cvs.root in your maven/conf/settings.xml
  |             See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCommonProject
  |             -->
  |         <url>file://${maven.cvs.root}</url>
  |         </repository>
  |     </distributionManagement>
  | 
  | </project>
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002930



More information about the jboss-dev-forums mailing list