Added the basic structure and played around with the POMs some
Added a new 2.0 profile to the base POM

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3063 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Aaron Zeckoski
2008-09-01 11:52:46 +00:00
parent ec6f2fd91f
commit 34be59daf0
5 changed files with 108 additions and 7 deletions

25
dspace2/api/pom.xml Normal file
View File

@@ -0,0 +1,25 @@
<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.dspace.dspace2</groupId>
<artifactId>api</artifactId>
<name>DSpace Services API</name>
<description>The core services API for dspace</description>
<url>http://projects.dspace.org</url>
<inceptionYear>Monday, September 1, 2008</inceptionYear>
<organization>
<name>The DSpace Foundation</name>
<url>http://www.dspace.org</url>
</organization>
<version>2.0-RC1-SNAPSHOT</version><!-- dspace2.version -->
<packaging>jar</packaging>
<dependencies>
<!-- should be no dependencies for the API really (except maybe javax) -->
</dependencies>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
</build>
</project>

41
dspace2/impl/pom.xml Normal file
View File

@@ -0,0 +1,41 @@
<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.dspace.dspace2</groupId>
<artifactId>impl</artifactId>
<name>DSpace Services IMPL</name>
<description>The implementation of the dSpace 2 services</description>
<url>http://projects.dspace.org</url>
<inceptionYear>Monday, September 1, 2008</inceptionYear>
<organization>
<name>The DSpace Foundation</name>
<url>http://www.dspace.org</url>
</organization>
<version>2.0-RC1-SNAPSHOT</version><!-- dspace2.version -->
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>2.5.5</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.code.guice</groupId>
<artifactId>guice</artifactId>
<version>1.0</version>
<type>pom</type>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/java/main</sourceDirectory>
<testSourceDirectory>src/java/test</testSourceDirectory>
<filters>
</filters>
</build>
</project>

View File

@@ -4,13 +4,13 @@
<groupId>org.dspace</groupId>
<artifactId>dspace2</artifactId>
<packaging>pom</packaging>
<version>2.0-RC1-SNAPSHOT</version>
<name>DSpace Parent Project</name>
<url>http://projects.dspace.org</url>
<organization>
<name>The DSpace Foundation</name>
<url>http://www.dspace.org</url>
</organization>
<version>2.0-RC1-SNAPSHOT</version><!-- dspace2.version -->
<build>
<plugins>
@@ -60,16 +60,16 @@
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>dspace-api</module>
<module>dspace-core</module>
<module>dspace-rest</module>
<module>api</module>
<module>impl</module>
<module>rest</module>
</modules>
</profile>
<profile>
<id>core</id>
<modules>
<module>dspace-api</module>
<module>dspace-core</module>
<module>api</module>
<module>impl</module>
</modules>
</profile>
</profiles>

25
dspace2/rest/pom.xml Normal file
View File

@@ -0,0 +1,25 @@
<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.dspace.dspace2</groupId>
<artifactId>rest</artifactId>
<name>DSpace Services REST API</name>
<description>The core REST API for dspace</description>
<url>http://projects.dspace.org</url>
<inceptionYear>Monday, September 1, 2008</inceptionYear>
<organization>
<name>The DSpace Foundation</name>
<url>http://www.dspace.org</url>
</organization>
<version>2.0-RC1-SNAPSHOT</version><!-- dspace2.version -->
<packaging>jar</packaging>
<dependencies>
<!-- should be no dependencies for the API really (except maybe javax) -->
</dependencies>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
</build>
</project>

10
pom.xml
View File

@@ -106,6 +106,16 @@
</modules>
</profile>
<profile>
<id>2.0</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>dspace2</module>
</modules>
</profile>
<!--
Use 'mvn package -Pdistributions' to create distributions
to upload to S.F.