dev@glassfish.java.net

POM change review ...

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Tue, 09 Jun 2009 11:12:30 -0700

Hi Jane, others,

I have an apology to make. I just merged branches/asadmin onto trunk and in
the process, I also merged admin/cli/pom.xml. I checked the stuff in to trunk
after successful run of QL and other tests. Since it was a merge I had to
get done first, I ended up asking for review after the commit. Hope this
is all right, given that the changes I am making are pretty localized:
- a call to JAXB:generate goal
- a reconfiguration of Javadoc plugin.

Please review:

--- trunk/v3/admin/cli/pom.xml (original)
+++ trunk/v3/admin/cli/pom.xml 2009-06-09 18:06:10+0000
@@ -109,6 +109,7 @@
                      <include>**/*.1</include>
                      <include>**/*.1m</include>
                      <include>**/*.5asc</include>
+ <include>*command-names</include>
                  </includes>
              </resource>
              <resource>
@@ -148,8 +149,47 @@
                      </execution>
                  </executions>
              </plugin>
+ <plugin>
+ <groupId>org.jvnet.jaxb2.maven2</groupId>
+ <artifactId>maven-jaxb2-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-command-metadata-classes</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <schemaLanguage>DTD</schemaLanguage>
+ <schemaDirectory>src/main/resources</schemaDirectory>
+
<generatePackage>org.glassfish.enterprise.admin.ncli.metadata</generatePackage>
+ <schemaIncludes>
+ <include>cmd-metadata.dtd</include>
+ </schemaIncludes>
+ </configuration>
+ </plugin>
          </plugins>
      </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <aggregate>true</aggregate>
+ <minmemory>128m</minmemory>
+ <maxmemory>512m</maxmemory>
+ <source>1.5</source>
+ <verbose>false</verbose>
+ <linksource>true</linksource>
+ <links>
+ <link>http://java.sun.com/javase/6/docs/api/</link>
+ </links>
+ <show>private</show>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
      <dependencies>
          <dependency>
              <groupId>org.glassfish.admin</groupId>


Regards,
Kedar