Thanks Konstantin, I will hold off and just bear with the warning for now.
However, I have another query. My jstl tags does not seem to working in my jsp pages, amongst other things. I am guessing something is wrong with my xdoclet2 plugin definition and its components and dependencies in my pom.xml. I have included my previous working xdoclet plugin definition and my new working but not complete xdoclet2 plugin definition. Thanks for all your help XDOCLET2 PLUGIN <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> <version>2.0.5-SNAPSHOT</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>xdoclet</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>xdoclet-plugins</groupId> <artifactId>xdoclet-plugin-spring</artifactId> <version>1.0.4-SNAPSHOT</version> </dependency> <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> <configuration> <generatedDirectory>${project.build.directory}/generated-sources/java</generatedDirectory> <configs> <config> <components> <component> <classname>org.xdoclet.plugin.web.WebPlugin</classname> <params> <filereplace>spring-${project.build.finalName}-servlet.xml</filereplace> <destdir>${project.build.directory}/${project.build.finalName}/WEB-INF</destdir> <mergedir>src/main/xdoclet/webdoclet</mergedir> <validate>true</validate> <servletversion>2.4</servletversion> </params> </component> <component> <classname>org.xdoclet.plugin.web.TaglibPlugin</classname> <params> <jspversion>2.0</jspversion> </params> </component> <component> <classname>org.xdoclet.plugin.spring.SpringConfigXMLPlugin</classname> <params> <filereplace>spring-${project.build.finalName}-servlet.xml</filereplace> <destdir>${project.build.directory}/${project.build.finalName}/WEB-INF</destdir> <mergedir>src/main/xdoclet/springdoclet</mergedir> <validate>true</validate> <defaultAutowire>no</defaultAutowire> <defaultLazyInit>false</defaultLazyInit> <defaultDependencyCheck>none</defaultDependencyCheck> </params> </component> </components> <includes>**/*.java</includes> <params> <destdir>${project.build.directory}/generated-sources/resources</destdir> </params> </config> </configs> </configuration> </plugin> Old working version using xdoclet <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xdoclet-maven-plugin</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>xdoclet</goal> </goals> <configuration> <generatedSourcesDirectory>${project.build.directory}/generated-sources/java</generatedSourcesDirectory> <tasks> <springdoclet destdir="${project.build.directory}/${project.build.finalName}/WEB-INF" force="true"> <fileset dir="${project.build.sourceDirectory}"> <include name="**\*.java" /> </fileset> <springxml destinationFile="spring-${project.build.finalName}-servlet.xml" defaultAutowire="no" defaultLazyInit="false" defaultDependencyCheck="none" validateXML="true" useIds="true" mergeDir="src/main/xdoclet/springdoclet"> </springxml> </springdoclet> <webdoclet destdir="${project.build.directory}/${project.build.finalName}/WEB-INF" force="true" mergedir="src/main/xdoclet/webdoclet" excludedtags="@version,@author" verbose="true"> <fileset dir="src/main/java"> <include name="**\*.java" /> </fileset> <deploymentdescriptor destdir="${project.build.directory}/${project.build.finalName}/WEB-INF" servletspec="2.4" validateXML="true"> </deploymentdescriptor> <strutsconfigxml validateXML="true" version="1.2" mergeDir="src/main/xdoclet/strutsdoclet" destDir="${project.build.directory}/${project.build.finalName}/WEB-INF"> </strutsconfigxml> </webdoclet> </tasks> </configuration> </execution> </executions> </plugin> Konstantin Priblouda wrote: > > > --- Peter Fajemisin <[EMAIL PROTECTED]> wrote: > >> >> How can I use the excludedtags property for >> hibernate and spring doclets >> available in xdoclet1 in my xdoclet2 pom definition. >> >> >> I keep getting unknown tags warning for tags that I >> have used previously in >> my code since integrating with maven2 - xdoclet2. >> >> Some command line codes >> > > I'm affraid this is impossible at the moment. > Those Warnings are done by CustomXDocletTagsFactory > ( org.generama.defaults ) and this is not > configurable at the moment. > ( some tags are ignored though, but not @todo ) > > To overcome this condition, some patching of m2xd2 > plugin would be required. > ( I would say, some tool - "ignorer" which will > register fake tag library ) > otherwise 3 projects have to be touched - > generama, xd2 and m2 plugin. > > dare to the task? > > > regards, > > ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- > JTec quality components: http://www.pribluda.de/projects/ > > > > ____________________________________________________________________________________ > Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user > panel and lay it on us. > http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > > -- View this message in context: http://www.nabble.com/Unknown-Tag-Warning-tf4548735.html#a12996378 Sent from the xdoclet - dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email