Skip to content

Commit

Permalink
Fixes #3959 - Limit updates by using configuration in Maven versions …
Browse files Browse the repository at this point in the history
…plugin (#3960)
  • Loading branch information
mnriem authored Sep 12, 2024
1 parent 2adda8a commit d178ee9
Show file tree
Hide file tree
Showing 9 changed files with 140 additions and 19 deletions.
1 change: 0 additions & 1 deletion extension/apache-fileupload/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-fileupload2-jakarta-servlet6</artifactId>
<version>${commons-fileupload2-jakarta-servlet6.version}</version>
<scope>compile</scope>
</dependency>
<!-- test -->
Expand Down
2 changes: 0 additions & 2 deletions extension/eclipse-angus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-mail</artifactId>
<version>${angus.mail.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-activation</artifactId>
<version>${angus.activation.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
Expand Down
1 change: 0 additions & 1 deletion extension/eclipse-expressly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<dependency>
<groupId>org.glassfish.expressly</groupId>
<artifactId>expressly</artifactId>
<version>${expressly.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
8 changes: 4 additions & 4 deletions extension/eclipselink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>${eclipselink.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.core</artifactId>
<version>${eclipselink.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.jpa</artifactId>
<version>${eclipselink.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.json</artifactId>
<version>${eclipselink.version}</version>
<scope>compile</scope>
</dependency>
<!-- provided -->
<dependency>
Expand Down
1 change: 0 additions & 1 deletion extension/hazelcast/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>${hazelcast.version}</version>
<scope>compile</scope>
</dependency>
<!-- provided -->
Expand Down
2 changes: 0 additions & 2 deletions extension/redhat-hibernate-validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate-validator.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator-cdi</artifactId>
<version>${hibernate-validator.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
Expand Down
1 change: 0 additions & 1 deletion http/crac/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<dependency>
<groupId>io.github.crac</groupId>
<artifactId>org-crac</artifactId>
<version>${crac.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
3 changes: 0 additions & 3 deletions http/grizzly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,17 @@
<dependency>
<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-http-server</artifactId>
<version>${grizzly.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-http2</artifactId>
<version>${grizzly.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-npn-api</artifactId>
<scope>compile</scope>
<version>${grizzly-npn-api.version}</version>
</dependency>
<!-- test -->
<dependency>
Expand Down
140 changes: 136 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,12 @@

<dependencyManagement>
<dependencies>
<!-- Apache Commons File Upload -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-fileupload2-jakarta-servlet6</artifactId>
<version>${commons-fileupload2-jakarta-servlet6.version}</version>
</dependency>
<!-- Apache Maven -->
<dependency>
<groupId>org.apache.maven</groupId>
Expand All @@ -204,28 +210,102 @@
<artifactId>maven-plugin-tools-annotations</artifactId>
<version>${maven-plugin-tools-annotations.version}</version>
</dependency>

<!-- Eclipse Angus -->
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-mail</artifactId>
<version>${angus.mail.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-activation</artifactId>
<version>${angus.activation.version}</version>
</dependency>
<!-- Eclipse Expressly -->
<dependency>
<groupId>org.glassfish.expressly</groupId>
<artifactId>expressly</artifactId>
<version>${expressly.version}</version>
</dependency>
<!-- Eclipse Grizzly -->
<dependency>
<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-http-server</artifactId>
<version>${grizzly.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-http2</artifactId>
<version>${grizzly.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-npn-api</artifactId>
<version>${grizzly-npn-api.version}</version>
</dependency>
<!-- EclipseLink -->
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>${eclipselink.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.core</artifactId>
<version>${eclipselink.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.jpa</artifactId>
<version>${eclipselink.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.json</artifactId>
<version>${eclipselink.version}</version>
</dependency>
<!-- Freeport Finder -->
<dependency>
<groupId>me.alexpanov</groupId>
<artifactId>free-port-finder</artifactId>
<version>${free-port-finder.version}</version>
</dependency>

<!-- H2 database -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>

<!-- Hazelcast -->
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>${hazelcast.version}</version>
</dependency>
<!-- Hibernate Validator -->
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate-validator.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator-cdi</artifactId>
<version>${hibernate-validator.version}</version>
</dependency>
<!-- HtmlUnit -->
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>${htmlunit.version}</version>
</dependency>

<!-- Project CRaC -->
<dependency>
<groupId>io.github.crac</groupId>
<artifactId>org-crac</artifactId>
<version>${crac.version}</version>
</dependency>

<!-- JBoss Arquillian -->
<dependency>
<groupId>org.jboss.arquillian</groupId>
Expand Down Expand Up @@ -639,6 +719,58 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<configuration>
<ruleSet>
<rules>
<!-- keep Eclipse Mojarra at EE 10 compliant version -->
<rule>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.faces</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>range</type>
<version>[4.1.0,)</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- keep Eclipse Expressly at EE 10 compliant version -->
<rule>
<groupId>org.glassfish.expressly</groupId>
<artifactId>expressly</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>range</type>
<version>[6.0.0-M1,)</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- keep EclipseLink at EE 10 compliant version -->
<rule>
<groupId>org.eclipse.persistence</groupId>
<ignoreVersions>
<ignoreVersion>
<type>range</type>
<version>[5.0.0-B01,)</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- keep Hibernate Validator at EE 10 compliant version -->
<rule>
<groupId>org.hibernate.validator</groupId>
<ignoreVersions>
<ignoreVersion>
<type>range</type>
<version>[9.0.0-Beta2,)</version>
</ignoreVersion>
</ignoreVersions>
</rule>
</rules>
</ruleSet>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down

0 comments on commit d178ee9

Please sign in to comment.