you could add the whole tomcat.zip to nexus, unpack it before compile
and install-file to local repository.
I had a similar problem, I needed to have the jars of an resource
adapter rar on the classpath:
> I was thinking of adapting maven-warpath-plugin, but in the end I built an
> uber jar in
I appreciate that you're trying to use Maven to build software, but you've
framed your question unfairly.
What is the simplest way to specify a directory (and all jars underneath
> this directory) to be in the maven classpath when it compiles .java classes
> and builds a .jar?
>
Maven builds
Thank you for the suggestion Bernd,
Do you have an example you can share? There are hundreds of jar files in
the $TOMCAT_HOME//WEB-INF/lib directory.
I need something with no more than 5..10 lines of XML that would include
this directory so that it would pick up all jars and add to the class
Hello,
It is really not a good idea to fight maven. If you need something in the
classpath for compile, specify it as dependency in the Pom. Otherwise your
build cannot be repeated and the project is hard to set up.
All tomcat libraries needed to compile should be in the maven repository. If
What is the simplest way to specify a directory (and all jars underneath
this directory) to be in the maven classpath when it compiles .java classes
and builds a .jar?
The directory is not in my git repo or any directory under my IDE project
files.
I have a requirement to create a pom.xml that