Commits

Anonymous committed 180a209

Add compiler plugin configure to build source and target as 1.3.

Added java.net maven 1& 2 repositories to download sun artifacts that are available.

Completed pom for ejb3 module.

git-svn-id: http://svn.opensymphony.com/svn/propertyset/branches/maven_build@225bf3cbcdd-1c1a-0410-9a68-d6f521e3fa7b

Comments (0)

Files changed (3)

 	</prerequisites>
 
 	<properties>
-		<jdkLevel>1.4</jdkLevel>
 	</properties>
 
+	<repositories>
+		<repository>
+			<id>maven-repository.dev.java.net</id>
+			<name>Java.net Maven 1 Repository</name>
+			<layout>legacy</layout>
+			<url>http://download.java.net/maven/1/</url>
+			<snapshots>
+				<enabled>false</enabled>
+			</snapshots>
+		</repository>
+		<repository>
+			<id>maven2-repository.dev.java.net</id>
+			<name>Java.net Maven 2 Repository</name>
+			<layout>default</layout>
+			<url>http://download.java.net/maven/2/</url>
+			<snapshots>
+				<enabled>false</enabled>
+			</snapshots>
+		</repository>
+	</repositories>
+	
 	<build>
 		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.3</source>
+					<target>1.3</target>
+				</configuration>
+			</plugin>
 			<!--
 			<plugin>
 				<groupId>com.atlassian.maven.plugins</groupId>
 			-->
 		</plugins>
 	</build>
-  
+
 	<organization>
 		<name>OpenSymphony</name>
 		<url>http://www.opensymphony.com</url>

providers/ejb3/pom.xml

+<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>
+	
+	<parent>
+		<groupId>com.opensymphony.propertyset.providers</groupId>
+		<artifactId>parent</artifactId>
+		<version>1.5.0-SNAPSHOT</version>
+	</parent>
+	<groupId>com.opensymphony.propertyset.providers</groupId>
+	<artifactId>ejb3</artifactId>
+	<packaging>ejb</packaging>
+	
+	<name>PropertySet -> Providers -> EJB 3</name>
+	<description></description>
+	
+	<dependencies>
+		<dependency>
+			<groupId>com.opensymphony.propertyset</groupId>
+			<artifactId>api</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>commons-logging</groupId>
+			<artifactId>commons-logging</artifactId>
+			<version>1.1.1</version>
+		</dependency>
+		<dependency>
+			<groupId>javax.ejb</groupId>
+			<artifactId>ejb-api</artifactId>
+			<version>3.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>javax.persistence</groupId>
+			<artifactId>persistence-api</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-annotations</artifactId>
+			<version>3.3.1.GA</version>
+		</dependency>
+	</dependencies>
+	
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-ejb-plugin</artifactId>
+				<configuration>
+					<ejbVersion>3.0</ejbVersion>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	
+</project>

providers/pom.xml

 
 	<modules>
 		<module>ejb2</module>
+		<module>ejb3</module>
 		<module>hibernate2</module>
 		<module>hibernate3</module>
 		<module>jdbc</module>