I am trying to use one-jar plugin to create executable jar with embeded jetty. I am reffering my webapp resources as
String resLocation = MainClass.class.getResource("/webapp").toString();
webAppContext.setResourceBase(resLocation);
But with one jar I am not able to find this resource since there is no /webapp now. Its under the main jar. Any clue how to get it working?