Thanks, Marco. Here is my pom.xml

Torsten

On Wed, 28 Feb 2007 13:48:30 +0000
 "Marco Mistroni" <[EMAIL PROTECTED]> wrote:
>Hi,
> i have it working successfully...
>can u post your pom.xml?
>
>regards
> marco
>
>On 2/28/07, Dipl.-Ing. Torsten Liermann <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> sorry, i can not speak english... I would like to to have
>> all interfaces and so on for a slsb.
>> I' using maven 2.0.4 and start maven with
>>
>> mvn generate-sources
>>
>> The output ist:
>>
>> [WARNING] While downloading servletapi:servletapi:2.3
>>   This artifact has been relocated to javax.servlet:servlet-api:2.3.
>>
>>
>> [INFO] [xdoclet:xdoclet {execution: generateSources}]
>> [INFO] Initializing DocletTasks!!!
>> [INFO] Executing tasks
>> 28.02.2007 13:32:56 xdoclet.XDocletMain start
>> INFO: Running <remoteinterface/>
>> 28.02.2007 13:32:56 xdoclet.XDocletMain start
>> INFO: Running <homeinterface/>
>> 28.02.2007 13:32:56 xdoclet.XDocletMain start
>> INFO: Running <localhomeinterface/>
>> 28.02.2007 13:32:56 xdoclet.XDocletMain start
>> INFO: Running <deploymentdescriptor/>
>> Generating EJB deployment descriptor (ejb-jar.xml).
>> 28.02.2007 13:32:56 xdoclet.XDocletMain start
>> INFO: Running <weblogic/>
>> Generating weblogic-ejb-jar.xml.
>> [INFO] Executed tasks
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 9 seconds
>> [INFO] Finished at: Wed Feb 28 13:32:56 CET 2007
>> [INFO] Final Memory: 5M/10M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> But the deployment descriptor is empty and no interfaces generated.
>>
>> The xdoclet part in the slsb is:
>>
>> /**
>> * Session bean for scheduler
>> *
>> * @ejb.bean
>> * name="bpo.Scheduler"
>> * description="Session bean class for scheduling"
>> * display-name="Scheduler"
>> * jndi-name="xxx.bpo.Scheduler"
>> * view-type="remote"
>> * type="Stateless"
>> * transaction-type="Container"
>> * remote-business-interface="com.abc.xxx.server.bpo.scheduler.Scheduler"
>> *
>> * @ejb.home
>> * extends="javax.ejb.EJBHome"
>> *
>> * @ejb.interface
>> * extends="javax.ejb.EJBObject"
>> *
>> * @ejb.transaction
>> * type="Required"
>> *
>> * @weblogic.pool
>> * max-beans-in-free-pool="20"
>> * initial-beans-in-free-pool="1"
>> *
>> * @weblogic.cache
>> * max-beans-in-cache="1000"
>> * idle-timeout-seconds="5"
>> *
>> * @weblogic.enable-call-by-reference True
>> *
>> * @weblogic.transaction-descriptor
>> * trans-timeout-seconds="60"
>> *
>> * @weblogic.transaction-isolation TRANSACTION_READ_COMMITTED
>> */
>> //public class SchedulerBean extends SessionAdapter implements SchedulerBI
>> public class SchedulerBean extends SessionAdapter implements Scheduler
>> ================================
>>
>> The ejbdoclet configuration in the pom.xml is
>>
>>   <ejbdoclet verbose="99" destDir="${project.build.directory
>> }/generated-sources/xdoclet"
>>         excludedTags="@author,@version"
>>         ejbSpec="2.1" force="true">
>>      <fileset dir="${project.build.sourceDirectory}/">
>>        <include name="**/*.java"/>
>>      </fileset>
>>
>>      <remoteinterface/>
>>      <homeinterface/>
>>      <localhomeinterface/>
>>      <deploymentdescriptor destDir="${project.build.outputDirectory
>> }/META-INF"
>>          useIDs="true"/>
>>
>>      <weblogic version="8.1"
>>          createtables="Disabled"
>>
>>          destDir="${project.build.outputDirectory}/META-INF"
>>          dataSource="${mw.dataSource}"
>>          />
>> </ejbdoclet>
>>
>> What is here wrong?
>>
>> Thanks for a help.
>> Torsten
>>
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> xdoclet-user mailing list
>> xdoclet-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>>

----
Dipl.-Ing. Torsten Liermann          Tel: +49 151/11565077
Primelstrasse 22d                    Fax: +49 8106/358047
85591 Vaterstetten                   http://liermann-it.de
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>Softlab-SA3</groupId>
    <version>2.0-m1-SNAPSHOP</version>
    <artifactId>sa3-parent</artifactId>
  </parent>
  <name>SA3 Server Alternativ EJB</name>
  <artifactId>sa3-server-ejb-alternativ</artifactId>
  <packaging>ejb</packaging>
  <dependencies>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>sa3-common</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>sa3-server-alternativ</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.bmw</groupId>
      <artifactId>grops</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>com.bmw</groupId>
      <artifactId>ebusecombeans</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>com.bmw</groupId>
      <artifactId>ebusecom_4</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>com.bmw</groupId>
      <artifactId>ebusecomejb</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>com.bmw</groupId>
      <artifactId>ebuscrm</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>com.bmw</groupId>
      <artifactId>ebustopdrivebeans</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>com.bmw</groupId>
      <artifactId>ebustopdriveejb</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>de.cib</groupId>
      <artifactId>cibdocumentserver</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>com</groupId>
      <artifactId>weblogic</artifactId>
      <version>8.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.ibm</groupId>
      <artifactId>record</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>com.ibm.ivj</groupId>
      <artifactId>eablib</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>com.ibm</groupId>
      <artifactId>ctgclient</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>com.ibm</groupId>
      <artifactId>ccf</artifactId>
      <version>unknown</version>
    </dependency>
    <dependency>
      <groupId>castor</groupId>
      <artifactId>castor</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>net.sf.ehcache</groupId>
      <artifactId>ehcache</artifactId>
      <version>1.2.3</version>
    </dependency>
    <dependency>
      <groupId>org.testng</groupId>
      <artifactId>testng</artifactId>
      <version>5.1</version>
      <scope>test</scope>
      <classifier>jdk14</classifier>
    </dependency>
    <dependency>
      <groupId>jmock</groupId>
      <artifactId>jmock-cglib</artifactId>
      <version>1.1.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>jdummy</groupId>
      <artifactId>jdummy</artifactId>
      <version>1.3.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>ri</groupId>
      <artifactId>ri</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.14</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
      <version>2.0.2</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-beans</artifactId>
      <version>2.0.2</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <version>2.0.2</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-dao</artifactId>
      <version>2.0.2</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-jdbc</artifactId>
      <version>2.0.2</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-aop</artifactId>
      <version>2.0.2</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-ibatis</artifactId>
      <version>2.0.2</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-remoting</artifactId>
      <version>2.0.2</version>
    </dependency>
    <!--
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-dbcp</artifactId>
      <version>1.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-pool</artifactId>
      <version>1.3</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-collection</artifactId>
      <version>3.2</version>
    </dependency>
    <dependency>
      <groupId>hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <version>1.8.0.1</version>
      <scope>test</scope>
    </dependency>
    -->
  </dependencies>
  <build>
    <sourceDirectory>src/main/java</sourceDirectory>
    <testSourceDirectory>test/java</testSourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <!--<version>2.2.14</version>-->
        <configuration>
          <systemProperties>
            <property>
              <name>documentRoot</name>
              <value>${basedir}/target/test-classes</value>
            </property>
          </systemProperties>
          <suiteXmlFiles>
            <suiteXmlFile>test/conf/testng.xml</suiteXmlFile>
          </suiteXmlFiles>
          <showSuccess>false</showSuccess>
          <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
        </configuration>

      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.4</source>
          <target>1.4</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <configuration>
          <tags>
            <tag>TODO</tag>
            <tag>@todo</tag>
            <tag>FIXME</tag>
            <tag>XXX</tag>
          </tags>
        </configuration>
      </plugin>
      <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>

                <ejbdoclet verbose="99" destDir="${project.build.directory}/generated-sources/xdoclet"
                           excludedTags="@author,@version"
                           ejbSpec="2.1" force="true">
                  <fileset dir="${project.build.sourceDirectory}/">
                    <include name="**/*.java"/>
                  </fileset>

                  <remoteinterface/>
                  <homeinterface/>
                  <localhomeinterface/>
                  <deploymentdescriptor destDir="${project.build.outputDirectory}/META-INF"
                                        useIDs="true"/>

                  <weblogic version="8.1"
                            createtables="Disabled"

                            destDir="${project.build.outputDirectory}/META-INF"
                            dataSource="${mw.dataSource}"
                      />
                </ejbdoclet>
              </tasks>
            </configuration>
          </execution>

        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ejb-plugin</artifactId>
        <configuration>
          <generateClient>true</generateClient>
          <clientExcludes>
            <!--
                                                      <clientExclude>**/ejb/*Bean.class</clientExclude>
                                                      <clientExclude>**/mdb/*MDB.class</clientExclude>
                  -->
          </clientExcludes>
        </configuration>
      </plugin>


    </plugins>
  </build>
</project>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to