Skip to content

Commit

Permalink
harmonized maven-deploy-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed May 17, 2023
1 parent 18216f4 commit d84f253
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 46 deletions.
23 changes: 0 additions & 23 deletions org.eclipse.xtend.maven.parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,6 @@
</extension>
</extensions>
<plugins>
<!-- See https://jira.codehaus.org/browse/MINSTALL-102 -->
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<bannedPlugins>
<excludes>
<exclude>org.apache.maven.plugins:maven-install-plugin</exclude>
<exclude>org.apache.maven.plugins:maven-deploy-plugin</exclude>
</excludes>
<includes>
<include>org.apache.maven.plugins:maven-install-plugin:2.5.2</include>
<include>org.apache.maven.plugins:maven-deploy-plugin:2.8.2</include>
</includes>
</bannedPlugins>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
Expand Down Expand Up @@ -108,13 +92,6 @@
<artifactId>maven-archetype-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<deployAtEnd>false</deployAtEnd>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.2.1</version>
Expand Down
12 changes: 12 additions & 0 deletions org.eclipse.xtext.dev-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,18 @@
</dependencies>
</dependencyManagement>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>sonatype-oss-release</id>
Expand Down
23 changes: 0 additions & 23 deletions org.eclipse.xtext.maven.parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,6 @@
</extension>
</extensions>
<plugins>
<!-- See https://jira.codehaus.org/browse/MINSTALL-102 -->
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<bannedPlugins>
<excludes>
<exclude>org.apache.maven.plugins:maven-install-plugin</exclude>
<exclude>org.apache.maven.plugins:maven-deploy-plugin</exclude>
</excludes>
<includes>
<include>org.apache.maven.plugins:maven-install-plugin:2.5.2</include>
<include>org.apache.maven.plugins:maven-deploy-plugin:2.8.2</include>
</includes>
</bannedPlugins>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
Expand Down Expand Up @@ -85,13 +69,6 @@
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<deployAtEnd>false</deployAtEnd>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.2.1</version>
Expand Down

0 comments on commit d84f253

Please sign in to comment.