Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Feb 28, 2021
1 parent 0dbd0d1 commit cc13f73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@
<artifactId>mojo-parent</artifactId>
<version>50</version>
</parent>

<artifactId>flatten-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>Maven Flatten Plugin</name>
<version>1.2.3-SNAPSHOT</version>
<version>1.2.6-SNAPSHOT</version>
<description>Plugin to generate flattened POM (reduced and resolved information required for consumers of maven repositories) and to use (install, sign, deploy) it instead of original pom.xml.</description>
<inceptionYear>2014</inceptionYear>

<prerequisites>
<maven>${mavenVersion}</maven>
</prerequisites>
Expand Down Expand Up @@ -114,6 +116,7 @@
</roles>
</developer>
</developers>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down Expand Up @@ -291,6 +294,7 @@
</plugin>
</plugins>
</reporting>

<licenses>
<license>
<name>Apache Software Licenese</name>
Expand All @@ -302,7 +306,7 @@
<connection>scm:git:https://github.com/mojohaus/flatten-maven-plugin.git</connection>
<developerConnection>scm:git:ssh://[email protected]/mojohaus/flatten-maven-plugin.git</developerConnection>
<url>https://github.com/mojohaus/flatten-maven-plugin</url>
<tag>flatten-maven-plugin-1.1.0</tag>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>github</system>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void removeFlattenedPom() throws IOException {
File flattenedPom = new File( FLATTENED_POM );
if ( flattenedPom.exists() ) {
if ( !flattenedPom.delete() ) {
throw new IOException( "Can't delete" + flattenedPom );
throw new IOException( "Can't delete " + flattenedPom );
}
}
}
Expand Down

0 comments on commit cc13f73

Please sign in to comment.