Avoid the pain of uberjar/shade

So you want an executable jar. It’s got lots of dependent jars. What’s a geek to do? There is the uberjar plugin for maven. But it doesn’t seem to be supported any more, it’s not in maven central, and some people report classloader issues (it works some classloader magic). There is the Shade plugin for…… Continue reading Avoid the pain of uberjar/shade

Categorized as Maven

Maven “Missing indirectly referenced artifact”

I recently got an Maven error something like “Missing indirectly referenced artifact javax.transaction:jta:jar:1.0.1B:compile”. I fixed it by adding an extra repository in my pom.xml … </build> <repositories> <repository> <!– For jta jar –> <id>maven2-repository.dev.java.net</id> <name>Java.net Repository for Maven</name> <url>http://download.java.net/maven/2/</url&gt; <layout>default</layout> <snapshots> <enabled>false</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> </repository> </repositories> <dependencies> …

Categorized as Maven Tagged