Skip to content

Commit

Permalink
Unify POMs tree
Browse files Browse the repository at this point in the history
  • Loading branch information
sarxos committed Nov 14, 2012
1 parent 88990f3 commit b2ef540
Show file tree
Hide file tree
Showing 8 changed files with 333 additions and 793 deletions.
291 changes: 192 additions & 99 deletions pom.xml
@@ -1,37 +1,92 @@
<?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">
<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>com.github.sarxos</groupId>
<artifactId>webcam-capture-parent</artifactId>
<version>0.3.5</version>
<version>0.3.5-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Webcam Capture - Drivers Root POM</name>
<name>Webcam Capture Parent POM</name>
<description>This is Webcam Capture root POM</description>
<inceptionYear>2012</inceptionYear>
<url>https://github.com/sarxos/${project.id}</url>

<modules>
<module>webcam-capture</module>
<module>webcam-capture-driver-civil</module>
<module>webcam-capture-driver-ipcam</module>
<module>webcam-capture-driver-jmf</module>
<!-- for release cut here, below ones require external repos -->
<module>webcam-capture-driver-civil</module>
<module>webcam-capture-driver-openimaj</module>
<module>webcam-capture-driver-vlcj</module>
<module>webcam-capture-driver-javacv</module>
</modules>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.id>webcam-capture</project.id>
</properties>

<dependencies>
<dependency>
<groupId>com.github.sarxos</groupId>
<artifactId>webcam-capture</artifactId>
<version>${version}-SNAPSHOT</version>
</dependency>
</dependencies>
<organization>
<name>Bartosz Firyn (SarXos)</name>
<url>https://github.com/sarxos</url>
</organization>

<licenses>
<license>
<name>MIT License</name>
<url>http://webcam-capture.sarxos.pl/LICENSE.txt</url>
<distribution>repo,manual</distribution>
</license>
</licenses>

<distributionManagement>
<repository>
<id>${repo-id}</id>
<url>${repo-url}</url>
</repository>
</distributionManagement>

<scm>
<connection>scm:git:git@github.com:sarxos/${project.id}.git</connection>
<developerConnection>scm:git:git@github.com:sarxos/${project.id}.git</developerConnection>
<url>git@github.com:sarxos/${project.id}.git</url>
</scm>

<issueManagement>
<system>GitHub Issues Manager</system>
<url>https://github.com/sarxos/${project.id}/issues</url>
</issueManagement>

<ciManagement>
<system>Travis CI</system>
<url>http://travis-ci.org/#!/sarxos/${project.id}</url>
</ciManagement>

<developers>
<developer>
<id>sarxos</id>
<name>Bartosz Firyn</name>
<email>bartoszfiryn@gmail.com</email>
<roles>
<role>Project Manager</role>
<role>Architect</role>
<role>Developer</role>
</roles>
<url>http://me.sarxos.pl/</url>
<organization>Bartosz Firyn (SarXos)</organization>
<organizationUrl>https://github.com/sarxos</organizationUrl>
<timezone>+1</timezone>
</developer>
</developers>

<profiles>
<profile>
Expand Down Expand Up @@ -128,6 +183,29 @@
<repo-url>ftp://ftp.sarxos.pl/maven2</repo-url>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<configuration>
<descriptors>
<descriptor>../distribution.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -149,25 +227,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<configuration>
<descriptors>
<descriptor>../distribution.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.danielflower.mavenplugins</groupId>
<artifactId>maven-gitlog-plugin</artifactId>
Expand All @@ -194,38 +253,46 @@

<build>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>enforce-maven-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.0,)</version>
<message>you-must-run-maven-3.0-or-above</message>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
</plugin>
</plugins>

<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>enforce-maven-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.0,)</version>
<message>you-must-run-maven-3.0-or-above</message>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
Expand Down Expand Up @@ -264,81 +331,110 @@

<reporting>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<show>public</show>
<keywords>cam,webcam,camera,spycam,capture</keywords>
<links>
<show>public</show>
<link>http://java.sun.com/javase/1.6.0/docs/api</link>
</links>
<linksource>true</linksource>
<detectLinks>true</detectLinks>
<windowtitle>${project.name} ${project.version} API - ${maven.build.timestamp}</windowtitle>
<doctitle>${project.name} ${project.version} API - ${maven.build.timestamp}</doctitle>
<header><![CDATA[<a href="${project.organization.url}" target="_blank">${project.organization.name}</a>]]></header>
<footer><![CDATA[<a href="${project.organization.url}" target="_blank">${project.organization.name}</a>]]></footer>
<bottom><![CDATA[Copyright © {inceptionYear}-{currentYear} <a href="${project.organization.url}" target="_blank">${project.organization.name}</a>. All Rights Reserved.]]></bottom>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.1</version>
<configuration>
<linkJavadoc>true</linkJavadoc>
<aggregate>true</aggregate>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<tags>
<tag>TODO</tag>
<tag>@todo</tag>
<tag>FIXME</tag>
<tag>XXX</tag>
</tags>
<tagListOptions>
<tagClasses>
<tagClass>
<displayName>Things to be done</displayName>
<tags>
<tag>
<matchString>TODO</matchString>
<matchType>exact</matchType>
</tag>
<tag>
<matchString>FIXME</matchString>
<matchType>exact</matchType>
</tag>
<tag>
<matchString>XXX</matchString>
<matchType>exact</matchType>
</tag>
</tags>
</tagClass>
</tagClasses>
</tagListOptions>
<aggregate>true</aggregate>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.1.2</version>
<version>2.4</version>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>cim</report>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>dependency-management</report>
<report>distribution-management</report>
<report>help</report>
<report>index</report>
<report>issue-tracking</report>
<report>license</report>
<report>mailing-list</report>
<report>modules</report>
<report>plugin-management</report>
<report>plugins</report>
<report>project-team</report>
<report>scm</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>

<plugin>
<groupId>com.googlecode.maven-overview-plugin</groupId>
<artifactId>maven-overview-plugin</artifactId>
<version>1.6</version>
<inherited>false</inherited>
<configuration>
<includes>com.github.sarxos.webcam</includes>
<width>700</width>
<height>700</height>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.1</version>
<configuration>
<linkJavadoc>true</linkJavadoc>
<aggregate>true</aggregate>
</configuration>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.1</version>
</plugin>

<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<reportSets>
<reportSet>
<id>aggregate</id>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.12</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
Expand All @@ -351,9 +447,6 @@
<aggregate>true</aggregate>
</configuration>
</plugin>
-->

</plugins>
</reporting>

Expand Down

0 comments on commit b2ef540

Please sign in to comment.