プラットフォーム ブランチ 4.0.0 から synapse 2.1.0-wso2v6 をビルドする際に問題が発生しました。
C:\wso2\src\wso2carbon_platform_branch_400\dependencies\synapse\2.1.0-wso2v6\modules\commons>mvn clean install -Dmaven.test.skip=true
エラーログ:
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Synapse - Commons classes 2.1.0-wso2v6
[INFO] ------------------------------------------------------------------------
Downloading: http://dist.wso2.org/maven2/java-cup/java-cup/0.0/java-cup-0.0.pom
Downloading: https://server.oosnmp.net/dist/release/java-cup/java-cup/0.0/java-cup-0.0.pom
Downloading: http://repo.maven.apache.org/maven2/java-cup/java-cup/0.0/java-cup-0.0.pom
Downloading: http://dist.wso2.org/maven2/JLex/JLex/0.0/JLex-0.0.pom
Downloading: https://server.oosnmp.net/dist/release/JLex/JLex/0.0/JLex-0.0.pom
Downloading: http://repo.maven.apache.org/maven2/JLex/JLex/0.0/JLex-0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.361s
[INFO] Finished at: Thu Jul 04 15:55:04 BST 2013
[INFO] Final Memory: 8M/490M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project synapse-commons: Could not resolve dependencies for project org.apache.synapse:synapse-commons:bundle:2.1.0-wso2v6: ...
...
Could not transfer artifact java-cup:java-cup:pom:0.0 from/to snmp4j-repo (https://server.oosnmp.net/dist/release/): hostname in certificate didn't match: <server.oosnmp.net> != <oosnmp.net> OR <oosnmp.net> -> [Help 1]
基本的にjava-cup pomが見つからないようです。
失敗に至るまでの手順は次のとおりです。
wso2\src\wso2carbon_orbit_branch_400>mvn clean install -Dmaven.test.skip=true
wso2\src\wso2carbon_orbit_branch_400\patch-releases\4.0.6>mvn clean install -Dmaven.test.skip=true
wso2\src\wso2carbon_kernel_branch_400>mvn clean install -Dmaven.test.skip=true
wso2\src\wso2carbon_kernel_branch_400\patch-releases\4.0.6>mvn clean install -Dmaven.test.skip=true
wso2\src\wso2carbon_platform_branch_400>mvn clean install -Dmaven.test.skip=true
>> java-cup maven failure