maven-tomcat-plugin Questions

9

I tried to deploy my app to Tomcat using Maven and I've found this sample. That's fragment of my pom.xml: <!-- Maven Tomcat Plugin --> <plugin> <groupId>org.codehaus.mojo<...
Maciemaciel asked 14/3, 2013 at 13:38

1

I'd like to have a plugin configuration that will not exist inside the pom.xml file (and also in any project files). What I want to do is to have a plugin that will be used only by me on my workst...
Cruller asked 24/9, 2014 at 8:57

6

Is the tomcat7-maven-plugin working with a tomcat 8 server and java 8? I can't find any tomcat8-maven-plugin.
Serilda asked 12/11, 2014 at 9:49

2

Solved

I use tomcat-maven-plugin to deploy my war to a server. What I have to do is configure it like this in my pom.xml: <configuration> ... <url>http://localhost/manager</url> &lt...
Phytogenesis asked 1/7, 2011 at 14:46

3

I use tomcat7 with the tomcat-maven plugin. I am able to make it hotswap my jsp but it only work if I modify it directly in the target. How can I make tomcat also look for changes in my sources dir...
Wauters asked 19/6, 2017 at 18:14

5

I am trying to redeploy a war from my local machine to a remote Tomcat 7 using command prompt in Windows. I am able to upload the war with the tomcat-maven-plugin for the first time but subsequent ...
Slowmoving asked 26/3, 2014 at 19:40

21

Solved

When I use mvn tomcat:deploy of tomcat-maven-plugin there is a 403 error: Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.0:deploy (default-cli) on project my-webapp: Cannot invoke ...
Grube asked 23/3, 2011 at 19:21

1

My question is exactly the problem faced by this user of maven-shade plugin: How to exclude META-INF files from bundle? But I am using tomcat7-maven-plugin to build a self-running webapp. I have ...
Sheik asked 16/4, 2015 at 21:15

2

OK so I've been reading several of the other stack questions and trying to piece this together without much luck. Basically my approach is that I currently have one project with multiple sub-projec...
Strega asked 1/8, 2014 at 18:55

2

I built a java configured Spring MVC application without any XML. I can deploy and start the application on my laptop without any problems. But as soon as I try to deploy my application on my tests...

2

Solved

I like to develop using the tomcat7-maven-plugin, especially the mvn tomcat7:run / tomcat7:run-war goal in order to quickly test my app, this plugin allows you to specify a custom Context.xml (whi...
Parallelize asked 17/6, 2014 at 20:17

1

I'm trying to make work integration test with Tomcat7 embedded plugin with this config: <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plu...
Oden asked 22/12, 2013 at 9:58

3

Solved

Related to eclipse debug remote web application => How do I debug a remote application in my eclipse How can I set / archive this in the mvn tomcat plugin? http://tomcat.apache.org/maven-plugin-2....
Quits asked 14/9, 2012 at 9:51

2

Solved

The tomcat7-maven-plugin allows running the current project as a Web application and additional <webapps> can be specified that will be simultaneously loaded into tomcat. My project is not a...
Hedi asked 18/3, 2013 at 15:13

2

Solved

Something of a maven noob, I'm trying to understand the difference between tomcat:run-war and tomcat:run-war-only The Apache documentation mean very little to someone unfamiliar with the envi...
Fong asked 1/8, 2013 at 13:35

5

I'm posting this after weeks of effort. I try and try because I felt guilty of posting this because there are thread similar to this. But still I'm getting slightly different error. So what I have ...
Merriemerrielle asked 20/2, 2013 at 6:24

1

I have a Maven3 project where I'm using the tomcat7-maven-plugin. I would like to set the path for the embedded database via an environment variable argument to the jvm. Reading the variable with ...

1

Solved

In order to use the tomcat 7 manager (or mvn tomcat:deploy), I need to put a settings.xml file somewhere. The file will contain the following: <server> <id>myserver</id> <u...
Nilgai asked 16/3, 2013 at 21:7

3

Solved

I have CSS and JavaScript files in src/main/webapp directory of my project. I want to join add joined and minified version of these resources to my WAR file and to the place where tomcat-maven-plug...
Lipography asked 24/9, 2012 at 18:31

2

I am trying to develop a Wicket app. It's login page must open with SSL. So I did some coding. But I can't find to configure the maven tomcat 7 plugin for SSL. I created keystore file properly.Usin...
Acyclic asked 24/7, 2012 at 14:50

4

Solved

I'm using Maven 3.0.3 with the Tomcat plugin. Using Maven and Tomcat, I would like to deploy an embedded instance of the site. My question is how do I configure an additional context path in my emb...
Virg asked 8/8, 2011 at 15:9

2

Solved

We have an application that until recently was a single Maven WAR project. We were using the Tomcat Maven plugin to run the application on local developer workstations using: mvn tomcat:run We w...
Librettist asked 7/11, 2012 at 4:25

1

Solved

I've been using tomcat7-maven-plugin. I want to run my webapp which connects to the PostgreSQL database by using the embedded tomcat. This is the related part of my POM file: <plugin> <...
Doxy asked 29/3, 2012 at 15:43

1

Solved

I just want to understand, because I got the code from another question, and it's working fine, but I don't understand the flow of this operation. This is my understanding of Apache Maven Tomcat p...
Presentationism asked 19/10, 2011 at 14:59

2

Solved

I am using Maven 2 and I have an external Tomcat 7. I was wondering how to run Tomcat 7 from using Maven Tomcat plugin. And does Maven Tomcat plugin in Maven 3 runs the Tomcat 7 by default. Thank...
Buddy asked 18/10, 2011 at 0:26

© 2022 - 2024 — McMap. All rights reserved.