WSO2 Developer Studio (버전 3.7.0)를 사용하여 "ESB Config Project"에 시퀀스가있는 WSO2 ESB 프록시 서비스를 만들었습니다.이 프록시 서비스는 다음 위치에있는 wsdl 파일을 사용합니다. "레지스트리 자원 프로젝트". 필자는 .car 파일 (프록시 서비스, 시퀀스 및 리소스 포함)을 생성하기 위해 "Composite Application Project"를 만들었고이 파일을 WSO2 ESB 설치에 성공적으로 배포했습니다.WSO2ESB - Maven을 사용하여 CAR 파일 작성
이제 maven 명령을 사용하여 .car 파일을 생성 (배포)하려고합니다.
나는 먼저이 해결책을 시도했다 : https://docs.wso2.com/display/DVS370/Deploying+a+CAR+File+with+the+Maven+Plug-In. 명령을 내 ESB 구성 프로젝트에 "MVN 깨끗한 설치"를 실행할 때 , 나는이 오류를 얻을 :
<directory>target/capp</directory>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2</version>
<extensions>true</extensions>
<executions>
<execution>
<id>install</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>mvn</executable>
<workingDirectory>${project.build.directory}</workingDirectory>
<arguments>
<argument>clean</argument>
<argument>install</argument>
<argument>-Dmaven.test.skip=${maven.test.skip}</argument>
</arguments>
</configuration>
</execution>
...
: 실제로
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory ([ESB Config Project Path]\target\capp).
Please verify you invoked Maven from the correct directory. -> [Help 1]
를 설치 목표는 "대상/CAPP"디렉토리에 실행되도록 구성되어 있습니다 여기에 제안
그런 다음 내가는 "메이븐 멀티 모듈 프로젝트"를 만들려고 : maven build for WSo2 artifacts을,하지만 난 그것을 작동하게하는 모든 솔루션 발견되지 않았다
을이 문서 (https://docs.wso2.com/display/DVS310/Using+Maven+with+Developer+Studio?src=search)의 단계에 따라를, 내가 만든 "Maven Mul ti Module Project "를 선택하고 구성, 자원 및 복합 프로젝트를 하위 항목으로 선택했습니다. 그런 다음 "mvn clean install"명령을 실행했지만 ESB Config Project (대상/capp 폴더의 POM 없음)에서 오류가 계속 발생했습니다.
실제로 이러한 오류에 대한 정보를 찾지 못했고 왜 WSO2로 문서화 된 솔루션이 저에게 맞지 않는지 이해할 수 없습니다.
아무에게도 제안 사항이 있습니까? WSO2 Developer Studio는 .car 파일을 어떻게 생성합니까?
감사