Skip to content

Commit

Permalink
Prepare Version-Tiger for maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpliamplias authored and b8 committed May 3, 2016
1 parent 93df97f commit 888f9a9
Show file tree
Hide file tree
Showing 15 changed files with 163 additions and 65 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -5,3 +5,6 @@ com.inventage.tools.versiontiger.ui/target
com.inventage.tools.versiontiger.universedefinition/target
versiontiger.repository/target
versiontiger-maven-plugin/target
versiontiger.build/target
versiontiger.parent/target
versiontiger.targetplatform/target
2 changes: 2 additions & 0 deletions com.inventage.tools.versiontiger.gui/pom.xml
Expand Up @@ -12,6 +12,8 @@

<artifactId>com.inventage.tools.versiontiger.gui</artifactId>
<packaging>eclipse-feature</packaging>

<name>Version-Tiger - UI Feature</name>
<description>Version-Tiger UI-Feature.</description>

</project>
13 changes: 8 additions & 5 deletions com.inventage.tools.versiontiger.test/pom.xml
Expand Up @@ -2,15 +2,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<artifactId>com.inventage.tools.versiontiger.test</artifactId>
<packaging>eclipse-test-plugin</packaging>
<name>Version-Tiger - Tests</name>


<parent>
<artifactId>versiontiger.parent</artifactId>
<groupId>com.inventage.tools.versiontiger</groupId>
<version>1.3.2-SNAPSHOT</version>
<relativePath>../versiontiger.parent/pom.xml</relativePath>
</parent>

<artifactId>com.inventage.tools.versiontiger.test</artifactId>
<packaging>eclipse-test-plugin</packaging>

<name>Version-Tiger - Tests</name>
<description>Version-Tiger Tests.</description>

</project>
13 changes: 8 additions & 5 deletions com.inventage.tools.versiontiger.ui/pom.xml
Expand Up @@ -2,15 +2,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<artifactId>com.inventage.tools.versiontiger.ui</artifactId>
<packaging>eclipse-plugin</packaging>
<name>Version-Tiger - UI</name>


<parent>
<artifactId>versiontiger.parent</artifactId>
<groupId>com.inventage.tools.versiontiger</groupId>
<version>1.3.2-SNAPSHOT</version>
<relativePath>../versiontiger.parent/pom.xml</relativePath>
</parent>

<artifactId>com.inventage.tools.versiontiger.ui</artifactId>
<packaging>eclipse-plugin</packaging>

<name>Version-Tiger - UI</name>
<description>Version-Tiger UI</description>

</project>
13 changes: 8 additions & 5 deletions com.inventage.tools.versiontiger.universedefinition/pom.xml
Expand Up @@ -2,15 +2,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<artifactId>com.inventage.tools.versiontiger.universedefinition</artifactId>
<packaging>eclipse-plugin</packaging>
<name>Version-Tiger - Universe Definition</name>


<parent>
<artifactId>versiontiger.parent</artifactId>
<groupId>com.inventage.tools.versiontiger</groupId>
<version>1.3.2-SNAPSHOT</version>
<relativePath>../versiontiger.parent/pom.xml</relativePath>
</parent>

<artifactId>com.inventage.tools.versiontiger.universedefinition</artifactId>
<packaging>eclipse-plugin</packaging>

<name>Version-Tiger - Universe Definition</name>
<description>Version-Tiger universe definition.</description>

</project>
Expand Up @@ -13,7 +13,7 @@
public interface ProjectUniverseProvider extends IExecutableExtensionFactory {

/**
* @return the {@link ProjectUniverseModel}s of this
* @return the ProjectUniverseModel of this
* {@link ProjectUniverseProvider}.
*/
Set<ProjectUniverse> getProjectUniverses(VersioningLogger logger);
Expand Down
10 changes: 6 additions & 4 deletions com.inventage.tools.versiontiger/pom.xml
Expand Up @@ -3,17 +3,19 @@
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<artifactId>com.inventage.tools.versiontiger</artifactId>
<packaging>eclipse-plugin</packaging>
<name>Version-Tiger</name>

<parent>
<artifactId>versiontiger.parent</artifactId>
<groupId>com.inventage.tools.versiontiger</groupId>
<version>1.3.2-SNAPSHOT</version>
<relativePath>../versiontiger.parent/pom.xml</relativePath>
</parent>

<artifactId>com.inventage.tools.versiontiger</artifactId>
<packaging>eclipse-plugin</packaging>

<name>Version-Tiger</name>
<description>Version-Tiger core module.</description>

<!-- Dependencies only for CLI assembly -->
<dependencies>
<dependency>
Expand Down
5 changes: 0 additions & 5 deletions versiontiger-maven-plugin/.classpath
Expand Up @@ -22,10 +22,5 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
3 changes: 2 additions & 1 deletion versiontiger-maven-plugin/pom.xml
Expand Up @@ -10,9 +10,10 @@
</parent>

<artifactId>versiontiger-maven-plugin</artifactId>
<version>1.3.2-SNAPSHOT</version>
<packaging>maven-plugin</packaging>

<name>Version-Tiger - Maven Plugin</name>
<description>Version-Tiger maven plugin.</description>

<properties>
<mavenplugin.version>1.3.2-SNAPSHOT</mavenplugin.version>
Expand Down
17 changes: 9 additions & 8 deletions versiontiger.build/pom.xml
@@ -1,21 +1,22 @@
<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">
<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>

<artifactId>versiontiger.build</artifactId>
<packaging>pom</packaging>

<name>Version-Tiger - Build reactor</name>


<parent>
<groupId>com.inventage.tools.versiontiger</groupId>
<artifactId>versiontiger.parent</artifactId>
<version>1.3.2-SNAPSHOT</version>
<relativePath>../versiontiger.parent/pom.xml</relativePath>
</parent>

<artifactId>versiontiger.build</artifactId>
<packaging>pom</packaging>

<name>Version-Tiger - Build reactor</name>
<description>The build POM for Version-Tiger.</description>

<modules>
<module>../versiontiger.parent</module>
<module>../versiontiger.targetplatform</module>

<module>../com.inventage.tools.versiontiger</module>
<module>../com.inventage.tools.versiontiger.test</module>
Expand Down
124 changes: 94 additions & 30 deletions versiontiger.parent/pom.xml
Expand Up @@ -8,10 +8,34 @@
<packaging>pom</packaging>

<name>Version-Tiger - Parent pom</name>
<description>Parent pom for Version-Tiger maven plugin.</description>
<url>https://github.com/inventage/version-tiger/wiki</url>

<licenses>
<license>
<name>The BSD 2-Clause License</name>
<url>https://opensource.org/licenses/BSD-2-Clause</url>
</license>
</licenses>

<developers>
<developer>
<name>Beat Strasser</name>
<email>beat.strasser@inventage.com</email>
<organization>Inventage AG</organization>
<organizationUrl>www.inventage.com</organizationUrl>
</developer>
</developers>

<scm>
<connection>scm:git:git@github.com:inventage/version-tiger.git</connection>
<developerConnection>scm:git:git@github.com:inventage/version-tiger.git</developerConnection>
<url>git@github.com:inventage/version-tiger.git</url>
</scm>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho.version>0.19.0</tycho.version>
<tycho.version>0.25.0</tycho.version>
<java.version>1.6</java.version>
</properties>

Expand Down Expand Up @@ -65,6 +89,13 @@
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<target>
<artifact>
<groupId>com.inventage.tools.versiontiger</groupId>
<artifactId>versiontiger.targetplatform</artifactId>
<version>${project.version}</version>
</artifact>
</target>
<environments>
<environment>
<os>win32</os>
Expand Down Expand Up @@ -99,6 +130,43 @@
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>maven-central-oss-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -156,39 +224,14 @@
</pluginManagement>
</build>

<repositories>

<repository>
<id>eclipse-galileo</id>
<name>Eclipse.org Galileo Repo</name>
<url>http://download.eclipse.org/releases/galileo/</url>
<layout>p2</layout>
</repository>

<repository>
<id>orbit</id>
<name>Eclipse Orbit R20120526062928</name>
<url>http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository/</url>
<layout>p2</layout>
</repository>

<repository>
<id>version-tiger-libs</id>
<name>Version-Tiger third party libraries</name>
<url>https://raw.github.com/inventage/version-tiger-repos/master/dependencies/</url>
<layout>p2</layout>
</repository>

</repositories>

<distributionManagement>
<repository>
<id>${version-tiger-releases.id}</id>
<url>${version-tiger-releases.url}</url>
<id>maven-central-oss-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>${version-tiger-snapshots.id}</id>
<url>${version-tiger-snapshots.url}</url>
<id>maven-central-oss-staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

Expand All @@ -208,6 +251,27 @@
</plugins>
</build>
</profile>
<profile>
<id>signature</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
2 changes: 2 additions & 0 deletions versiontiger.repository/pom.xml
Expand Up @@ -13,6 +13,8 @@
<packaging>eclipse-repository</packaging>

<name>Version-Tiger - Repository</name>
<description>Version-Tiger repository.</description>

<build>
<plugins>
<plugin>
Expand Down
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>versiontiger.target</name>
<name>versiontiger.targetplatform</name>
<comment></comment>
<projects>
</projects>
Expand Down
19 changes: 19 additions & 0 deletions versiontiger.targetplatform/pom.xml
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>com.inventage.tools.versiontiger</groupId>
<artifactId>versiontiger.parent</artifactId>
<version>1.3.2-SNAPSHOT</version>
<relativePath>../versiontiger.parent/pom.xml</relativePath>
</parent>

<artifactId>versiontiger.targetplatform</artifactId>
<packaging>eclipse-target-definition</packaging>

<name>Version-Tiger - Targetplatform</name>
<description>Version-Tiger targetplatform.</description>
</project>
File renamed without changes.

0 comments on commit 888f9a9

Please sign in to comment.