2017-01-17 3 views
0

私のプロジェクトをwso2is-5.2.0からwso2is-5.3.0に移行しようとしています。wso2isスタブ依存関係がありません

私のプロジェクトは、多くのwso2isスタブに依存しています。私は

<dependency> 
    <groupId>org.wso2.carbon.identity</groupId> 
    <artifactId>org.wso2.carbon.identity.oauth.stub</artifactId> 
    <version>5.1.3</version> 
</dependency> 

魔女を持っているのOAuth2のWebサービスのためのexempleについて

はwso2isネクサスリポジトリで利用可能です:$に従ってwso2is-5.3の

http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/identity/org.wso2.carbon.identity.oauth.stub/5.1.3/

wso2is_home /リポジトリ/コンポーネント/プラグインスタブはバージョン5.3.4になりました 魔女は利用できません http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/identity/org.wso2.carbon.identity.oauth.stub/

アーティファクト

  • org.wso2.carbon.identity.user.registration.stub
  • org.wso2.carbon.identity.mgt.stub
  • org.wso2.carbon.userため

    同じ問題。 mgt.stub

  • 私はwso2is-52クライアントので、以前のバージョンを維持することはできませんorg.wso2.carbon.authenticator.stub
  • org.wso2.carbon.um.ws.api.stub

Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement {http://dto.oauth.identity.carbon.wso2.org/xsd}state

が後で展開や新しいネクサスリポジトリがどこかに存在しているか、私は何かを逃したことになるだろう正しいバージョンです:?私はexempleのために、このようなエラーを得たwso2is-53 Webサービスを呼び出すスタブ

よろしく

+0

は、あなたがのpom.xmlまたはプロジェクトのシェルを共有することができなければならない必要があります持っている必要がありますか? –

答えて

0

アイデンティティコンポーネントのグループIDは、いくつかの技術的な要件のために変更されました。したがって、新しいグループIDを使用して依存関係を参照する必要があります。

org.wso2.carbon.authenticator.stubグループIDは、炭素カーネルに由来するため、org.wso2.carbonとして変更されません。残りのグループIDは次のように変更する必要があります。

  • org.wso2.carbon.identity.oauth.stuborg.wso2.carbon.identity.inbound.auth.oauth2
  • org.wso2.carbon.identity.user.registration.stuborg.wso2.carbon.identity.mgt.stuborg.wso2.carbon.user.mgt.stubすべてがorg.wso2.carbon.identity.framework
  • org.wso2.carbon.um.ws.api.stuborg.wso2.carbon.identity.user.ws
+0

ありがとうございます。groupId/artifactId/versionがMETAF-INF/maven/pom.propertiesのスタブjarで定義されていることがわかりました。groupId/artifactId/versionが変更されたことがわかりませんでした – gribo

関連する問題