The following issue has been updated:

    Updater: Dominique Collette (mailto:[EMAIL PROTECTED])
       Date: Fri, 23 Apr 2004 10:05 AM
    Comment:
added jboss:ejb-verify goal
    Changes:
             Attachment changed to maven-jboss-plugin-1.5-SNAPSHOT.jar
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJBOSS-10&page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJBOSS-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJBOSS-10
    Summary: Add jboss:ejb-verify goal
       Type: New Feature

     Status: Unassigned
   Priority: Minor

 Original Estimate: 2 hours
 Time Spent: Unknown
  Remaining: 2 hours

    Project: maven-jboss-plugin
   Versions:
             1.4

   Assignee: 
   Reporter: Dominique Collette

    Created: Tue, 13 Apr 2004 8:51 AM
    Updated: Fri, 23 Apr 2004 10:05 AM
Environment: N/A

Description:
I propose the following goal for ejb verification under jboss :

  <!--
       ========================================================================
       Verify the ejb's integrity.
       ========================================================================
  -->
  <goal name="jboss:ejb-verify">
      <util:replace var="jarPath" oldChar="\" newChar="/" 
value="${maven.build.dir}/${maven.final.name}.jar"/>
      <path id="verifyClasspath">
          <pathelement location="${jarPath}"/>
          <pathelement location="${plugin.getDependencyPath('jboss:jboss')}"/>
          <pathelement location="${plugin.getDependencyPath('jboss:jpl-util')}"/>
          <pathelement location="${plugin.getDependencyPath('jboss:jpl-pattern')}"/>
          <pathelement location="${plugin.getDependencyPath('jboss:jboss-system')}"/>
          <pathelement 
location="${plugin.getDependencyPath('jboss:jboss-server-conf')}"/>
          <pathelement location="${plugin.getDependencyPath('jboss:jboss-common')}"/>
          <path refid="maven.dependency.classpath"/>
      </path>
      <echo>Verifying EJB in ${jarPath}...</echo>
      <java classname="org.jboss.verifier.Main" fork="true" failonerror="true">
          <arg line="beanverifier ${jarPath}"/>
          <classpath refid="verifyClasspath"/>
      </java>
  </goal>

The following artifacts should be referenced in the plugin's project.xml :

  <dependencies>
        <!--
           |
           | EJB Verifier Dependencies
           |
        -->
        <dependency>
            <groupId>jboss</groupId>
            <artifactId>jboss</artifactId>
            <version>3.2.3</version>
        </dependency>
        <dependency>
            <groupId>jboss</groupId>
            <artifactId>jpl-util</artifactId>
            <version>3.2.3</version>
        </dependency>
        <dependency>
            <groupId>jboss</groupId>
            <artifactId>jpl-pattern</artifactId>
            <version>3.2.3</version>
        </dependency>
        <dependency>
            <groupId>jboss</groupId>
            <artifactId>jboss-system</artifactId>
            <version>3.2.3</version>
        </dependency>
        <dependency>
            <groupId>jboss</groupId>
            <artifactId>jboss-server-conf</artifactId>
            <version>3.2.3</version>
        </dependency>
        <dependency>
            <groupId>jboss</groupId>
            <artifactId>jboss-common</artifactId>
            <version>3.2.3</version>
        </dependency>
  </dependencies>




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to