Providing module with HTML5 Documentation elements
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 02 May 2013 14:48:44 +0200
branchelements
changeset 10759435d870f110
parent 1074 3ab2f70b300d
child 1078 fc4fc1633445
child 1079 24b95d90955a
Providing module with HTML5 Documentation
javaquery/api/pom.xml
javaquery/html5doc/pom.xml
     1.1 --- a/javaquery/api/pom.xml	Thu May 02 10:19:07 2013 +0200
     1.2 +++ b/javaquery/api/pom.xml	Thu May 02 14:48:44 2013 +0200
     1.3 @@ -83,5 +83,10 @@
     1.4        <groupId>org.netbeans.modules</groupId>
     1.5        <artifactId>org-netbeans-modules-html-parser</artifactId>
     1.6      </dependency>
     1.7 +    <dependency>
     1.8 +      <groupId>${project.groupId}</groupId>
     1.9 +      <artifactId>html5doc</artifactId>
    1.10 +      <version>${project.version}</version>
    1.11 +    </dependency>
    1.12    </dependencies>
    1.13  </project>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/javaquery/html5doc/pom.xml	Thu May 02 14:48:44 2013 +0200
     2.3 @@ -0,0 +1,70 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +<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">
     2.6 +  <modelVersion>4.0.0</modelVersion>
     2.7 +  <parent>
     2.8 +    <artifactId>javaquery</artifactId>
     2.9 +    <groupId>org.apidesign.bck2brwsr</groupId>
    2.10 +    <version>0.8-SNAPSHOT</version>
    2.11 +  </parent>
    2.12 +  <groupId>org.apidesign.bck2brwsr</groupId>
    2.13 +  <artifactId>html5doc</artifactId>
    2.14 +  <version>0.8-SNAPSHOT</version>
    2.15 +  <packaging>jar</packaging>
    2.16 +  <name>HTML5 Documentation</name>
    2.17 +  <build>
    2.18 +      <plugins>
    2.19 +          <plugin>
    2.20 +              <groupId>org.apache.maven.plugins</groupId>
    2.21 +              <artifactId>maven-dependency-plugin</artifactId>
    2.22 +              <executions>
    2.23 +                  <execution>
    2.24 +                      <id>unpack</id>
    2.25 +                      <phase>compile</phase>
    2.26 +                      <goals>
    2.27 +                          <goal>copy</goal>
    2.28 +                      </goals>
    2.29 +                      <configuration>
    2.30 +                          <artifactItems>
    2.31 +                              <artifactItem>
    2.32 +                                  <groupId>org.netbeans.modules</groupId>
    2.33 +                                  <artifactId>org-netbeans-modules-html-parser</artifactId>
    2.34 +                                  <version>RELEASE73</version>
    2.35 +                                  <type>nbm</type>
    2.36 +                                  <overWrite>false</overWrite>
    2.37 +                                  <outputDirectory>target/nbms</outputDirectory>
    2.38 +                                  <destFileName>parser.zip</destFileName>
    2.39 +                              </artifactItem>
    2.40 +                          </artifactItems>
    2.41 +                      </configuration>
    2.42 +                  </execution>
    2.43 +              </executions>   
    2.44 +          </plugin>
    2.45 +          <plugin>
    2.46 +              <groupId>org.apache.maven.plugins</groupId>
    2.47 +              <artifactId>maven-antrun-plugin</artifactId>
    2.48 +              <version>1.7</version>
    2.49 +              <executions>
    2.50 +                  <execution>
    2.51 +                      <id>unzip</id>
    2.52 +                      <phase>compile</phase>
    2.53 +                      <configuration>
    2.54 +                          <tasks>
    2.55 +                              <unzip src="target/nbms/parser.zip" dest="target/nbms/" />
    2.56 +                              <mkdir dir="target/classes/org/apidesign/bck2brwsr/html5doc/"/>
    2.57 +                              <unzip src="target/nbms/netbeans/docs/html5doc.zip" 
    2.58 +                                    dest="target/classes/org/apidesign/bck2brwsr/html5doc/" 
    2.59 +                              />
    2.60 +                          </tasks>
    2.61 +                      </configuration>
    2.62 +                      <goals>
    2.63 +                          <goal>run</goal>
    2.64 +                      </goals>
    2.65 +                  </execution>
    2.66 +              </executions>
    2.67 +          </plugin>          
    2.68 +      </plugins>
    2.69 +  </build>
    2.70 +  <properties>
    2.71 +      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    2.72 +  </properties>
    2.73 +</project>