CRISP API resolving parent pom error

77 views
Skip to first unread message

ykisy...@n-ix.com

unread,
Jul 19, 2017, 11:33:04 AM7/19/17
to Hippo Community
I'm following demo project on CRISP API and as it's checkout from branch it gives missing parent pom errors. 

The steps on the page are not accurate as anyone who is not developer at Hippo will have this error.


INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' of POM org.onehippo.cms7.demo:hippo-addon-crisp-demo:2.0.0-SNAPSHOT (/Users/ykisylychka/git/hippo/hippo-addon-crisp/demo/pom.xml) points at org.onehippo.cms7:hippo-addon-crisp instead of org.onehippo.cms7:hippo-cms7-release, please verify your project structure @ line 5, column 11
[FATAL] Non-resolvable parent POM for org.onehippo.cms7.demo:hippo-addon-crisp-demo:2.0.0-SNAPSHOT: Failure to find org.onehippo.cms7:hippo-cms7-release:pom:12.0.0-SNAPSHOT in https://maven.onehippo.com/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of hippo has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 11

Confidentiality Note:  This e-mail and any attachments are confidential and may be protected by legal privilege. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation.

Woonsan Ko

unread,
Jul 19, 2017, 12:35:37 PM7/19/17
to hippo-c...@googlegroups.com
Hi,

I think the demo folder contains a wrong version info in the root pom.xml.
Could you change '${project.version}' in the following dependencies to '2.0.0' in the root pom.xml and try it again?

      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-addon-crisp-api</artifactId>
        <version>${project.version}</version>
      </dependency>

      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-addon-crisp-repository</artifactId>
        <version>${project.version}</version>
      </dependency>

      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-addon-crisp-core</artifactId>
        <version>${project.version}</version>
      </dependency>

      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-addon-crisp-hst</artifactId>
        <version>${project.version}</version>
      </dependency>

I'll fix this issue in v2.0.1 soon.

Regards,

Woonsan


--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.



--
71 Summer Street, 2nd Floor, Boston, MA 02110
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466

cyber...@gmail.com

unread,
Jul 21, 2017, 3:17:49 AM7/21/17
to Hippo Community
Thanks for reply Woonsan Ko.

Well it appears to be more than that, it worked out after:

diff --git a/demo/cms/pom.xml b/demo/cms/pom.xml
index 23fb2e3..b6b0a10 100644
--- a/demo/cms/pom.xml
+++ b/demo/cms/pom.xml
@@ -18,11 +18,13 @@
       <groupId>org.onehippo.cms7</groupId>
       <artifactId>hippo-addon-crisp-api</artifactId>
       <scope>provided</scope>
+      <version>2.0.0</version>
     </dependency>

     <dependency>
       <groupId>org.onehippo.cms7</groupId>
       <artifactId>hippo-addon-crisp-repository</artifactId>
+      <version>2.0.0</version>
     </dependency>

     <dependency>
diff --git a/demo/essentials/pom.xml b/demo/essentials/pom.xml
index fa55a94..0546843 100644
--- a/demo/essentials/pom.xml
+++ b/demo/essentials/pom.xml
@@ -15,13 +15,13 @@
     <dependency>
       <groupId>org.onehippo.cms7</groupId>
       <artifactId>hippo-essentials-dashboard</artifactId>
-      <version>${essentials.version}</version>
+      <version>2.0.0</version>
       <type>war</type>
     </dependency>
     <dependency>
       <groupId>org.onehippo.cms7</groupId>
       <artifactId>hippo-essentials-dashboard-dependencies</artifactId>
-      <version>${essentials.version}</version>
+      <version>2.0.0</version>
       <type>pom</type>
     </dependency>
   </dependencies>
diff --git a/demo/pom.xml b/demo/pom.xml
index 26652ed..d50931a 100644
--- a/demo/pom.xml
+++ b/demo/pom.xml
@@ -5,7 +5,7 @@
   <parent>
     <groupId>org.onehippo.cms7</groupId>
     <artifactId>hippo-cms7-release</artifactId>
-    <version>12.0.0-SNAPSHOT</version>
+    <version>12.0.0</version>
   </parent>

   <name>Hippo Addon CRISP Demo</name>
@@ -103,25 +103,25 @@
       <dependency>
         <groupId>org.onehippo.cms7</groupId>
         <artifactId>hippo-addon-crisp-api</artifactId>
-        <version>${project.version}</version>
+        <version>2.0.0</version>
       </dependency>

       <dependency>
         <groupId>org.onehippo.cms7</groupId>
         <artifactId>hippo-addon-crisp-repository</artifactId>
-        <version>${project.version}</version>
+        <version>2.0.0</version>
       </dependency>

       <dependency>
         <groupId>org.onehippo.cms7</groupId>
         <artifactId>hippo-addon-crisp-core</artifactId>
-        <version>${project.version}</version>
+        <version>2.0.0</version>
       </dependency>

       <dependency>
         <groupId>org.onehippo.cms7</groupId>
         <artifactId>hippo-addon-crisp-hst</artifactId>
-        <version>${project.version}</version>
+        <version>2.0.0</version>
       </dependency>

       <dependency>
@@ -133,7 +133,7 @@
       <dependency>
         <groupId>org.onehippo.cms7</groupId>
         <artifactId>hippo-essentials-plugin-sdk-api</artifactId>
-        <version>${essentials.version}</version>
+        <version>4.0.0</version>
       </dependency>

       <dependency>
diff --git a/demo/site/pom.xml b/demo/site/pom.xml
index 9ade276..a6271a6 100644
--- a/demo/site/pom.xml
+++ b/demo/site/pom.xml
@@ -18,16 +18,19 @@
       <groupId>org.onehippo.cms7</groupId>
       <artifactId>hippo-addon-crisp-api</artifactId>
       <scope>provided</scope>
+      <version>2.0.0</version>
     </dependency>

     <dependency>
       <groupId>org.onehippo.cms7</groupId>
       <artifactId>hippo-addon-crisp-core</artifactId>
+      <version>2.0.0</version>
     </dependency>

     <dependency>
       <groupId>org.onehippo.cms7</groupId>
       <artifactId>hippo-addon-crisp-hst</artifactId>
+      <version>2.0.0</version>
     </dependency>

     <dependency>
To post to this group, send email to hippo-c...@googlegroups.com

RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.

Woonsan Ko

unread,
Jul 21, 2017, 9:05:23 AM7/21/17
to hippo-c...@googlegroups.com
On Thu, Jul 20, 2017 at 9:13 AM, <cyber...@gmail.com> wrote:
Thanks for reply Woonsan Ko.

Well it appears to be more than that, it worked out after:

Thank you very much for sharing the detail! :-)
Our default tagging practice seems to bump up the version for some reason, which I wasn't aware of before. Will make sure this should be fixed soon.

Cheers,

Woonsan
 
To post to this group, send email to hippo-community@googlegroups.com

RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.

Woonsan Ko

unread,
Jul 24, 2017, 3:10:01 PM7/24/17
to hippo-c...@googlegroups.com
On Fri, Jul 21, 2017 at 7:05 AM, Woonsan Ko <woons...@bloomreach.com> wrote:


On Thu, Jul 20, 2017 at 9:13 AM, <cyber...@gmail.com> wrote:
Thanks for reply Woonsan Ko.

Well it appears to be more than that, it worked out after:

Thank you very much for sharing the detail! :-)
Our default tagging practice seems to bump up the version for some reason, which I wasn't aware of before. Will make sure this should be fixed soon.
Our tagging/release process was correct, but the 'demo' subfolder (not maven submodule) wasn't affected by the automated process. I'll take care of this with this ticket:

Cheers,

Woonsan
Reply all
Reply to author
Forward
0 new messages