2011-03-08 7 views

답변

0

Cargo Plugin 구성을 위해 deployables 태그를 확인하십시오.

이 구성은 현재 프로젝트와 AnotherWAR 프로젝트를 배포해야합니다.

<profiles> 
     <profile> 
      <id>integration-test</id> 
      <dependencies> 
       <dependency> 
        <groupId>com.me</groupId> 
        <artifactId>AnotherWAR</artifactId> 
        <version>1.2</version> 
        <type>war</type> 
       </dependency> 
      </dependencies> 
      <build> 
       <plugins> 
        <plugin> 
        <groupId>org.codehaus.cargo</groupId> 
        <artifactId>cargo-maven2-plugin</artifactId> 
        <version>1.2.4</version> 
        <configuration> 
         <deployables> 
          <deployable> 
           <groupId>com.me</groupId> 
           <artifactId>AnotherWAR</artifactId> 
          </deployable> 
         </deployables> 
        </configuration> 
       </plugin> 
       </plugins> 
      </build> 
     </profile> 
    </profiles> 

은 그럼 그냥화물 전화 :

활성화 '통합 테스트'프로파일 배포