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

rzo1 pushed a commit to branch 1169
in repository https://gitbox.apache.org/repos/asf/incubator-stormcrawler.git

commit e1a813f419087e8c36ac1e5f68c570143d889496
Author: rz <[email protected]>
AuthorDate: Fri Mar 29 21:35:51 2024 +0100

    #1169 - Introduce Apache Parent POM
    
    Signed-off-by: rz <[email protected]>
---
 core/pom.xml     | 24 --------------
 external/pom.xml | 31 ------------------
 pom.xml          | 99 ++++----------------------------------------------------
 3 files changed, 6 insertions(+), 148 deletions(-)

diff --git a/core/pom.xml b/core/pom.xml
index 4b92d3c9..36304ccd 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -81,30 +81,6 @@ under the License.
                </plugins>
        </build>
 
-       <profiles>
-               <profile>
-                       <id>release</id>
-                       <build>
-                               <plugins>
-                                       <plugin>
-                                               
<groupId>org.apache.maven.plugins</groupId>
-                                               
<artifactId>maven-source-plugin</artifactId>
-                                       </plugin>
-
-                                       <plugin>
-                                               
<groupId>org.apache.maven.plugins</groupId>
-                                               
<artifactId>maven-jar-plugin</artifactId>
-                                       </plugin>
-
-                                       <plugin>
-                                               
<groupId>org.apache.maven.plugins</groupId>
-                                               
<artifactId>maven-javadoc-plugin</artifactId>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
-       </profiles>
-
        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
diff --git a/external/pom.xml b/external/pom.xml
index 9b75305f..93e4f218 100644
--- a/external/pom.xml
+++ b/external/pom.xml
@@ -32,37 +32,6 @@ under the License.
        <artifactId>storm-crawler-external</artifactId>
        <packaging>pom</packaging>
 
-       <profiles>
-               <profile>
-                       <id>release</id>
-                       <build>
-                               <plugins>
-                                       <plugin>
-                                               
<groupId>org.apache.maven.plugins</groupId>
-                                               
<artifactId>maven-source-plugin</artifactId>
-                                       </plugin>
-
-                                       <!-- no test jar for 
storm-crawler-external -->
-                                       <plugin>
-                                               
<groupId>org.apache.maven.plugins</groupId>
-                                               
<artifactId>maven-jar-plugin</artifactId>
-                                               <executions>
-                                                       <execution>
-                                                               
<id>attach-test</id>
-                                                               
<phase>none</phase>
-                                                       </execution>
-                                               </executions>
-                                       </plugin>
-
-                                       <plugin>
-                                               
<groupId>org.apache.maven.plugins</groupId>
-                                               
<artifactId>maven-javadoc-plugin</artifactId>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
-       </profiles>
-
        <dependencies>
                <dependency>
                        <groupId>org.apache.storm</groupId>
diff --git a/pom.xml b/pom.xml
index 9c6f5a8c..f79f0578 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,6 +22,12 @@ under the License.
 <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/xsd/maven-4.0.0.xsd";>
        <modelVersion>4.0.0</modelVersion>
 
+       <parent>
+               <groupId>org.apache</groupId>
+               <artifactId>apache</artifactId>
+               <version>31</version>
+       </parent>
+
        <groupId>org.apache.stormcrawler</groupId>
        <artifactId>storm-crawler</artifactId>
        <version>2.12-SNAPSHOT</version>
@@ -102,17 +108,6 @@ under the License.
                <jacoco.maven.plugin>0.8.11</jacoco.maven.plugin>
        </properties>
 
-       <distributionManagement>
-               <snapshotRepository>
-                       <id>ossrh</id>
-                       
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
-               </snapshotRepository>
-               <repository>
-                       <id>ossrh</id>
-                       
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
-               </repository>
-       </distributionManagement>
-
        <build>
                <pluginManagement>
                        <plugins>
@@ -138,17 +133,6 @@ under the License.
                                        
<artifactId>maven-jar-plugin</artifactId>
                                        <version>3.3.0</version>
                                </plugin>
-                               <plugin>
-                                       
<groupId>org.apache.maven.plugins</groupId>
-                                       
<artifactId>maven-release-plugin</artifactId>
-                                       <version>3.0.1</version>
-                                       <configuration>
-                                               
<autoVersionSubmodules>true</autoVersionSubmodules>
-                                               
<useReleaseProfile>false</useReleaseProfile>
-                                               
<releaseProfiles>release</releaseProfiles>
-                                               <goals>deploy</goals>
-                                       </configuration>
-                               </plugin>
                                <plugin>
                                        <groupId>org.codehaus.mojo</groupId>
                                        
<artifactId>license-maven-plugin</artifactId>
@@ -383,77 +367,6 @@ under the License.
                </plugins>
        </build>
 
-       <profiles>
-               <profile>
-                       <id>release</id>
-                       <build>
-                               <pluginManagement>
-                                       <plugins>
-                                               <plugin>
-                                                       
<groupId>org.apache.maven.plugins</groupId>
-                                                       
<artifactId>maven-source-plugin</artifactId>
-                                                       <version>3.3.0</version>
-                                                       <executions>
-                                                               <execution>
-                                                                       
<id>attach-sources</id>
-                                                                       <goals>
-                                                                               
<goal>jar-no-fork</goal>
-                                                                       </goals>
-                                                               </execution>
-                                                       </executions>
-                                               </plugin>
-
-                                               <plugin>
-                                                       
<groupId>org.apache.maven.plugins</groupId>
-                                                       
<artifactId>maven-jar-plugin</artifactId>
-                                                       <version>3.3.0</version>
-                                                       <executions>
-                                                               <execution>
-                                                                       
<id>attach-test</id>
-                                                                       <goals>
-                                                                               
<goal>test-jar</goal>
-                                                                       </goals>
-                                                               </execution>
-                                                       </executions>
-                                               </plugin>
-
-                                               <plugin>
-                                                       
<groupId>org.apache.maven.plugins</groupId>
-                                                       
<artifactId>maven-javadoc-plugin</artifactId>
-                                                       <version>3.6.0</version>
-                                                       <executions>
-                                                               <execution>
-                                                                       
<id>attach-javadocs</id>
-                                                                       <goals>
-                                                                               
<goal>jar</goal>
-                                                                       </goals>
-                                                               </execution>
-                                                       </executions>
-                                               </plugin>
-
-                                       </plugins>
-                               </pluginManagement>
-
-                               <plugins>
-                                       <plugin>
-                                               
<groupId>org.apache.maven.plugins</groupId>
-                                               
<artifactId>maven-gpg-plugin</artifactId>
-                                               <version>3.1.0</version>
-                                               <executions>
-                                                       <execution>
-                                                               
<id>sign-artifacts</id>
-                                                               
<phase>verify</phase>
-                                                               <goals>
-                                                                       
<goal>sign</goal>
-                                                               </goals>
-                                                       </execution>
-                                               </executions>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
-       </profiles>
-
        <dependencyManagement>
                <dependencies>
                        <dependency>

Reply via email to