Quick bump - no-one has seen this before? Or attempted to work around it?
On Wednesday, 21 November 2012 09:19:55 UTC, Stuart Davidson wrote: > > lo all, > > Creating a post-build plugin that uses XOM 1.2.5 as a dependency. When run > using hpi:run, I get the following - I assume because something else in > hpi:run is using XOM 1.0 and the jars are sealed. > > ERROR: Publisher com.company.adaptor.jenkins.DatapointParserTask aborted due > to exceptionjava.lang.SecurityException > <http://stacktrace.jenkins-ci.org/search?query=java.lang.SecurityException>: > sealing violation: package nu.xom is sealed > > > The class it's having issues with loading is the XPathContext class - one > that does not exist in 1.0, but does in 1.1+. > > > When I remove the dependency (or set it to optional), the error reports that > the XPathContext class is not found. (NoClassDef error). > > > Note : The plugin works fine when installed into an actual installation of > Jenkins, it's just whilst creating the plugin that I have issues - and > really, I'd be keen to get that working. > > > Anyone got any suggestions or workarounds? > > > Thanks > >
