Maven2 and XDoclet : org.xdoclet.plugin.web.TaglibPlugin don't generate TLD inherited attributes

G

Greg

Hello,

I'm migrating a tag library project from maven 1 to maven 2.

So, with Maven 2, I'm using the TaglibPlugin to generate tld.

I have a class A with some "@jsp.attributes" and 2 classes, B and C
which extending A, with more "@jsp.attributes".
The problem is that, on the generated TLD, B and C don't have
attributes from superclass A (and this works with maven 1).

Any help would be helpful !

Here is a part of my pom.xml :
--------------------------------------------------------
<plugin>
<groupId>xdoclet</groupId>
<artifactId>maven2-xdoclet2-plugin</artifactId>
<configuration>
<configs>
<config>
<plugin>org.xdoclet.plugin.web.TaglibPlugin</plugin>
<params>
<jspversion>1.2</jspversion>
<destdir>${project.build.directory}/xdoclet</destdir>
<uri>http://www.example.com/blabla</uri>
<shortname>blabla</shortname>
</params>
</config>
</configs>
</configuration>
<dependencies>
<dependency>
<groupId>xdoclet-plugins</groupId>
<artifactId>xdoclet-plugin-web</artifactId>
<version>1.0.4-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>xdoclet</goal>
</goals>
</execution>
</executions>
</plugin>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,737
Latest member
Georgeengab

Latest Threads

Top