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

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

     Affects Version/s:     (was: 1.1)
    Remaining Estimate: 0 minutes
     Original Estimate: 0 minutes

Hmm - this should not be possible with the lastest relase - which version are 
you using?
1.1 is the latest - please try this and report back.
If the problem still persists - please add a stripped down pom to improve 
debugging.
TIA

> Can't use plugin with maven profile
> -----------------------------------
>
>                 Key: MWAS-36
>                 URL: http://jira.codehaus.org/browse/MWAS-36
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>         Environment: maven 2.0.10
>            Reporter: fabrice
>            Assignee: David J. M. Karlsen
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> I have the error bellow, whereas when I do not use profile it is ok :
> [INFO] [was6:wsDefaultBindings {execution: package-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:453)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
>         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:301)
>         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)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Fri Feb 27 17:24:51 CET 2009
> [INFO] Final Memory: 14M/82M
> [INFO] 
> ------------------------------------------------------------------------

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