Right now I am using Maven overlays
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<overlays>
<overlay>
<groupId>org.example</groupId>
<artifactId>my-overlay</artifactId>
</overlay>
</overlays>
</configuration>
</plugin>
</plugins>
http://maven.apache.org/plugins/maven-war-plugin/overlays.html
When I run "mvn tomcat7:run" I get the following error:
2014-09-30 02:29:41,299 [localhost-startStop-1] WARN
org.reflections.Reflections - could not create Vfs.Dir from url. ignoring the
exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no
matching UrlType was found
[file:/Users/tmp/.m2/repository/org/example/my-overlay/1.0.0-SNAPSHOT/my-overlay
-1.0.0-SNAPSHOT.war]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the
static setDefaultURLTypes(final List<UrlType> urlTypes) or
addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
at org.reflections.vfs.Vfs.fromURL(Vfs.java:108) ~[reflections-0.9.9.jar:na]
at org.reflections.vfs.Vfs.fromURL(Vfs.java:90) ~[reflections-0.9.9.jar:na]
at org.reflections.Reflections.scan(Reflections.java:236) [reflections-0.9.9.jar:na]
at org.reflections.Reflections.scan(Reflections.java:203) [reflections-0.9.9.jar:na]
at org.reflections.Reflections.<init>(Reflections.java:128) [reflections-0.9.9.jar:na]
at org.reflections.Reflections.<init>(Reflections.java:169) [reflections-0.9.9.jar:na]
at org.reflections.Reflections.<init>(Reflections.java:142) [reflections-0.9.9.jar:na]
It would be nice if you could handle WAR files out of the box.
Original issue reported on code.google.com by sebastia...@gmail.com on 30 Sep 2014 at 12:52
Original issue reported on code.google.com by
sebastia...@gmail.com
on 30 Sep 2014 at 12:52