Hi Taka, I am wondering what would the following command do ? Does it create local APPC docker images?
$ mvn clean install -P docker Here is our build success message for your reference. INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16:56 min [INFO] Finished at: 2019-05-28T17:57:18+00:00 [INFO] Final Memory: 1403M/4696M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "docker" could not be activated because it does not exist. Are we missing something in the maven command line options? Could you help us with the steps to build APPC docker images locally? Thanks for your support and we really appreciate your help. Regards Vivek On Tue, May 28, 2019 at 11:23 PM Vivekanandan Muthukrishnan via Lists.Onap.Org <[email protected]> wrote: > Hi Taka, > > Thanks for the settings.xml file. Now, we are able to build the APPC > sources. > > Regards > Vivek > > > On Tue, May 28, 2019 at 6:39 PM Taka Cho <[email protected]> wrote: > >> The SNAPSHOT in nexus.onap.org will be expired / disappeared in a >> certain dates (45 days?, I might be wrong). So you are not able to find >> that snapshot. >> >> >> >> You would try to use my setting.xml in the attachment. You can try to >> build the master code and also we are soon to release Dublin if you want to >> wait. >> >> >> >> My question is why you need to compile the Casablanca branch code? You >> can directly use the released docker image. >> >> >> >> Also I am not sure the code in github.com/onap is really sync’ed with >> the code on gerrit.onap.org, since I never checked from github.com/onap. >> >> >> >> Taka >> >> >> >> *From:* [email protected] <[email protected]> *On >> Behalf Of *Velugubantla Praveen >> *Sent:* Monday, May 27, 2019 6:04 AM >> *To:* [email protected] >> *Cc:* Devangam Manjunatha <[email protected]>; Deepak K < >> [email protected]>; Navum Gupta <[email protected]> >> *Subject:* [onap-discuss] [APPC] - ONAP APPC Casablanca branch >> compilation and building issue >> >> >> >> Hi Team, >> >> >> >> I am trying to compile and build ONAP APPC component (i.e. >> https://github.com/onap/appc.git >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_appc.git&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=0ZK_TdiC5uuEOFp8xk542AFcBvBvyKuOa5lWrMtGpZ8&e=> >> *casablanca* branch). >> >> >> >> When i try to build APPC using maven build command "mvn clean install", I >> am getting below error. >> >> >> >> *D:\APPC\appc-casablanca>mvn clean install* >> >> *[INFO] Scanning for projects...* >> >> *Downloading from >> nexusrepo: >> https://nexus.onap.org/content/repositories/snapshots/org/onap/ccsdk/parent/odlparent/1.0.3/odlparent-1.0.3.pom >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_repositories_snapshots_org_onap_ccsdk_parent_odlparent_1.0.3_odlparent-2D1.0.3.pom&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=CR77fTgmhd_SV87K_8wgbrK9OoknVdXaSZP_YG1boIw&e=>* >> >> *Downloading from >> central: >> https://repo.maven.apache.org/maven2/org/onap/ccsdk/parent/odlparent/1.0.3/odlparent-1.0.3.pom >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__repo.maven.apache.org_maven2_org_onap_ccsdk_parent_odlparent_1.0.3_odlparent-2D1.0.3.pom&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=kU92m8axjLlXNpMq9FMB3iXxf6nT5YZbMB2z77avAJo&e=>* >> >> *[ERROR] [ERROR] Some problems were encountered while processing the >> POMs:* >> >> *[FATAL] Non-resolvable parent POM for org.onap.appc:appc:1.4.4-SNAPSHOT: >> Could not find artifact org.onap.ccsdk.parent:odlparent:pom:1.0.3 in >> nexusrepo (https://nexus.onap.org/content/repositories/snapshots >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_repositories_snapshots&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=XhQlGQhaRGGNl6LKVnFAvZzGbH81PwjWjrgxCM4sqe0&e=>) >> and 'parent.relativePath' points at wrong* >> >> *local POM @ line 25, column 13* >> >> * @* >> >> *[ERROR] The build could not read 1 project -> [Help 1]* >> >> *[ERROR]* >> >> *[ERROR] The project org.onap.appc:appc:1.4.4-SNAPSHOT >> (D:\APPC\appc-casablanca\pom.xml) has 1 error* >> >> *[ERROR] Non-resolvable parent POM for >> org.onap.appc:appc:1.4.4-SNAPSHOT: Could not find artifact >> org.onap.ccsdk.parent:odlparent:pom:1.0.3 in nexusrepo >> (https://nexus.onap.org/content/repositories/snapshots >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_repositories_snapshots&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=XhQlGQhaRGGNl6LKVnFAvZzGbH81PwjWjrgxCM4sqe0&e=>) >> and 'parent.relativePath' points at wrong local POM @ line 25, column 13 -> >> [Help 2]* >> >> *[ERROR]* >> >> *[ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch.* >> >> *[ERROR] Re-run Maven using the -X switch to enable full debug logging.* >> >> *[ERROR]* >> >> *[ERROR] For more information about the errors and possible solutions, >> please read the following articles:* >> >> *[ERROR] [Help >> 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException >> <https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_ProjectBuildingException&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=LSBZ0m5t4w7m1ULeymqw6weCG5D5feiYShdbG4-u75M&e=>* >> >> *[ERROR] [Help >> 2] >> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException >> <https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_UnresolvableModelException&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=vX5-6r2n0Vt6ZhLRZqV1wK5LDq5C9ALeEcy6hRcLQZE&e=>* >> >> >> >> *D:\APPC\appc-casablanca>* >> >> >> >> >> >> I had added the repository " >> https://nexus.onap.org/content/repositories/snapshots >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_repositories_snapshots&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=XhQlGQhaRGGNl6LKVnFAvZzGbH81PwjWjrgxCM4sqe0&e=>" >> in {user}\.m2\settings.xml. Please find the attached "settings.xml" file. >> >> >> >> <profile> >> >> <id>additionalrepo</id> >> >> <repositories> >> >> <repository> >> >> <id>nexusrepo</id> >> >> <name>Nexus Repository</name> >> >> <url> >> https://nexus.onap.org/content/repositories/snapshots</url >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_repositories_snapshots-253c_url&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=rTmj4k24x8V8XpPuv-cjJ0nvhD3Hopuh-whNWYlY0ec&e=> >> > >> >> <layout>default</layout> >> >> </repository> >> >> </repositories> >> >> </profile> >> >> >> >> Also "odlparent" component pom is available in the nexus repository >> Please find the below screen shot. >> >> >> >> >> >> >> >> >> >> Please correct me if i am missing anything. >> >> >> >> >> >> Regards, >> >> *PRAVEEN V* >> >> >> >> >> >> *L&T Technology Services Ltd* >> >> www.LTTS.com >> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.LTTS.com&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=8VbSI5NArtF8pVf6XQBc7RypzSV5hXfX8qwkajgyWjA&s=RHinKQyIDmZFBK9Tu3osCKuqHOLQH1SZbw_yFUi9QzY&e=> >> >> This Email may contain confidential or privileged information for the >> intended recipient (s). If you are not the intended recipient, please do >> not use or disseminate the information, notify the sender and delete it >> from your system. >> >> > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17305): https://lists.onap.org/g/onap-discuss/message/17305 Mute This Topic: https://lists.onap.org/mt/31808057/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
