More work to make alpn & npn builds sane

This commit is contained in:
Joakim Erdfelt 2014-03-25 15:47:15 -07:00
parent 3e500a6f48
commit 4f051fecf3
3 changed files with 37 additions and 122 deletions

View File

@ -22,8 +22,6 @@
<module>jetty-osgi-boot</module>
<module>jetty-osgi-boot-jsp</module>
<module>jetty-osgi-boot-warurl</module>
<module>jetty-osgi-alpn</module>
<module>jetty-osgi-npn</module>
<module>jetty-osgi-httpservice</module>
<module>test-jetty-osgi-webapp</module>
<module>test-jetty-osgi-context</module>

View File

@ -20,22 +20,9 @@
<module>spdy-http-common</module>
<module>spdy-http-server</module>
<module>spdy-http-client-transport</module>
<module>spdy-alpn-tests</module>
<module>spdy-example-webapp</module>
</modules>
<profiles>
<profile>
<id>jdk7-npn</id>
<activation>
<jdk>[1.7,1.8)</jdk>
</activation>
<modules>
<module>spdy-npn-tests</module>
</modules>
</profile>
</profiles>
<build>
<plugins>
<plugin>

144
pom.xml
View File

@ -18,6 +18,9 @@
<jetty-test-policy-version>1.2</jetty-test-policy-version>
<npn.api.version>1.1.0.v20120525</npn.api.version>
<alpn.api.version>1.0.0</alpn.api.version>
<!-- default values are unsupported, but required to be defined for reactor sanity reasons -->
<npn.version>unsupported</npn.version>
<alpn.version>unsupported</alpn.version>
</properties>
<scm>
<connection>scm:git:http://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project.git</connection>
@ -127,10 +130,11 @@
<rules>
<requireMavenVersion>
<version>[3.0.0,)</version>
<message>[ERROR] OLD MAVEN [${maven.version}] in use, Jetty ${project.version} requires Maven 3.0.0 or newer</message>
</requireMavenVersion>
<requireJavaVersion>
<version>[1.7,)</version>
<message>[ERROR] OLD JDK [${java.version}] in use. Jetty ${project.version} requires JDK 1.7 or newer</message>
<version>[1.7.0-40,)</version>
<message>[ERROR] OLD JDK [${java.version}] in use. Jetty ${project.version} requires JDK 1.7.0_40 or newer</message>
</requireJavaVersion>
<versionTxtRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.VersionTxtRule" />
<versionOsgiRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireOsgiCompatibleVersionRule" />
@ -443,6 +447,7 @@
<module>jetty-runner</module>
<module>jetty-monitor</module>
<module>jetty-http-spi</module>
<module>jetty-osgi</module>
<!-- modules that need fixed and added back, or simply dropped and not maintained
<module>jetty-rhttp</module>
@ -813,111 +818,6 @@
</plugins>
</build>
</profile>
<profile>
<id>osgi</id>
<activation>
<jdk>[1.7,1.8)</jdk>
</activation>
<modules>
<module>jetty-osgi</module>
</modules>
</profile>
<profile>
<id>7u9</id>
<activation>
<property>
<name>java.version</name>
<value>1.7.0_9</value>
</property>
</activation>
<properties>
<npn.version>1.1.3.v20130313</npn.version>
</properties>
</profile>
<profile>
<id>7u10</id>
<activation>
<property>
<name>java.version</name>
<value>1.7.0_10</value>
</property>
</activation>
<properties>
<npn.version>1.1.3.v20130313</npn.version>
</properties>
</profile>
<profile>
<id>7u11</id>
<activation>
<property>
<name>java.version</name>
<value>1.7.0_11</value>
</property>
</activation>
<properties>
<npn.version>1.1.3.v20130313</npn.version>
</properties>
</profile>
<profile>
<id>7u13</id>
<activation>
<property>
<name>java.version</name>
<value>1.7.0_13</value>
</property>
</activation>
<properties>
<npn.version>1.1.4.v20130313</npn.version>
</properties>
</profile>
<profile>
<id>7u15</id>
<activation>
<property>
<name>java.version</name>
<value>1.7.0_15</value>
</property>
</activation>
<properties>
<npn.version>1.1.5.v20130313</npn.version>
</properties>
</profile>
<profile>
<id>7u17</id>
<activation>
<property>
<name>java.version</name>
<value>1.7.0_17</value>
</property>
</activation>
<properties>
<npn.version>1.1.5.v20130313</npn.version>
</properties>
</profile>
<profile>
<id>7u21</id>
<activation>
<property>
<name>java.version</name>
<value>1.7.0_21</value>
</property>
</activation>
<properties>
<npn.version>1.1.5.v20130313</npn.version>
</properties>
</profile>
<profile>
<id>7u25</id>
<activation>
<property>
<name>java.version</name>
<value>1.7.0_25</value>
</property>
</activation>
<properties>
<npn.version>1.1.5.v20130313</npn.version>
</properties>
</profile>
<profile>
<id>7u40</id>
<activation>
@ -930,6 +830,14 @@
<npn.version>1.1.6.v20130911</npn.version>
<alpn.version>7.0.0</alpn.version>
</properties>
<modules>
<!-- npn modules -->
<module>jetty-osgi/jetty-osgi-npn</module>
<module>jetty-spdy/spdy-npn-tests</module>
<!-- alpn modules -->
<module>jetty-osgi/jetty-osgi-alpn</module>
<module>jetty-spdy/spdy-alpn-tests</module>
</modules>
</profile>
<profile>
<id>7u45</id>
@ -943,6 +851,14 @@
<npn.version>1.1.6.v20130911</npn.version>
<alpn.version>7.0.0</alpn.version>
</properties>
<modules>
<!-- npn modules -->
<module>jetty-osgi/jetty-osgi-npn</module>
<module>jetty-spdy/spdy-npn-tests</module>
<!-- alpn modules -->
<module>jetty-osgi/jetty-osgi-alpn</module>
<module>jetty-spdy/spdy-alpn-tests</module>
</modules>
</profile>
<profile>
<id>7u51</id>
@ -956,6 +872,14 @@
<npn.version>1.1.6.v20130911</npn.version>
<alpn.version>7.0.0</alpn.version>
</properties>
<modules>
<!-- npn modules -->
<module>jetty-osgi/jetty-osgi-npn</module>
<module>jetty-spdy/spdy-npn-tests</module>
<!-- alpn modules -->
<module>jetty-osgi/jetty-osgi-alpn</module>
<module>jetty-spdy/spdy-alpn-tests</module>
</modules>
</profile>
<profile>
<id>8u00</id>
@ -968,6 +892,12 @@
<properties>
<alpn.version>8.0.0</alpn.version>
</properties>
<modules>
<!-- npn not supported on java 8 -->
<!-- alpn modules -->
<module>jetty-osgi/jetty-osgi-alpn</module>
<module>jetty-spdy/spdy-alpn-tests</module>
</modules>
</profile>
</profiles>
</project>