Skip to content

Commit

Permalink
Remove dependency to oss-parent and copy to local pom.xml (#341)
Browse files Browse the repository at this point in the history
* Remove dependency to oss-parent and copy to local pom.xml

Fixes #340

* Use default release-profile name for release plugin

Remove inherited and not used sonatype-oss-release profile
  • Loading branch information
slachiewicz authored and abelsromero committed Feb 18, 2018
1 parent abbce69 commit 48a7afa
Showing 1 changed file with 36 additions and 14 deletions.
50 changes: 36 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
<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.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.5.7-SNAPSHOT</version>
Expand Down Expand Up @@ -166,6 +160,26 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.0.4</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
Expand Down Expand Up @@ -242,6 +256,14 @@

<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
Expand Down Expand Up @@ -312,9 +334,9 @@
<!--
To release to bintray, add your credentials to ~/.m2/settings.xml and run:
$ mvn deploy -Prelease
$ mvn deploy
-->
<id>release</id>
<id>release-profile</id>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -421,11 +443,11 @@
</profile>
</profiles>

<distributionManagement>
<repository>
<id>bintray-asciidoctor-maven-asciidoctor-maven-plugin</id>
<name>asciidoctor-maven-asciidoctor-maven-plugin</name>
<url>https://api.bintray.com/maven/asciidoctor/maven/asciidoctor-maven-plugin</url>
</repository>
<distributionManagement>
<repository>
<id>bintray-asciidoctor-maven-asciidoctor-maven-plugin</id>
<name>asciidoctor-maven-asciidoctor-maven-plugin</name>
<url>https://api.bintray.com/maven/asciidoctor/maven/asciidoctor-maven-plugin</url>
</repository>
</distributionManagement>
</project>

0 comments on commit 48a7afa

Please sign in to comment.