You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/13 17:50:06 UTC

[jira] Commented: (MPJBOSS-10) Add jboss:ejb-verify goal

The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Sun, 13 Jun 2004 11:49 AM
       Body:
Any progress Dominique? :-)

Thanks
-Vincent
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJBOSS-10?page=comments#action_20598

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJBOSS-10

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

     Status: Open
   Priority: Minor

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

    Project: maven-jboss-plugin
   Fix Fors:
             1.5
   Versions:
             1.4

   Assignee: Vincent Massol
   Reporter: Dominique Collette

    Created: Tue, 13 Apr 2004 8:51 AM
    Updated: Sun, 13 Jun 2004 11:49 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org