Splitting aggregate javadoc generation into a separate project and pom.xml file.
Showing
6 changed files
with
148 additions
and
58 deletions
docs/external.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
5 | + <modelVersion>4.0.0</modelVersion> | ||
6 | + | ||
7 | + <prerequisites> | ||
8 | + <maven>3.0.0</maven> | ||
9 | + </prerequisites> | ||
10 | + | ||
11 | + <parent> | ||
12 | + <groupId>org.onlab.onos</groupId> | ||
13 | + <artifactId>onos</artifactId> | ||
14 | + <version>1.0.0-SNAPSHOT</version> | ||
15 | + <relativePath>../pom.xml</relativePath> | ||
16 | + </parent> | ||
17 | + | ||
18 | + <artifactId>onos-docs-external</artifactId> | ||
19 | + <packaging>pom</packaging> | ||
20 | + | ||
21 | + <description>ONOS Java API documentation</description> | ||
22 | + | ||
23 | + <modules> | ||
24 | + <module>..</module> | ||
25 | + </modules> | ||
26 | + | ||
27 | + <url>http://onlab.us/</url> | ||
28 | + | ||
29 | + <build> | ||
30 | + <plugins> | ||
31 | + <plugin> | ||
32 | + <groupId>org.apache.maven.plugins</groupId> | ||
33 | + <artifactId>maven-javadoc-plugin</artifactId> | ||
34 | + <version>2.10.1</version> | ||
35 | + <configuration> | ||
36 | + <show>package</show> | ||
37 | + <excludePackageNames>org.onlab.thirdparty:*.impl:*.impl.*:org.onlab.onos.provider.*:org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli*:org.onlab.onos.tvue:org.onlab.onos.foo:org.onlab.onos.mobility:org.onlab.onos.proxyarp:org.onlab.onos.fwd:org.onlab.onos.ifwd:org.onlab.onos.optical:org.onlab.onos.config:org.onlab.onos.calendar:org.onlab.onos.sdnip*:org.onlab.onos.metrics</excludePackageNames> | ||
38 | + <docfilessubdirs>true</docfilessubdirs> | ||
39 | + <doctitle>ONOS Java API</doctitle> | ||
40 | + <groups> | ||
41 | + <group> | ||
42 | + <title>Network Model & Services</title> | ||
43 | + <packages> | ||
44 | + org.onlab.onos:org.onlab.onos.* | ||
45 | + </packages> | ||
46 | + </group> | ||
47 | + <group> | ||
48 | + <title>Utilities</title> | ||
49 | + <packages> | ||
50 | + org.onlab.* | ||
51 | + </packages> | ||
52 | + </group> | ||
53 | + </groups> | ||
54 | + </configuration> | ||
55 | + </plugin> | ||
56 | + </plugins> | ||
57 | + </build> | ||
58 | + | ||
59 | +</project> |
docs/pom.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
5 | + <modelVersion>4.0.0</modelVersion> | ||
6 | + | ||
7 | + <prerequisites> | ||
8 | + <maven>3.0.0</maven> | ||
9 | + </prerequisites> | ||
10 | + | ||
11 | + <parent> | ||
12 | + <groupId>org.onlab.onos</groupId> | ||
13 | + <artifactId>onos</artifactId> | ||
14 | + <version>1.0.0-SNAPSHOT</version> | ||
15 | + <relativePath>../pom.xml</relativePath> | ||
16 | + </parent> | ||
17 | + | ||
18 | + <artifactId>onos-docs</artifactId> | ||
19 | + <packaging>pom</packaging> | ||
20 | + | ||
21 | + <description>ONOS Java API documentation</description> | ||
22 | + | ||
23 | + <modules> | ||
24 | + <module>..</module> | ||
25 | + </modules> | ||
26 | + | ||
27 | + <url>http://onlab.us/</url> | ||
28 | + | ||
29 | + <build> | ||
30 | + <plugins> | ||
31 | + <plugin> | ||
32 | + <groupId>org.apache.maven.plugins</groupId> | ||
33 | + <artifactId>maven-javadoc-plugin</artifactId> | ||
34 | + <version>2.10.1</version> | ||
35 | + <configuration> | ||
36 | + <show>package</show> | ||
37 | + <docfilessubdirs>true</docfilessubdirs> | ||
38 | + <doctitle>ONOS Java API</doctitle> | ||
39 | + <groups> | ||
40 | + <group> | ||
41 | + <title>Network Model & Services</title> | ||
42 | + <packages> | ||
43 | + org.onlab.onos:org.onlab.onos.* | ||
44 | + </packages> | ||
45 | + </group> | ||
46 | + <group> | ||
47 | + <title>Core Subsystems</title> | ||
48 | + <packages> | ||
49 | + org.onlab.onos.impl:org.onlab.onos.cluster.impl:org.onlab.onos.net.device.impl:org.onlab.onos.net.link.impl:org.onlab.onos.net.host.impl:org.onlab.onos.net.topology.impl:org.onlab.onos.net.packet.impl:org.onlab.onos.net.flow.impl:org.onlab.onos.store.trivial.*:org.onlab.onos.net.*.impl:org.onlab.onos.event.impl:org.onlab.onos.store.*:org.onlab.onos.net.intent.impl:org.onlab.onos.net.proxyarp.impl:org.onlab.onos.mastership.impl:org.onlab.onos.json:org.onlab.onos.json.*:org.onlab.onos.provider.host.impl:org.onlab.onos.provider.lldp.impl:org.onlab.onos.net.statistic.impl | ||
50 | + </packages> | ||
51 | + </group> | ||
52 | + <group> | ||
53 | + <title>OpenFlow Providers & Controller | ||
54 | + </title> | ||
55 | + <packages> | ||
56 | + org.onlab.onos.provider.of.*:org.onlab.onos.openflow.* | ||
57 | + </packages> | ||
58 | + </group> | ||
59 | + <group> | ||
60 | + <title>Utilities</title> | ||
61 | + <packages> | ||
62 | + org.onlab.* | ||
63 | + </packages> | ||
64 | + </group> | ||
65 | + <group> | ||
66 | + <title>GUI, REST & Command-Line</title> | ||
67 | + <packages> | ||
68 | + org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.* | ||
69 | + </packages> | ||
70 | + </group> | ||
71 | + <group> | ||
72 | + <title>Sample Applications</title> | ||
73 | + <packages> | ||
74 | + org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.ifwd:org.onlab.onos.mobility:org.onlab.onos.proxyarp:org.onlab.onos.foo:org.onlab.onos.calendar:org.onlab.onos.sdnip:org.onlab.onos.sdnip.*:org.onlab.onos.optical:org.onlab.onos.optical.*:org.onlab.onos.metrics.*:org.onlab.onos.config | ||
75 | + </packages> | ||
76 | + </group> | ||
77 | + </groups> | ||
78 | + <excludePackageNames>org.onlab.thirdparty | ||
79 | + </excludePackageNames> | ||
80 | + </configuration> | ||
81 | + </plugin> | ||
82 | + </plugins> | ||
83 | + </build> | ||
84 | + | ||
85 | +</project> |
68.4 KB
... | @@ -4,6 +4,10 @@ | ... | @@ -4,6 +4,10 @@ |
4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
5 | <modelVersion>4.0.0</modelVersion> | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 | ||
7 | + <prerequisites> | ||
8 | + <maven>3.0.0</maven> | ||
9 | + </prerequisites> | ||
10 | + | ||
7 | <groupId>org.onlab.onos</groupId> | 11 | <groupId>org.onlab.onos</groupId> |
8 | <artifactId>onos</artifactId> | 12 | <artifactId>onos</artifactId> |
9 | <packaging>pom</packaging> | 13 | <packaging>pom</packaging> |
... | @@ -28,7 +32,6 @@ | ... | @@ -28,7 +32,6 @@ |
28 | 32 | ||
29 | <licenses> | 33 | <licenses> |
30 | <license> | 34 | <license> |
31 | - <!-- TODO: Is this really our license scheme? --> | ||
32 | <name>Apache License, Version 2.0</name> | 35 | <name>Apache License, Version 2.0</name> |
33 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | 36 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
34 | </license> | 37 | </license> |
... | @@ -528,59 +531,6 @@ | ... | @@ -528,59 +531,6 @@ |
528 | </execution> | 531 | </execution> |
529 | </executions> | 532 | </executions> |
530 | </plugin> | 533 | </plugin> |
531 | - | ||
532 | - <plugin> | ||
533 | - <groupId>org.apache.maven.plugins</groupId> | ||
534 | - <artifactId>maven-javadoc-plugin</artifactId> | ||
535 | - <version>2.10.1</version> | ||
536 | - <configuration> | ||
537 | - <show>package</show> | ||
538 | - <docfilessubdirs>true</docfilessubdirs> | ||
539 | - <doctitle>ONOS Java API</doctitle> | ||
540 | - <groups> | ||
541 | - <group> | ||
542 | - <title>Network Model & Services</title> | ||
543 | - <packages> | ||
544 | - org.onlab.onos:org.onlab.onos.* | ||
545 | - </packages> | ||
546 | - </group> | ||
547 | - <group> | ||
548 | - <title>Core Subsystems</title> | ||
549 | - <packages> | ||
550 | - org.onlab.onos.impl:org.onlab.onos.cluster.impl:org.onlab.onos.net.device.impl:org.onlab.onos.net.link.impl:org.onlab.onos.net.host.impl:org.onlab.onos.net.topology.impl:org.onlab.onos.net.packet.impl:org.onlab.onos.net.flow.impl:org.onlab.onos.store.trivial.*:org.onlab.onos.net.*.impl:org.onlab.onos.event.impl:org.onlab.onos.store.*:org.onlab.onos.net.intent.impl:org.onlab.onos.net.proxyarp.impl:org.onlab.onos.mastership.impl:org.onlab.onos.json:org.onlab.onos.json.*:org.onlab.onos.provider.host.impl:org.onlab.onos.provider.lldp.impl:org.onlab.onos.net.statistic.impl | ||
551 | - </packages> | ||
552 | - </group> | ||
553 | - <group> | ||
554 | - <title>OpenFlow Providers & Controller | ||
555 | - </title> | ||
556 | - <packages> | ||
557 | - org.onlab.onos.provider.of.*:org.onlab.onos.openflow.* | ||
558 | - </packages> | ||
559 | - </group> | ||
560 | - <group> | ||
561 | - <title>Utilities</title> | ||
562 | - <packages> | ||
563 | - org.onlab.* | ||
564 | - </packages> | ||
565 | - </group> | ||
566 | - <group> | ||
567 | - <title>GUI, REST & Command-Line</title> | ||
568 | - <packages> | ||
569 | - org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.* | ||
570 | - </packages> | ||
571 | - </group> | ||
572 | - <group> | ||
573 | - <title>Sample Applications</title> | ||
574 | - <packages> | ||
575 | - org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.ifwd:org.onlab.onos.mobility:org.onlab.onos.proxyarp:org.onlab.onos.foo:org.onlab.onos.calendar:org.onlab.onos.sdnip:org.onlab.onos.sdnip.*:org.onlab.onos.optical:org.onlab.onos.optical.*:org.onlab.onos.metrics.* | ||
576 | - </packages> | ||
577 | - </group> | ||
578 | - </groups> | ||
579 | - <excludePackageNames>org.onlab.thirdparty | ||
580 | - </excludePackageNames> | ||
581 | - </configuration> | ||
582 | - </plugin> | ||
583 | - | ||
584 | </plugins> | 534 | </plugins> |
585 | </build> | 535 | </build> |
586 | 536 | ||
... | @@ -607,10 +557,6 @@ | ... | @@ -607,10 +557,6 @@ |
607 | </rulesets> | 557 | </rulesets> |
608 | </configuration> | 558 | </configuration> |
609 | </plugin> | 559 | </plugin> |
610 | - | ||
611 | </plugins> | 560 | </plugins> |
612 | </reporting> | 561 | </reporting> |
613 | - <prerequisites> | ||
614 | - <maven>3.0.0</maven> | ||
615 | - </prerequisites> | ||
616 | </project> | 562 | </project> | ... | ... |
-
Please register or login to post a comment