Abel Salgado Romero created MTOMCAT-317:
-------------------------------------------

             Summary: `additionalClasspathDirs` has null value even when 
initialized with "mvn tomcat7:run"
                 Key: MTOMCAT-317
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-317
             Project: Apache Tomcat Maven Plugin
          Issue Type: Bug
          Components: tomcat7
    Affects Versions: 2.2, 3.0
            Reporter: Abel Salgado Romero
            Assignee: Olivier Lamy (*$^¨%`£)


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"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to