[
https://issues.apache.org/jira/browse/MTOMCAT-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14008708#comment-14008708
]
Wolfgang Fahl commented on MTOMCAT-268:
---
Here is an example of the style of configuration.
I am not sure whether I missed to clean or not. I just found the behaviour
strange and somewhat inacceptable since it creates a lot of network traffic and
bizzarre followup problems.
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;
modelVersion4.0.0/modelVersion
parent
groupIdcom.bitplan.rest/groupId
artifactIdcom.bitplan.rest/artifactId
version0.0.5-SNAPSHOT/version
relativePath../com.bitplan.rest/pom.xml/relativePath
/parent
artifactIdcom.bitplan.acymailing-war/artifactId
packagingwar/packaging
nameacymailing-war/name
descriptionwar packaging of acymailing/description
dependencies
!-- acymailing --
dependency
artifactIdcom.bitplan.acymailing/artifactId
groupId${project.groupId}/groupId
version${project.version}/version
/dependency
/dependencies
build
plugins
!-- tomcat deployment --
plugin
groupIdorg.apache.tomcat.maven/groupId
artifactIdtomcat7-maven-plugin/artifactId
version2.2/version
configuration
server${tomcat.server}/server
urlhttp://${tomcat.server}:${tomcat.port}/manager/text/url
path/acymailing/path
webXmlsrc/main/webapp/WEB-INF/web.xml/webXml
packagingExcludesWEB-INF/lib/javax.servlet-api-3.0.1.jar/packagingExcludes
/configuration
/plugin
/plugins
/build
/project
warfile for snapshop version grows unlimited since every snapshot jar is
included
-
Key: MTOMCAT-268
URL: https://issues.apache.org/jira/browse/MTOMCAT-268
Project: Apache Tomcat Maven Plugin
Issue Type: Bug
Affects Versions: 2.2
Reporter: Wolfgang Fahl
For a main jar based project I try creating a war by adding a single
dependency to the pom pointing to the jar file artifact using a snapshot
version.
The created war file contains the jar of the dependency in all available
versions of the snapshot. E.g. instead of having one 50 MByte Jar I get 5 50
MByte Jars added so in principle my war will grow indefinetely with every new
snapshot.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org