pom.xml 4.71 KB
Newer Older
dthakore's avatar
dthakore committed
1 2 3 4 5 6
<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>
7
    <version>1.3.2-SNAPSHOT</version>
dthakore's avatar
dthakore committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
    <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>
31 32 33 34 35 36 37 38 39 40 41 42 43
        
        <!-- 
            The following properties are used within javadoc and release files to specify the version
            of various specs being used 
        -->
        <pbp.version>1.1.2</pbp.version>
        <javatv.version>1.1.1</javatv.version>
        <mhp.version.1>1.0.1</mhp.version.1>
        <mhp.version.2>1.1.3</mhp.version.2>
        <ocap.ds.spec.version>I05</ocap.ds.spec.version>
        <ocap.dvr.spec.version>I08</ocap.dvr.spec.version>
        <ocap.fp.spec.version>I05</ocap.fp.spec.version>
        <ocap.hn.spec.version>I08</ocap.hn.spec.version>        
dthakore's avatar
dthakore committed
44 45
    </properties>
        
46 47
    <build>        
        <plugins>            
dthakore's avatar
dthakore committed
48 49 50 51
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.8.1</version>
52
                <inherited>false</inherited>
dthakore's avatar
dthakore committed
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
                <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>
77
                        <phase>pre-site</phase>
dthakore's avatar
dthakore committed
78 79
                    </execution>
                </executions>
80
            </plugin>            
dthakore's avatar
dthakore committed
81 82 83 84
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.3</version>
85
                <inherited>false</inherited>                
dthakore's avatar
dthakore committed
86 87
                <executions>
                    <execution>
88
                        <id>docszip</id>
dthakore's avatar
dthakore committed
89
                        <goals>
90 91
                            <goal>single</goal>
                        </goals>                        
92
                        <configuration>                            
93 94 95
                            <descriptors>
                                <descriptor>src/assemble/docszip.xml</descriptor>
                            </descriptors>
96
                            <finalName>ocap_stubs-${project.version}</finalName>
97 98
                        </configuration>                        
                        <phase>site</phase>
dthakore's avatar
dthakore committed
99
                    </execution>
100
                </executions>                
101
            </plugin>
dthakore's avatar
dthakore committed
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
        </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>