mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
Add in profile for building source and bootstrap release. Use it via 'mvn -Prelease package'
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2586 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
49
pom.xml
49
pom.xml
@@ -14,6 +14,15 @@
|
||||
<url>http://www.dspace.org</url>
|
||||
</organization>
|
||||
|
||||
<modules>
|
||||
<module>language-packs</module>
|
||||
<module>dspace-api</module>
|
||||
<module>dspace-jspui</module>
|
||||
<module>dspace-xmlui</module>
|
||||
<module>dspace-lni</module>
|
||||
<module>dspace-oai</module>
|
||||
</modules>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!--
|
||||
@@ -42,14 +51,38 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<modules>
|
||||
<module>language-packs</module>
|
||||
<module>dspace-api</module>
|
||||
<module>dspace-jspui</module>
|
||||
<module>dspace-xmlui</module>
|
||||
<module>dspace-lni</module>
|
||||
<module>dspace-oai</module>
|
||||
</modules>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>bootstrap-release</descriptorRef>
|
||||
<descriptorRef>source-release</descriptorRef>
|
||||
</descriptorRefs>
|
||||
<finalName>dspace-${pom.version}</finalName>
|
||||
</configuration>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
|
Reference in New Issue
Block a user