Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2, 3.0
-
None
-
None
Description
I am trying to add additional libraries that are inside an "endorsed" directory inside a pre-packaged tomcat7 with `additionalClasspathDirs` but these are not added.
I run and debugged life (with `mvnDebug`) with v 2.2 and the 3.0-SNAPSHOT found in https://github.com/apache/tomcat-maven-plugin.git and in both cases `additionalClasspathDirs` in `org.apache.tomcat.maven.plugin.tomcat7.run.RunMojo` is null.
Additionally tried with no success:
- Removing the alias from the attribute
- Hardcoding the path with my jars in the same plugin -> the app still failed with ClassNotFound, ¿should I add all the jars instead of a dir?
environment:
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00)
Maven home: C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.1\bin\..
Java version: 1.7.0_80, vendor: Oracle Corporation, runtime: C:\eld4\jdk-7u80-windows-x64\jre
Default locale: es_ES, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"