Commit 63806c9f authored by dthakore's avatar dthakore

adding maven configuration to make the tag self reliant

parent f3f083e9
......@@ -5,7 +5,7 @@
<parent>
<artifactId>stubs-parent</artifactId>
<groupId>com.cablelabs.ocap</groupId>
<version>1.2.2-SNAPSHOT</version>
<version>1.2.2</version>
</parent>
<artifactId>ocap_api</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>stubs-parent</artifactId>
<groupId>com.cablelabs.ocap</groupId>
<version>1.2.2-SNAPSHOT</version>
<version>1.2.2</version>
</parent>
<artifactId>ocap_ds</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>stubs-parent</artifactId>
<groupId>com.cablelabs.ocap</groupId>
<version>1.2.2-SNAPSHOT</version>
<version>1.2.2</version>
</parent>
<artifactId>ocap_dvr</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>stubs-parent</artifactId>
<groupId>com.cablelabs.ocap</groupId>
<version>1.2.2-SNAPSHOT</version>
<version>1.2.2</version>
</parent>
<artifactId>ocap_fp</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>stubs-parent</artifactId>
<groupId>com.cablelabs.ocap</groupId>
<version>1.2.2-SNAPSHOT</version>
<version>1.2.2</version>
</parent>
<artifactId>ocap_hn</artifactId>
......
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>stubs-parent</artifactId>
<version>1.2.2</version>
<packaging>pom</packaging>
<name>OCAP RI Stubs</name>
<url>http://www.opencable.com</url>
<modules>
<module>ocap_api</module>
<module>ocap_ds</module>
<module>ocap_dvr</module>
<module>ocap_fp</module>
<module>ocap_hn</module>
<module>stubs-pkg</module>
</modules>
<repositories>
<repository>
<id>tru2way-repo</id>
<url>https://community.cablelabs.com/mvn/tru2way-repo</url>
</repository>
</repositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>MM/dd/yyyy</maven.build.timestamp.format>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
<inherited>false</inherited>
<configuration>
<doctitle>This is the OCAP Bundle ${project.version} and extensions (released ${maven.build.timestamp}).</doctitle>
<groups>
<group>
<title>Core Packages</title>
<packages>java*:*</packages>
</group>
<group>
<title>OCAP Extensions</title>
<packages>org.ocap.dvr*:org.ocap.hn*:org.ocap.hardware.device*:org.ocap.hardware.frontpanel*</packages>
</group>
<group>
<title>Required by org.ocap.dvr</title>
<packages>org.ocap.shared*</packages>
</group>
</groups>
</configuration>
<executions>
<execution>
<id>aggregate</id>
<goals>
<goal>aggregate</goal>
</goals>
<phase>pre-site</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<inherited>false</inherited>
<configuration>
<descriptors>
<descriptor>src/assemble/docszip.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>docszip</id>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/assemble/docszip.xml</descriptor>
</descriptors>
</configuration>
<phase>site</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>tru2way-repo</id>
<name>CableLabs Internal Releases</name>
<url>https://community.cablelabs.com/mvn/cl-internal-releases</url>
</repository>
<snapshotRepository>
<id>tru2way-repo</id>
<name>CableLabs Internal Snapshots</name>
<url>https://community.cablelabs.com/mvn/cl-internal-snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>
\ No newline at end of file
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>docs</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.reporting.outputDirectory}/apidocs</directory>
<outputDirectory>/apidocs</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
</fileSet>
</fileSets>
</assembly>
<html>
<body>
OCAP Bundle and extensions package list.
<br/>
It includes:<br/>
<ul>
<li>PBP 1.1.2</li>
<li>JavaTV 1.1.1</li>
<li>MHP 1.0.3</li>
<li>MHP 1.1.3</li>
<li>OCAP 1.2.1</li>
</ul>
<br/>
and Extensions:<br/>
<ul>
<li>OCAP Device Settings I05</li>
<li>OCAP DVR I08</li>
<li>OCAP Front Panel I05</li>
<li>OCAP Home Networking I08</li>
<li>#org.ocap.shared.* packages are also included</li>
</ul>
</body>
</html>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>stubs-parent</artifactId>
<groupId>com.cablelabs.ocap</groupId>
<version>1.2.2</version>
</parent>
<artifactId>stubs-pkg</artifactId>
<name>OCAP RI Stubs Zip</name>
<dependencies>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_api</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
<type>zip</type>
<classifier>src</classifier>
</dependency>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_ds</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
<type>zip</type>
<classifier>src</classifier>
</dependency>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_dvr</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
<type>zip</type>
<classifier>src</classifier>
</dependency>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_fp</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
<type>zip</type>
<classifier>src</classifier>
</dependency>
<dependency>
<groupId>com.cablelabs.ocap</groupId>
<artifactId>ocap_hn</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
<type>zip</type>
<classifier>src</classifier>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<inherited>false</inherited>
<configuration>
<descriptors>
<descriptor>src/assemble/srczip.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>srczip</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>src</id>
<formats>
<format>zip</format>
</formats>
<dependencySets>
<dependencySet>
<outputDirectory>/</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
<scope>runtime</scope>
<useTransitiveDependencies>false</useTransitiveDependencies>
</dependencySet>
</dependencySets>
</assembly>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment