Permalink
Browse files

Merge pull request #112 from robintaylor/DS-1343

DS-1343 Add parent pom.xml and build.properties files into the binary release
  • Loading branch information...
2 parents 34c0b3b + c4c6ddd commit 2a038004380cbf31c9e31065b61dfe588d2efe66 @robintaylor robintaylor committed Oct 31, 2012
Showing with 34 additions and 18 deletions.
  1. +27 −13 pom.xml
  2. +7 −5 src/main/assembly/release.xml
View
40 pom.xml
@@ -200,13 +200,12 @@
relative to this file.
-->
- <!--
- Builds central API for DSpace
- -->
<profile>
<id>dspace</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>dspace/pom.xml</exists>
+ </file>
</activation>
<modules>
<module>dspace</module>
@@ -219,7 +218,9 @@
<profile>
<id>dspace-api</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>dspace-api/pom.xml</exists>
+ </file>
</activation>
<modules>
<module>dspace-api</module>
@@ -232,7 +233,9 @@
<profile>
<id>dspace-services</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>dspace-services/pom.xml</exists>
+ </file>
</activation>
<modules>
<module>dspace-services</module>
@@ -245,7 +248,9 @@
<profile>
<id>dspace-oai</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>dspace-oai/pom.xml</exists>
+ </file>
</activation>
<modules>
<module>dspace-oai</module>
@@ -256,10 +261,11 @@
Builds JSPUI WAR for DSpace
-->
<profile>
-
<id>dspace-jspui</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>dspace-jspui/pom.xml</exists>
+ </file>
</activation>
<modules>
<module>dspace-jspui</module>
@@ -273,7 +279,9 @@
<profile>
<id>dspace-sword</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>dspace-sword/pom.xml</exists>
+ </file>
</activation>
<modules>
<module>dspace-sword</module>
@@ -286,7 +294,9 @@
<profile>
<id>dspace-swordv2</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>dspace-swordv2/pom.xml</exists>
+ </file>
</activation>
<modules>
<module>dspace-swordv2</module>
@@ -299,7 +309,9 @@
<profile>
<id>dspace-xmlui</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>dspace-xmlui/pom.xml</exists>
+ </file>
</activation>
<modules>
<module>dspace-xmlui</module>
@@ -312,7 +324,9 @@
<profile>
<id>dspace-lni</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>dspace-lni/pom.xml</exists>
+ </file>
</activation>
<modules>
<module>dspace-lni</module>
@@ -17,18 +17,20 @@
<format>tar.gz</format>
<format>tar.bz2</format>
</formats>
- <includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>${finalName}-release</baseDirectory>
+ <includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>dspace/**</include>
- <include>LICENSE</include>
+ <include>LICENSE*</include>
<include>NOTICE</include>
<include>README</include>
- <include>CHANGES</include>
- <include>KNOWN_BUGS</include>
+ <include>build.properties</include>
+ <include>pom.xml</include>
+ <include>src/main/assembly/testEnvironment.xml</include>
+ <include>src/main/filters/testEnvironment.properties</include>
</includes>
<excludes>
<exclude>**/target/**</exclude>
@@ -38,4 +40,4 @@
</fileSet>
</fileSets>
-</assembly>
+</assembly>

0 comments on commit 2a03800

Please sign in to comment.