You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 22:58:30 UTC
[jira] (MPJBOSS-10) Add jboss:ejb-verify goal
[ https://jira.codehaus.org/browse/MPJBOSS-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MPJBOSS-10.
---------------------------------
Resolution: Won't Fix
Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
> Add jboss:ejb-verify goal
> -------------------------
>
> Key: MPJBOSS-10
> URL: https://jira.codehaus.org/browse/MPJBOSS-10
> Project: Maven 1.x JBoss Plugin
> Issue Type: New Feature
> Affects Versions: 1.4
> Environment: N/A
> Reporter: Dominique Collette
> Priority: Minor
> Fix For: 1.6
>
> Attachments: maven-jboss-plugin-1.5-SNAPSHOT.jar, maven-jboss-plugin-patch-vmassol-2004-04-23.patch
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> 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>
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)