jenkinsci/jenkins — pull request #1181 by bhamail (2014-04-10 02:58:00+00:00)
Title: Fix for JENKINS-22425, still needs license fix.

I have a fix ready for: https://issues.jenkins-ci.org/browse/JENKINS-22425
The fix just added a new required method (getFieldOrder()) on Structure sub classes. The fix also upgrades to the latest released version of JNA (4.1.0).

I'm having a problem with cloud bees:maven-license-plugin complaining about an unexpected license after updating to the latest release of JNA (4.1.0 from 3.3.0-jenkins-3):

[INFO] Reactor Summary:
[INFO]
[INFO] Jenkins main module ............................... SUCCESS [ 5.015 s]
[INFO] Jenkins CLI ....................................... SUCCESS [ 12.483 s]
[INFO] Jenkins core ...................................... SUCCESS [02:54 min]
[INFO] Jenkins war ....................................... FAILURE [ 17.299 s]
[INFO] Test harness for Jenkins and plugins .............. SKIPPED
[INFO] Jenkins plugin POM ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:33 min
[INFO] Finished at: 2014-04-09T22:30:13-05:00
[INFO] Final Memory: 199M/475M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.cloudbees:maven-license-plugin:1.7:process (default) on project jenkins-war: Execution default of goal com.cloudbees:maven-license-plugin:1.7:process failed: java.lang.IllegalStateException: Expecting [] but found [LGPL, version 2.1,ASL, version 2] for dependency net.java.dev.jna:jna:4.1.0 -> [Help 1]

Any suggestions on how I can fix this error?