Moving <module>jetty-osgi</module> to profile that can be disabled

if need be (with "-P-osgi" maven switch).  Leaving new "osgi" profile
active by default.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2765 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Joakim Erdfelt 2011-02-09 22:45:04 +00:00
parent 5a148a4447
commit d26ccd1830
1 changed files with 16 additions and 0 deletions

16
pom.xml
View File

@ -293,7 +293,9 @@
<module>jetty-rewrite</module>
<module>jetty-policy</module>
<module>jetty-start</module>
<!-- Moved to profile 'osgi' below (default active)
<module>jetty-osgi</module>
-->
<module>test-continuation</module>
<module>test-continuation-jetty6</module>
<module>test-jetty-servlet</module>
@ -367,6 +369,20 @@
> mvn -N site:sshdeploy (for ssh users w/passphrase and ssh-agent)
-->
<profiles>
<profile>
<!--
Moves the jetty-osgi build tree to a profile called 'osgi'.
It is active by default, but being in a profile allows it to be
disabled via the "-P-osgi" command line on maven (if need be).
-->
<id>osgi</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>jetty-osgi</module>
</modules>
</profile>
<profile>
<id>cobertura</id>
<reporting>