Skip to content

Commit

Permalink
Simplify the process for building/testing just a single version.
Browse files Browse the repository at this point in the history
  • Loading branch information
pferraro committed Mar 31, 2022
1 parent 15ebdb4 commit 6511775
Showing 1 changed file with 55 additions and 7 deletions.
62 changes: 55 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@
<tag>HEAD</tag>
</scm>

<modules>
<module>common</module>
<module>8.5</module>
<module>9.0</module>
<module>10.0</module>
</modules>

<properties>
<jdk.min.version>11</jdk.min.version>
<jdk.release.version>8</jdk.release.version>
Expand Down Expand Up @@ -311,4 +304,59 @@
</dependencies>
</dependencyManagement>

<profiles>
<profile>
<id>default</id>
<activation>
<property>
<name>!tomcat.version</name>
</property>
</activation>
<modules>
<module>common</module>
<module>10.0</module>
<module>9.0</module>
<module>8.5</module>
</modules>
</profile>
<profile>
<id>10.0</id>
<activation>
<property>
<name>tomcat.version</name>
<value>10.0</value>
</property>
</activation>
<modules>
<module>common</module>
<module>10.0</module>
</modules>
</profile>
<profile>
<id>9.0</id>
<activation>
<property>
<name>tomcat.version</name>
<value>9.0</value>
</property>
</activation>
<modules>
<module>common</module>
<module>9.0</module>
</modules>
</profile>
<profile>
<id>8.5</id>
<activation>
<property>
<name>tomcat.version</name>
<value>8.5</value>
</property>
</activation>
<modules>
<module>common</module>
<module>8.5</module>
</modules>
</profile>
</profiles>
</project>

0 comments on commit 6511775

Please sign in to comment.