Skip to content

Commit

Permalink
[JENKINS-73170] Upgrade Commons FileUpload from 1.5 to 2.0.0-M2
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed May 14, 2024
1 parent b89682c commit 82adbcb
Show file tree
Hide file tree
Showing 8 changed files with 701 additions and 24 deletions.
40 changes: 34 additions & 6 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,18 @@
<artifactId>stapler</artifactId>
<name>Stapler</name>
<description>Stapler HTTP request handling engine</description>

<properties>
<bridge-method-injector.version>1.29</bridge-method-injector.version>
<commons-fileupload2.version>2.0.0-M2</commons-fileupload2.version>
</properties>

<dependencies>
<dependency>
<groupId>com.infradna.tool</groupId>
<artifactId>bridge-method-annotation</artifactId>
<version>${bridge-method-injector.version}</version>
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jzlib</artifactId>
Expand Down Expand Up @@ -38,12 +49,6 @@
<artifactId>commons-discovery</artifactId>
<version>0.5</version>
</dependency>
<dependency>
<!-- perhaps mark this dependency optional? -->
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
Expand All @@ -63,6 +68,17 @@
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<!-- perhaps mark these dependencies optional? -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-fileupload2-core</artifactId>
<version>${commons-fileupload2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-fileupload2-javax</artifactId>
<version>${commons-fileupload2.version}</version>
</dependency>
<dependency>
<!--
To allow stapler to be used from Groovy, code, we have a bit of tooling
Expand Down Expand Up @@ -178,6 +194,18 @@

<build>
<plugins>
<plugin>
<groupId>com.infradna.tool</groupId>
<artifactId>bridge-method-injector</artifactId>
<version>${bridge-method-injector.version}</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
Expand Down

0 comments on commit 82adbcb

Please sign in to comment.