mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 21:13:19 +00:00
DS-791 : Add ability to disable the building of particular DSpace modules/interfaces from source code
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6500 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -20,13 +20,71 @@
|
|||||||
<url>http://scm.dspace.org/svn/repo/dspace/trunk/dspace/modules</url>
|
<url>http://scm.dspace.org/svn/repo/dspace/trunk/dspace/modules</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<modules>
|
<!--
|
||||||
<module>xmlui</module>
|
List of enabled DSpace Modules to build/install.
|
||||||
<module>lni</module>
|
To disable building of modules, you can use the Maven '-P' commandline
|
||||||
<module>oai</module>
|
option along with the profile's id. For example, the following tells
|
||||||
<module>jspui</module>
|
Maven to *disable* building of 'dspace-oai' and 'dspace-lni' modules:
|
||||||
<module>sword</module>
|
'mvn package -P !dspace-oai,!dspace-lni'
|
||||||
<module>solr</module>
|
|
||||||
</modules>
|
|
||||||
|
|
||||||
|
Also note that the profile IDs below match the profile IDs of the source
|
||||||
|
modules in /dspace/pom.xml, so the above command will also disable the
|
||||||
|
compiling of the corresponding source module.
|
||||||
|
-->
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>dspace-xmlui</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<modules>
|
||||||
|
<module>xmlui</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>dspace-lni</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<modules>
|
||||||
|
<module>lni</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>dspace-oai</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<modules>
|
||||||
|
<module>oai</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>dspace-jspui</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<modules>
|
||||||
|
<module>jspui</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>dspace-sword</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<modules>
|
||||||
|
<module>sword</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>dspace-solr</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<modules>
|
||||||
|
<module>solr</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
Reference in New Issue
Block a user