[ 
http://jira.codehaus.org/browse/MJBOSS-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Gier updated MJBOSS-57:
----------------------------

    Issue Type: New Feature  (was: Bug)

> Can't skip plugin to run even if tests are skipped and phase is set to test.
> ----------------------------------------------------------------------------
>
>                 Key: MJBOSS-57
>                 URL: http://jira.codehaus.org/browse/MJBOSS-57
>             Project: Maven 2.x JBoss Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.4.1
>            Reporter: Robert Andersson
>            Assignee: Paul Gier
>             Fix For: 1.5.0
>
>
> The plugin will run even if you set a phase that has anything to do with test 
> (pre-test, post-test, test, integration-test) and choose to skip the tests 
> (maven.test.skip=true).
> In the example below you don“t want to deploy the ear to jboss if you choose 
> to skip the tests.
> {code:xml}
> <plugin>
>   <groupId>org.codehaus.mojo</groupId>
>   <artifactId>jboss-maven-plugin</artifactId>
>   <version>1.4.1</version>
>   <configuration>
>     <jbossHome>${JBOSS_HOME}/</jbossHome>
>     <port>8090</port>
>     <hostName>${jboss.hostName}</hostName>
>   </configuration>
>   <executions>
>     <execution>
>       <id>jboss-deploy</id>
>       <phase>pre-test</phase>
>       <goals>
>         <goal>deploy</goal>
>       </goals>
>       <configuration>
>         <fileNames>
>           <fileName>${basedir}/../ear/target/ear.ear</fileName>
>         </fileNames>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {code}
> I have seen other plugins work this way (sql-maven-plugin), so I consider 
> this a bug.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to