문제

I'm working with a plugin mechanism of a web application which is deployed locally with cargo. So I mostly do changes in the plugin and not in the application (the WAR) itself. But when starting cargo it deploys the WAR file each time even there were no modifications. Can cargo be configured this way that it, let’s say reuses the already deployed war file to save time?

My current mvn file:

<plugin>
   <groupId>org.codehaus.cargo</groupId>
   <artifactId>cargo-maven2-plugin</artifactId>
   ...
    <deployables>
        <deployable>
           <location>${project.build.directory}/${project.build.finalName}</location>
           <pingURL>http://localhost:8080</pingURL>
           <properties>
              <context></context>
           </properties>
         </deployable>
    </deployables>
도움이 되었습니까?

해결책

Found the cargo.tomcat.copywars parameter for that which is by default true. http://cargo.codehaus.org/Configuration+properties

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top