-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from mdiggory/additional-patch
[DS-981] API Project and build assembly restructure
- Loading branch information
Showing
14 changed files
with
343 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
<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.modules</groupId> | ||
<artifactId>additions</artifactId> | ||
<name>DSpace Kernel :: Additions and Local Customization</name> | ||
<packaging>jar</packaging> | ||
|
||
<!-- | ||
A Parent POM that Maven inherits DSpace Defaults | ||
POM atrributes from. | ||
--> | ||
<parent> | ||
<groupId>org.dspace</groupId> | ||
<artifactId>modules</artifactId> | ||
<version>3.0-SNAPSHOT</version> | ||
<relativePath>..</relativePath> | ||
</parent> | ||
|
||
<profiles> | ||
<profile> | ||
<id>oracle-support</id> | ||
<activation> | ||
<property> | ||
<name>db.name</name> | ||
<value>oracle</value> | ||
</property> | ||
</activation> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.oracle</groupId> | ||
<artifactId>ojdbc6</artifactId> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
|
||
<!-- | ||
Using xpdf filters requires the inclusion | ||
Of Sun dependencies these are not redistributable | ||
and you will need to install them locally in your | ||
maven repository prior to building your dspace instance | ||
--> | ||
<profile> | ||
<id>xpdf-mediafilter-support</id> | ||
<activation> | ||
<activeByDefault>false</activeByDefault> | ||
</activation> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.sun.media</groupId> | ||
<artifactId>jai_imageio</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.media</groupId> | ||
<artifactId>jai_core</artifactId> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
|
||
</profiles> | ||
|
||
<!-- | ||
Runtime and Compile Time dependencies for DSpace. | ||
--> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.dspace</groupId> | ||
<artifactId>dspace-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.dspace</groupId> | ||
<artifactId>dspace-api-lang</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.dspace</groupId> | ||
<artifactId>dspace-services-impl</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.dspace</groupId> | ||
<artifactId>dspace-services-utils</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.dspace</groupId> | ||
<artifactId>dspace-stats</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.dspace</groupId> | ||
<artifactId>dspace-discovery-provider</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.dspace</groupId> | ||
<artifactId>dspace-discovery-solr</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>servlet-api</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>ant-contrib</groupId> | ||
<artifactId>ant-contrib</artifactId> | ||
<version>1.0b3</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>ant</groupId> | ||
<artifactId>ant</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>postgresql</groupId> | ||
<artifactId>postgresql</artifactId> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
</project> |
9 changes: 9 additions & 0 deletions
9
dspace/modules/additions/src/main/java/org/dspace/example/Example.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.dspace.example; | ||
|
||
/** | ||
* TODO: Add Description | ||
* | ||
* @author mdiggory @ atmire.com | ||
*/ | ||
public interface Example { | ||
} |
11 changes: 11 additions & 0 deletions
11
dspace/modules/additions/src/main/java/org/dspace/example/impl/ExampleImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.dspace.example.impl; | ||
|
||
import org.dspace.example.Example; | ||
|
||
/** | ||
* TODO: Add Description | ||
* | ||
* @author mdiggory @ atmire.com | ||
*/ | ||
public class ExampleImpl implements Example { | ||
} |
24 changes: 24 additions & 0 deletions
24
dspace/modules/additions/src/main/resource/spring/spring-dspace-addon-example-services.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
The contents of this file are subject to the license and copyright | ||
detailed in the LICENSE and NOTICE files at the root of the source | ||
tree and available online at | ||
http://www.dspace.org/license/ | ||
--> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:context="http://www.springframework.org/schema/context" | ||
xsi:schemaLocation="http://www.springframework.org/schema/beans | ||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd | ||
http://www.springframework.org/schema/context | ||
http://www.springframework.org/schema/context/spring-context-2.5.xsd" | ||
default-autowire-candidates="*Service,*DAO,javax.sql.DataSource"> | ||
|
||
<context:annotation-config /> <!-- allows us to use spring annotations in beans --> | ||
|
||
<bean id="org.dspace.example.Example" class="org.dspace.example.impl.ExampleImpl" /> | ||
|
||
</beans> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.