sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1389777 - /sis/trunk/pom.xml
Date Tue, 25 Sep 2012 09:45:22 GMT
Author: desruisseaux
Date: Tue Sep 25 09:45:21 2012
New Revision: 1389777

URL: http://svn.apache.org/viewvc?rev=1389777&view=rev
Log:
Enabled the custom javadoc taglets.

Modified:
    sis/trunk/pom.xml

Modified: sis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/sis/trunk/pom.xml?rev=1389777&r1=1389776&r2=1389777&view=diff
==============================================================================
--- sis/trunk/pom.xml (original)
+++ sis/trunk/pom.xml Tue Sep 25 09:45:21 2012
@@ -308,12 +308,18 @@ Apache SIS is a toolkit for describing l
         </configuration>
       </plugin>
 
-      <!-- JAR packaging -->
+      <!-- JAR packaging
+           Note: <index> and <addClasspath> are mutually exclusive: when both
are enabled,
+           the META-INF/INDEX.LIST file has precedence over the "Class-Path" entry in the
+           META-INF/MANIFEST.MF file,  thus causing java.lang.NoClassDefFoundError if the
+           INDEX.LIST file is incomplete (which seem to happen in practice).
+      -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
           <archive>
+            <index>false</index>
             <manifest>
               <addClasspath>true</addClasspath>
               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
@@ -402,6 +408,24 @@ Apache SIS is a toolkit for describing l
 
           <!-- Internal packages to hide from javadoc. -->
           <excludePackageNames>org.apache.sis.internal</excludePackageNames>
+
+          <!-- Custom taglets, some of them implemented in Java. -->
+          <tags>
+            <tag><placement>t</placement> <name>goal</name>
 <head>Maven goal:</head></tag>
+            <tag><placement>t</placement> <name>phase</name>
<head>Maven phase:</head></tag>
+            <tag><placement>a</placement> <name>todo</name>
 <head>TODO:</head></tag>
+          </tags>
+          <taglets>
+            <taglet><tagletClass>org.apache.sis.internal.taglet.Module</tagletClass></taglet>
+            <taglet><tagletClass>org.apache.sis.internal.taglet.Section</tagletClass></taglet>
+            <taglet><tagletClass>org.apache.sis.internal.taglet.Note</tagletClass></taglet>
+            <taglet><tagletClass>org.apache.sis.internal.taglet.Preformat</tagletClass></taglet>
+          </taglets>
+          <tagletArtifact>
+            <groupId>org.apache.sis</groupId>
+            <artifactId>sis-build-helper</artifactId>
+            <version>${project.version}</version>
+          </tagletArtifact>
         </configuration>
       </plugin>
 



Mime
View raw message