svn commit: r733376 - /jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml

[email protected]
Newsgroups gmane.comp.jakarta.taglibs.devel
Message-ID <[email protected]>
Author: rahul
Date: Sat Jan 10 14:03:48 2009
New Revision: 733376

URL: http://svn.apache.org/viewvc?rev=733376&view=rev
Log:
Now for the fun part :-) The taglib plugin can't be used without some amount of work (the processing of .tag and .tagx files is off). Until we can un-inherit the plugin, we'll point it to a non-standard location, say src/main/tld and generate the TLD there (all the tag files nested in the default location -- src/main/resources/META-INF -- cause processing issues for the plugin reports as things stand).

Modified:
    jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml

Modified: jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml?rev=733376&r1=733375&r2=733376&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml (original)
+++ jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml Sat Jan 10 14:03:48 2009
@@ -77,7 +77,43 @@
   <build>
     <!-- taglibs-parent has non-standard source dir -->
     <sourceDirectory>src/main/java</sourceDirectory>
+    <resources>
+      <!-- The TLD is generated to src/main/tld otherwise the taglib plugin
+           picks up an 'unknown' taglib (see <reporting> below), so we have
+           this otherwise redundant resources section -->
+      <resource>
+        <directory>src/main/tld</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>taglibs-rdc.tld</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>.</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>NOTICE.txt</include>
+          <include>LICENSE.txt</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <targetPath>.</targetPath>
+      </resource>
+    </resources>
   </build>
 
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>net.sourceforge.maven-taglib</groupId>
+        <artifactId>maven-taglib-plugin</artifactId>
+        <configuration>
+          <taglib.src.dir>src/main/tld</taglib.src.dir>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+
 </project>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.