In your pom file, AAI schema service is set to 1.6.2-SNAPSHOT, which may have 
been deleted, being a snapshot version. Use one of the released versions here: 
https://nexus.onap.org/content/repositories/releases/org/onap/aai/schema-service/aai-schema/

You need to change the version number in the following block in 
so/common/pom.xml

    <dependency>
      <groupId>org.onap.aai.schema-service</groupId>
      <artifactId>aai-schema</artifactId>
      <version>1.0.5</version>
    </dependency>

I’m using 1.0.5, but you can use a later version.

Note also that you may incur another issue down the road, that is the APPC 
client library version. Even in that case, the so/bpmn/pom.xml file points to a 
snapshot version. I had to manually change this in so/bpmn/pom.xml:

<appc.client.version>1.7.0-SNAPSHOT</appc.client.version>

1.7.0-SNAPSHOT is the version I’m using and it seems to work. If you want a 
released version, then you can use 1.7.0.

Marco

From: <[email protected]> on behalf of Aniello Paolo Malinconico 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>, 
"[email protected]" <[email protected]>
Date: Thursday, February 6, 2020 at 5:11 AM
To: "[email protected]" <[email protected]>
Subject: [onap-discuss] Failed to build SO project

Hi all,
I want to build the SO docker images from fithub masters version.
So, I have :

  1.  Changed the setting.xml file, pointing to this 
https://git.onap.org/oparent/plain/settings.xml<https://urldefense.proofpoint.com/v2/url?u=https-3A__git.onap.org_oparent_plain_settings.xml&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=Ret9GN_cktItuMQ3LJNOm6Szb_EQM0uQvjiS0eMa9go&s=QqsOVu4b5YNMyP9TlhqUeEnK60pl6X8qH8UXUfWljYY&e=>
  2.  git clone 
https://github.com/onap/so.git<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_so.git&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=Ret9GN_cktItuMQ3LJNOm6Szb_EQM0uQvjiS0eMa9go&s=75MVSqmg_Pqq13NHpGfriYynH4wq9AQ5r8K9qta9gwM&e=>
And then I have performet the builfding command : mvn clean install .
But it returns the following error:


INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for so 1.4.0-SNAPSHOT:
[INFO]
[INFO] so ................................................. SUCCESS [04:53 min]
[INFO] deployment-configs ................................. SUCCESS [ 21.972 s]
[INFO] MSO Common classes ................................. FAILURE [01:18 min]
[INFO] mso-catalog-db ..................................... SKIPPED
[INFO] API Handler ........................................ SKIPPED
[INFO] mso-requests-db .................................... SKIPPED
[INFO] mso-requests-db-repositories ....................... SKIPPED
[INFO] mso-api-handler-common ............................. SKIPPED
[INFO] mso-api-handler-infra .............................. SKIPPED
[INFO] MSO Adapters ....................................... SKIPPED
[INFO] mso-adapters-rest-interface ........................ SKIPPED
[INFO] Cloudify Rest Client ............................... SKIPPED
[INFO] mso-adapter-utils .................................. SKIPPED
[INFO] CXFLogging ......................................... SKIPPED
[INFO] mso-sdnc-adapter ................................... SKIPPED
[INFO] mso-requests-db-adapter ............................ SKIPPED
[INFO] mso-catalog-db-adapter ............................. SKIPPED
[INFO] mso-vfc-adapter .................................... SKIPPED
[INFO] mso-openstack-adapters ............................. SKIPPED
[INFO] MSO VNFM Adapter ................................... SKIPPED
[INFO] mso-vnfm-adapter-api ............................... SKIPPED
[INFO] mso-vnfm-adapter-ext-clients ....................... SKIPPED
[INFO] mso-vnfm-etsi-adapter .............................. SKIPPED
[INFO] mso-ve-vnfm-adapter ................................ SKIPPED
[INFO] BPMN Subsystem ..................................... SKIPPED
[INFO] MSOCoreBPMN ........................................ SKIPPED
[INFO] MSOCommonBPMN ...................................... SKIPPED
[INFO] so-appc-orchestrator ............................... SKIPPED
[INFO] asdc-controller .................................... SKIPPED
[INFO] so-bpmn-infrastructure-common ...................... SKIPPED
[INFO] so-bpmn-tasks ...................................... SKIPPED
[INFO] so-bpmn-building-blocks ............................ SKIPPED
[INFO] so-bpmn-infrastructure-flows ....................... SKIPPED
[INFO] mso-infrastructure-bpmn ............................ SKIPPED
[INFO] so-monitoring ...................................... SKIPPED
[INFO] so-monitoring-ui ................................... SKIPPED
[INFO] so-monitoring-handler .............................. SKIPPED
[INFO] so-monitoring-service .............................. SKIPPED
[INFO] MSO Packages ....................................... SKIPPED
[INFO] SO REST Simulator .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:55 min
[INFO] Finished at: 2020-02-06T10:59:56+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project common: Could not resolve 
dependencies for project org.onap.so:common:jar:1.4.0-SNAPSHOT: Failed to 
collect dependencies at 
org.onap.aai.schema-service:aai-schema:jar:1.6.2-SNAPSHOT: Failed to read 
artifact descriptor for 
org.onap.aai.schema-service:aai-schema:jar:1.6.2-SNAPSHOT: Could not transfer 
artifact org.onap.aai.schema-service:aai-schema:pom:1.6.2-SNAPSHOT from/to 
camunda-bpm 
(https://app.camunda.com/nexus/content/repositories/camunda-bpm/<https://urldefense.proofpoint.com/v2/url?u=https-3A__app.camunda.com_nexus_content_repositories_camunda-2Dbpm_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=Ret9GN_cktItuMQ3LJNOm6Szb_EQM0uQvjiS0eMa9go&s=doHSmu3EvvGqPa8rVUsNZ50t-6D0Pqm07HQuK516t48&e=>):
 Failed to transfer 
file:https://app.camunda.com/nexus/content/repositories/camunda-bpm/org/onap/aai/schema-service/aai-schema/1.6.2-SNAPSHOT/aai-schema-1.6.2-SNAPSHOT.pom<https://urldefense.proofpoint.com/v2/url?u=https-3A__app.camunda.com_nexus_content_repositories_camunda-2Dbpm_org_onap_aai_schema-2Dservice_aai-2Dschema_1.6.2-2DSNAPSHOT_aai-2Dschema-2D1.6.2-2DSNAPSHOT.pom&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=Ret9GN_cktItuMQ3LJNOm6Szb_EQM0uQvjiS0eMa9go&s=yUoz4Ef7HgU0r88HA9xMiKhAx8opMI_wuZ_UvhbehO8&e=>.
 Return code is: 400 , ReasonPhrase:Repository version policy: RELEASE does not 
allow version: 1.6.2-SNAPSHOT. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
on project common: Could not resolve dependencies for project 
org.onap.so:common:jar:1.4.0-SNAPSHOT: Failed to collect dependencies at 
org.onap.aai.schema-service:aai-schema:jar:1.6.2-SNAPSHOT


How Can I solve this issue?

Thanks,
Aniello Paolo Malinconico


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#19939): https://lists.onap.org/g/onap-discuss/message/19939
Mute This Topic: https://lists.onap.org/mt/71019479/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to