[jira] Created: (MWAS-50) Plugin does not work with a artifact with a classifier

View: New views
7 Messages — Rating Filter:   Alert me  

[jira] Created: (MWAS-50) Plugin does not work with a artifact with a classifier

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Plugin does not work with a artifact with a classifier
------------------------------------------------------

                 Key: MWAS-50
                 URL: http://jira.codehaus.org/browse/MWAS-50
             Project: Maven 2.x WebSphere 6 Plugin
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: fabrice
            Assignee: David J. M. Karlsen


When I run the plugin with a artifact with a classifier it does not work because WASHOME is not found whereas in other case it works nice.

[INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/SITE_PEC_EAR_MultiWar/workspace/target/pec-web-ear-3.14.0.0.4-test-alm.ear
[INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
[WARNING] Build script does not contain attribute: wasHome


<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>was6-maven-plugin</artifactId>

<executions>

<execution>
<id>pre-integration-test-was6</id>
<phase>pre-integration-test</phase>

<goals>
<goal>wsDefaultBindings</goal>
<goal>installApp</goal>
<goal>wsStartApp</goal>
</goals>
</execution>

<execution>
<id>post-integration-test-was6</id>
<phase>post-integration-test</phase>

<goals>
<goal>wsStopApp</goal>
<goal>wsUninstallApp</goal>
</goals>
</execution>
</executions>

<configuration>
<host>${was6.host}</host>
<targetCell>${was6.targetCell}</targetCell>
<targetNode>${was6.targetNode}</targetNode>
<targetServer>server1</targetServer>
<profileName>${was6.profileName}</profileName>
<node>${targetNode}</node>
<server>${targetServer}</server>
<conntype>${was6.conntype}</conntype>
<port>${was6.port}</port>
<wasHome>${was6.wasHome}</wasHome>
<verbose>true</verbose>
<updateExisting>false</updateExisting>
</configuration>
</plugin>

--
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



[jira] Updated: (MWAS-50) Plugin does not work with a artifact with a classifier

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

David J. M. Karlsen updated MWAS-50:
------------------------------------

    Remaining Estimate: 0 minutes
     Original Estimate: 0 minutes

The warning is innocent.
Can you attach more log?

> Plugin does not work with a artifact with a classifier
> ------------------------------------------------------
>
>                 Key: MWAS-50
>                 URL: http://jira.codehaus.org/browse/MWAS-50
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: fabrice
>            Assignee: David J. M. Karlsen
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> When I run the plugin with a artifact with a classifier it does not work because WASHOME is not found whereas in other case it works nice.
> [INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/SITE_PEC_EAR_MultiWar/workspace/target/pec-web-ear-3.14.0.0.4-test-alm.ear
> [INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
> [WARNING] Build script does not contain attribute: wasHome
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>was6-maven-plugin</artifactId>
> −
> <executions>
> −
> <execution>
> <id>pre-integration-test-was6</id>
> <phase>pre-integration-test</phase>
> −
> <goals>
> <goal>wsDefaultBindings</goal>
> <goal>installApp</goal>
> <goal>wsStartApp</goal>
> </goals>
> </execution>
> −
> <execution>
> <id>post-integration-test-was6</id>
> <phase>post-integration-test</phase>
> −
> <goals>
> <goal>wsStopApp</goal>
> <goal>wsUninstallApp</goal>
> </goals>
> </execution>
> </executions>
> −
> <configuration>
> <host>${was6.host}</host>
> <targetCell>${was6.targetCell}</targetCell>
> <targetNode>${was6.targetNode}</targetNode>
> <targetServer>server1</targetServer>
> <profileName>${was6.profileName}</profileName>
> <node>${targetNode}</node>
> <server>${targetServer}</server>
> <conntype>${was6.conntype}</conntype>
> <port>${was6.port}</port>
> <wasHome>${was6.wasHome}</wasHome>
> <verbose>true</verbose>
> <updateExisting>false</updateExisting>
> </configuration>
> </plugin>

--
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



[jira] Commented: (MWAS-50) Plugin does not work with a artifact with a classifier

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MWAS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=191676#action_191676 ]

fabrice commented on MWAS-50:
-----------------------------

[INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/EAR_MultiWar/workspace/target/ear-3.14.0.0.4-test.ear
[INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
[WARNING] Build script does not contain attribute: wasHome
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at org.codehaus.mojo.was6.WsDefaultBindingsMojo.configureBuildScript(WsDefaultBindingsMojo.java:111)
        at org.codehaus.mojo.was6.AbstractWas6Mojo.getBuildScript(AbstractWas6Mojo.java:180)
        at org.codehaus.mojo.was6.AbstractWas6Mojo.getCommandline(AbstractWas6Mojo.java:274)
        at org.codehaus.mojo.was6.AbstractWas6Mojo.execute(AbstractWas6Mojo.java:322)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


> Plugin does not work with a artifact with a classifier
> ------------------------------------------------------
>
>                 Key: MWAS-50
>                 URL: http://jira.codehaus.org/browse/MWAS-50
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: fabrice
>            Assignee: David J. M. Karlsen
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> When I run the plugin with a artifact with a classifier it does not work because WASHOME is not found whereas in other case it works nice.
> [INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/SITE_PEC_EAR_MultiWar/workspace/target/pec-web-ear-3.14.0.0.4-test-alm.ear
> [INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
> [WARNING] Build script does not contain attribute: wasHome
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>was6-maven-plugin</artifactId>
> −
> <executions>
> −
> <execution>
> <id>pre-integration-test-was6</id>
> <phase>pre-integration-test</phase>
> −
> <goals>
> <goal>wsDefaultBindings</goal>
> <goal>installApp</goal>
> <goal>wsStartApp</goal>
> </goals>
> </execution>
> −
> <execution>
> <id>post-integration-test-was6</id>
> <phase>post-integration-test</phase>
> −
> <goals>
> <goal>wsStopApp</goal>
> <goal>wsUninstallApp</goal>
> </goals>
> </execution>
> </executions>
> −
> <configuration>
> <host>${was6.host}</host>
> <targetCell>${was6.targetCell}</targetCell>
> <targetNode>${was6.targetNode}</targetNode>
> <targetServer>server1</targetServer>
> <profileName>${was6.profileName}</profileName>
> <node>${targetNode}</node>
> <server>${targetServer}</server>
> <conntype>${was6.conntype}</conntype>
> <port>${was6.port}</port>
> <wasHome>${was6.wasHome}</wasHome>
> <verbose>true</verbose>
> <updateExisting>false</updateExisting>
> </configuration>
> </plugin>

--
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



[jira] Issue Comment Edited: (MWAS-50) Plugin does not work with a artifact with a classifier

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MWAS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=191676#action_191676 ]

fabrice edited comment on MWAS-50 at 9/21/09 3:21 AM:
------------------------------------------------------

Ok :

[INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/EAR_MultiWar/workspace/target/ear-3.14.0.0.4-test.ear
[INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
[WARNING] Build script does not contain attribute: wasHome
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at org.codehaus.mojo.was6.WsDefaultBindingsMojo.configureBuildScript(WsDefaultBindingsMojo.java:111)
        at org.codehaus.mojo.was6.AbstractWas6Mojo.getBuildScript(AbstractWas6Mojo.java:180)
        at org.codehaus.mojo.was6.AbstractWas6Mojo.getCommandline(AbstractWas6Mojo.java:274)
        at org.codehaus.mojo.was6.AbstractWas6Mojo.execute(AbstractWas6Mojo.java:322)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


      was (Author: fabrice):
    [INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/EAR_MultiWar/workspace/target/ear-3.14.0.0.4-test.ear
[INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
[WARNING] Build script does not contain attribute: wasHome
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at org.codehaus.mojo.was6.WsDefaultBindingsMojo.configureBuildScript(WsDefaultBindingsMojo.java:111)
        at org.codehaus.mojo.was6.AbstractWas6Mojo.getBuildScript(AbstractWas6Mojo.java:180)
        at org.codehaus.mojo.was6.AbstractWas6Mojo.getCommandline(AbstractWas6Mojo.java:274)
        at org.codehaus.mojo.was6.AbstractWas6Mojo.execute(AbstractWas6Mojo.java:322)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

 

> Plugin does not work with a artifact with a classifier
> ------------------------------------------------------
>
>                 Key: MWAS-50
>                 URL: http://jira.codehaus.org/browse/MWAS-50
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: fabrice
>            Assignee: David J. M. Karlsen
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> When I run the plugin with a artifact with a classifier it does not work because WASHOME is not found whereas in other case it works nice.
> [INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/SITE_PEC_EAR_MultiWar/workspace/target/pec-web-ear-3.14.0.0.4-test-alm.ear
> [INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
> [WARNING] Build script does not contain attribute: wasHome
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>was6-maven-plugin</artifactId>
> −
> <executions>
> −
> <execution>
> <id>pre-integration-test-was6</id>
> <phase>pre-integration-test</phase>
> −
> <goals>
> <goal>wsDefaultBindings</goal>
> <goal>installApp</goal>
> <goal>wsStartApp</goal>
> </goals>
> </execution>
> −
> <execution>
> <id>post-integration-test-was6</id>
> <phase>post-integration-test</phase>
> −
> <goals>
> <goal>wsStopApp</goal>
> <goal>wsUninstallApp</goal>
> </goals>
> </execution>
> </executions>
> −
> <configuration>
> <host>${was6.host}</host>
> <targetCell>${was6.targetCell}</targetCell>
> <targetNode>${was6.targetNode}</targetNode>
> <targetServer>server1</targetServer>
> <profileName>${was6.profileName}</profileName>
> <node>${targetNode}</node>
> <server>${targetServer}</server>
> <conntype>${was6.conntype}</conntype>
> <port>${was6.port}</port>
> <wasHome>${was6.wasHome}</wasHome>
> <verbose>true</verbose>
> <updateExisting>false</updateExisting>
> </configuration>
> </plugin>

--
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



[jira] Updated: (MWAS-50) Plugin does not work with a artifact with a classifier

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

David J. M. Karlsen updated MWAS-50:
------------------------------------


Hmm, this means that the earFile variable is null:
line 111: if ( !( earFile.canRead() && earFile.canWrite() ) )

Can you attach the pom as well?

> Plugin does not work with a artifact with a classifier
> ------------------------------------------------------
>
>                 Key: MWAS-50
>                 URL: http://jira.codehaus.org/browse/MWAS-50
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: fabrice
>            Assignee: David J. M. Karlsen
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> When I run the plugin with a artifact with a classifier it does not work because WASHOME is not found whereas in other case it works nice.
> [INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/SITE_PEC_EAR_MultiWar/workspace/target/pec-web-ear-3.14.0.0.4-test-alm.ear
> [INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
> [WARNING] Build script does not contain attribute: wasHome
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>was6-maven-plugin</artifactId>
> −
> <executions>
> −
> <execution>
> <id>pre-integration-test-was6</id>
> <phase>pre-integration-test</phase>
> −
> <goals>
> <goal>wsDefaultBindings</goal>
> <goal>installApp</goal>
> <goal>wsStartApp</goal>
> </goals>
> </execution>
> −
> <execution>
> <id>post-integration-test-was6</id>
> <phase>post-integration-test</phase>
> −
> <goals>
> <goal>wsStopApp</goal>
> <goal>wsUninstallApp</goal>
> </goals>
> </execution>
> </executions>
> −
> <configuration>
> <host>${was6.host}</host>
> <targetCell>${was6.targetCell}</targetCell>
> <targetNode>${was6.targetNode}</targetNode>
> <targetServer>server1</targetServer>
> <profileName>${was6.profileName}</profileName>
> <node>${targetNode}</node>
> <server>${targetServer}</server>
> <conntype>${was6.conntype}</conntype>
> <port>${was6.port}</port>
> <wasHome>${was6.wasHome}</wasHome>
> <verbose>true</verbose>
> <updateExisting>false</updateExisting>
> </configuration>
> </plugin>

--
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



[jira] Updated: (MWAS-50) Plugin does not work with a artifact with a classifier

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

David J. M. Karlsen updated MWAS-50:
------------------------------------


OK - I understand - send it to david@...
I won't disclose it.

> Plugin does not work with a artifact with a classifier
> ------------------------------------------------------
>
>                 Key: MWAS-50
>                 URL: http://jira.codehaus.org/browse/MWAS-50
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: fabrice
>            Assignee: David J. M. Karlsen
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> When I run the plugin with a artifact with a classifier it does not work because WASHOME is not found whereas in other case it works nice.
> [INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/SITE_PEC_EAR_MultiWar/workspace/target/pec-web-ear-3.14.0.0.4-test-alm.ear
> [INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
> [WARNING] Build script does not contain attribute: wasHome
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>was6-maven-plugin</artifactId>
> −
> <executions>
> −
> <execution>
> <id>pre-integration-test-was6</id>
> <phase>pre-integration-test</phase>
> −
> <goals>
> <goal>wsDefaultBindings</goal>
> <goal>installApp</goal>
> <goal>wsStartApp</goal>
> </goals>
> </execution>
> −
> <execution>
> <id>post-integration-test-was6</id>
> <phase>post-integration-test</phase>
> −
> <goals>
> <goal>wsStopApp</goal>
> <goal>wsUninstallApp</goal>
> </goals>
> </execution>
> </executions>
> −
> <configuration>
> <host>${was6.host}</host>
> <targetCell>${was6.targetCell}</targetCell>
> <targetNode>${was6.targetNode}</targetNode>
> <targetServer>server1</targetServer>
> <profileName>${was6.profileName}</profileName>
> <node>${targetNode}</node>
> <server>${targetServer}</server>
> <conntype>${was6.conntype}</conntype>
> <port>${was6.port}</port>
> <wasHome>${was6.wasHome}</wasHome>
> <verbose>true</verbose>
> <updateExisting>false</updateExisting>
> </configuration>
> </plugin>

--
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



[jira] Commented: (MWAS-50) Plugin does not work with a artifact with a classifier

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MWAS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197246#action_197246 ]

Hubert Wagener commented on MWAS-50:
------------------------------------

Also in ejbDeploy usage of classifier cause failure:
      <plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>was6-maven-plugin</artifactId>
  <version>1.1.1</version>
   <executions>
     <execution>
       <goals>
  <goal>ejbdeploy</goal>
        </goals>
       </execution>
     </executions>
     <configuration>
       <wasHome>${env.WAS_HOME}</wasHome>
     </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ejb-plugin</artifactId>
        <version>2.1</version>
        <configuration>
          <ebjVersion>2.1</ebjVersion>
          <classifier>pure</classifier>
        </configuration>
      </plugin>  

Execution yields:
[INFO] [wsejbdeploy] Input options error: The input filename must end in '.jar' or '.ear'. It was D:\Transfer\localTests\testframework-was61\target\classes..

Also in the anttaskdefs we have:
<wsEjbDeploy inputJar="D:\Transfer\localTests\Kopie von testframework-was61\target\classes" .....

executedProject.getArtifact.getFile() does not get to the jar generated by ejbdeploy, that actually is target/testframework-was61-0.0.1-SNAPSHOT-pure.jar in our case.

> Plugin does not work with a artifact with a classifier
> ------------------------------------------------------
>
>                 Key: MWAS-50
>                 URL: http://jira.codehaus.org/browse/MWAS-50
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: fabrice
>            Assignee: David J. M. Karlsen
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> When I run the plugin with a artifact with a classifier it does not work because WASHOME is not found whereas in other case it works nice.
> [INFO] Building jar: /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/SITE_PEC_EAR_MultiWar/workspace/target/pec-web-ear-3.14.0.0.4-test-alm.ear
> [INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
> [WARNING] Build script does not contain attribute: wasHome
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>was6-maven-plugin</artifactId>
> −
> <executions>
> −
> <execution>
> <id>pre-integration-test-was6</id>
> <phase>pre-integration-test</phase>
> −
> <goals>
> <goal>wsDefaultBindings</goal>
> <goal>installApp</goal>
> <goal>wsStartApp</goal>
> </goals>
> </execution>
> −
> <execution>
> <id>post-integration-test-was6</id>
> <phase>post-integration-test</phase>
> −
> <goals>
> <goal>wsStopApp</goal>
> <goal>wsUninstallApp</goal>
> </goals>
> </execution>
> </executions>
> −
> <configuration>
> <host>${was6.host}</host>
> <targetCell>${was6.targetCell}</targetCell>
> <targetNode>${was6.targetNode}</targetNode>
> <targetServer>server1</targetServer>
> <profileName>${was6.profileName}</profileName>
> <node>${targetNode}</node>
> <server>${targetServer}</server>
> <conntype>${was6.conntype}</conntype>
> <port>${was6.port}</port>
> <wasHome>${was6.wasHome}</wasHome>
> <verbose>true</verbose>
> <updateExisting>false</updateExisting>
> </configuration>
> </plugin>

--
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