This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch fileupload2
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/fileupload2 by this push:
     new 4da280fc36 [WICKET-6915] pom is basically fixed, module-info need to 
be added
4da280fc36 is described below

commit 4da280fc36761d0d64e02bbe48667576a1aae321
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Sat Mar 25 15:39:47 2023 +0700

    [WICKET-6915] pom is basically fixed, module-info need to be added
---
 wicket-commons-fileupload/pom.xml | 41 ++++++++++++++++++++++++++++-----------
 1 file changed, 30 insertions(+), 11 deletions(-)

diff --git a/wicket-commons-fileupload/pom.xml 
b/wicket-commons-fileupload/pom.xml
index aa020aeb0e..b8497f0976 100644
--- a/wicket-commons-fileupload/pom.xml
+++ b/wicket-commons-fileupload/pom.xml
@@ -18,16 +18,16 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>org.apache.commons</groupId>
-    <artifactId>commons-parent</artifactId>
-    <version>56</version>
-  </parent>
+       <parent>
+               <groupId>org.apache.wicket</groupId>
+               <artifactId>wicket-parent</artifactId>
+               <version>10.0.0-M1-SNAPSHOT</version>
+               <relativePath>../pom.xml</relativePath>
+       </parent>
 
-  <artifactId>commons-fileupload2</artifactId>
-  <version>2.0-SNAPSHOT</version>
+  <artifactId>wicket-commons-fileupload</artifactId>
 
-  <name>Apache Commons FileUpload</name>
+  <name>Wicket Commons FileUpload</name>
   <description>
     The Apache Commons FileUpload component provides a simple yet flexible 
means of adding support for multipart
     file upload functionality to servlets and web applications.
@@ -221,8 +221,6 @@
   </distributionManagement>
 
   <properties>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <maven.compiler.target>1.8</maven.compiler.target>
     <commons.componentid>fileupload</commons.componentid>
     <commons.module.name>org.apache.commons.fileupload</commons.module.name>
     <commons.release.version>2.0</commons.release.version>
@@ -238,6 +236,7 @@
     <japicmp.skip>true</japicmp.skip>
     <moditect-maven-plugin.version>1.0.0.RC2</moditect-maven-plugin.version>
     <moditect.skip>true</moditect.skip>
+    <enforcer.skip>true</enforcer.skip>
 
     <!-- Commons Release Plugin -->
     <commons.bc.version>1.3.3</commons.bc.version>
@@ -246,12 +245,15 @@
     
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
     <commons.releaseManagerName>Rob Tompkins</commons.releaseManagerName>
     
<commons.releaseManagerKey>B6E73D84EA4FCC47166087253FAAD2CD5ECBB314</commons.releaseManagerKey>
+
+    
<automatic-module-name>org.apache.wicket.commons.fileupload</automatic-module-name>
   </properties>
 
   <dependencies>
     <dependency>
       <groupId>org.junit.jupiter</groupId>
       <artifactId>junit-jupiter</artifactId>
+      <version>${junit.version}</version>
       <scope>test</scope>
     </dependency>
     <dependency>
@@ -269,7 +271,6 @@
     <dependency>
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
-      <version>2.11.0</version>
     </dependency>
     <dependency>
        <groupId>jakarta.servlet</groupId>
@@ -282,8 +283,25 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>${maven-jar-plugin.version}</version>
+        <configuration>
+          <archive>
+            <manifest>
+              
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+              
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+            </manifest>
+            <manifestEntries>
+              
<Automatic-Module-Name>${automatic-module-name}</Automatic-Module-Name>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+    <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>3.2.1</version>
         <executions>
           <execution>
             <id>validate-main</id>
@@ -578,6 +596,7 @@
           <plugin>
             <groupId>com.github.spotbugs</groupId>
             <artifactId>spotbugs-maven-plugin</artifactId>
+            <version>4.7.3.3</version>
             <configuration>
               
<excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
             </configuration>

Reply via email to