[
https://issues.apache.org/jira/browse/MTOMCAT-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.bitplan.rest</groupId>
<artifactId>com.bitplan.rest</artifactId>
<version>0.0.5-SNAPSHOT</version>
<relativePath>../com.bitplan.rest/pom.xml</relativePath>
</parent>
<artifactId>com.bitplan.acymailing-war</artifactId>
<packaging>war</packaging>
<name>acymailing-war</name>
<description>war packaging of acymailing</description>
<dependencies>
<!-- acymailing -->
<dependency>
<artifactId>com.bitplan.acymailing</artifactId>
<groupId>${project.groupId}</groupId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- tomcat deployment -->
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<server>${tomcat.server}</server>
<url>http://${tomcat.server}:${tomcat.port}/manager/text</url>
<path>/acymailing</path>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<packagingExcludes>WEB-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: [email protected]
For additional commands, e-mail: [email protected]