Plugin prefix `webstart` resolves to alpha1, but should have been alpha2
------------------------------------------------------------------------

                 Key: MWEBSTART-114
                 URL: http://jira.codehaus.org/browse/MWEBSTART-114
             Project: Maven 2.x Webstart Plugin
          Issue Type: Bug
    Affects Versions: 1.0-alpha-2
            Reporter: Roy Spenkelink


Hi,

When trying to migrate my project from using version alpha1 to alpha2, i had 
the following issue:

When running `mvn clean webstart:jnlp` from the command line, i got the 
following error:

<jnlp> configuration element missing.

This sounded weird since i did specify a jnlp configuration element in my pom. 
I then noticed that this error code is produced by alpha1, not by alpha2. So 
apparently, maven resolved the prefix `webstart` to the alpha1 version, despite 
the fact i referenced to alpha2 in my pom. I fixed this by adding the following 
lines in my maven settings (/.m2/settings.xml):

<settings>
   ...
   <pluginGroups>
      <pluginGroup>org.codehaus.mojo.webstart</pluginGroup>
  </pluginGroups>
<settings>

In other words i made sure that maven searches for plugins in the group 
org.codehaus.mojo.webstart before the default group org.codehaus.mojo

I don't know if this is a maven bug or a bug in the webstart plugin, but 
somehow i feel it shouldn't be necessary to adjust my settings file to solve 
the issue.



 


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