Skip to content

Commit

Permalink
chore: fix some POM issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ccampo133 committed Dec 2, 2019
1 parent ac8b474 commit dd23054
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 10 deletions.
12 changes: 12 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
12 changes: 12 additions & 0 deletions maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,18 @@ under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Deploy test jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@

/**
* Maven Extension that will update all the projects in the reactor with an externally managed version.
* <p/>
* <p>
* This extension MUST be configured as a plugin in order to be configured.
* <p/>
* <p>
* 'strategy' - The configuration for an ExternalVersionStrategy.
* 'hint' - A component hint to load the ExternalVersionStrategy.
*
Expand Down
46 changes: 38 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,46 @@ under the License.
<artifactId>maven-git-version</artifactId>
<version>0.1.0</version>
<packaging>pom</packaging>
<name>maven-git-version</name>
<description>Java interface to OpenCV and more</description>
<url>http://bytedeco.org/javacv/</url>

<scm>
<url>https://github.com/ccampo133/maven-git-version</url>
<connection>scm:git:git://github.com/ccampo133/maven-git-version.git</connection>
<developerConnection>scm:git:ssh://[email protected]/ccampo133/maven-git-version.git</developerConnection>
</scm>

<developers>
<developer>
<name>Chris Campo</name>
<email>[email protected]</email>
<url>https://www.ccampo.me</url>
</developer>
</developers>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<distributionManagement>
<repository>
<id>bintray-ccampo133-public</id>
<name>ccampo133-public</name>
<url>https://api.bintray.com/maven/ccampo133/public/maven-git-version/;publish=1</url>
</repository>
</distributionManagement>

<modules>
<module>core</module>
<module>strategies</module>
Expand Down Expand Up @@ -84,16 +117,13 @@ under the License.
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<distributionManagement>
<repository>
<id>bintray-ccampo133-public</id>
<name>ccampo133-public</name>
<url>https://api.bintray.com/maven/ccampo133/public/maven-git-version/;publish=1</url>
</repository>
</distributionManagement>

</project>
12 changes: 12 additions & 0 deletions strategies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@ under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Deploy test jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit dd23054

Please sign in to comment.