hi all,
 i post here because i mnot 100% sure it's a maven2 problem

i have a struts action defined as follows

/**
 *
 * @struts.action
 *         name="ContactMaintenance"
 *        path="/contactMaintenance"
 *        input="/getContacts.jsp"
 *
 * @struts.action-forward
 *        name="success"
 *        path="viewContacts.jsp"
 *
 * @jboss.ejb-ref-jndi
 *     jndi-name="ejb/ContactMaintenanceLocalHome"
 *     ref-name="ContactMaintenance"
 *
 */

public final class ContactMaintenanceAction



....

i am trying to generate struts-config for it, and here's my maven task

<plugins>
       <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>xdoclet-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>generateSources</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>xdoclet</goal>
            </goals>
            <configuration>
              <tasks>
                <webdoclet
            destDir="${project.build.directory}/generated-sources/xdoclet"
            excludedTags="@author,@version">
                <fileset
                    dir="${basedir}/JavaSource"
                    includes="**/*.java" />
                <strutsconfigxml/>
                <strutsvalidationxml/>
                <deploymentdescriptor
                        destDir="${ project.build.outputDirectory}/META-INF"
                        useIDs="true"/>
                <jbosswebxml/>
               
        </webdoclet>
          </tasks>
         </configuration>
       </execution>
     </executions>
      </plugin>   

the jbossweb xml gets generated,but  the struts config does not contain my action..

am i doing something wrong regarding where i put xdoclet tags?  can anyone give me some hint
onw hat could be wrong?

thanks in advance and regards
 marco

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to