j Jozef
on

 

When trying to use Maven for installing the source code of v.3.0.0, when running the pom.xml, Maven complains about:
[FATAL] Non-resolvable parent POM net.pinnacle21.ops:base:[2.0.0,3.0.0) for net.pinnacle21:cli:1.0.0: No versions matched the requested parent version range '[2.0.0,3.0.0)' and 'parent.relativePath' points at wrong local POM @ line 11, column 11

caused by the part:
<parent>
    <groupId>net.pinnacle21.ops</groupId>
    <artifactId>base</artifactId>
    <version>[2.0.0,3.0.0)</version>
  </parent>

So it looks as the parent pom.xml could not be found. I did not find it in the sources on bitbucket either.

Where should I get this parent pom.xml from?

Many thanks in advance!

Forums: Troubleshooting and Problems

j Jozef
on June 20, 2019

Any update on this?

I also noticed that the file "Resources.java" is missing. Where can I find it?

Many thanks in advance!

j Jozef
on June 24, 2019

I did find the class "Resources" now: it was misplaced in the download from BitBucket.

I still need the "parent pom.xml" for "net.pinnacle21.ops". Where can I find it?

Many thanks in advance,

Jozef

j Jozef
on June 29, 2019

Any update on this?
I noticed that also others got very similar problems and posted a question but never got an answer:

https://www.pinnacle21.com/forum/need-user-name-and-password-pinnacle-deploy-order-contribute-project
https://www.pinnacle21.com/forum/building-source-code

Or is it not allowed or possible to recompile the source code?

With best regards,
Jozef

a Amy
on July 2, 2019

Hi Jozef -

We are happy to help you recompile the source code.  We are looking into the best way to make the parent pom.xml available online and will keep you posted.

Thanks, A.

j Jozef
on July 2, 2019

Thank you for your kind offer Amy!

There is however no need to "help" me recompiling the code, I am an expert software developer with 40 years experience, and professor in medical Informatics.
Can you just please put the requested pom.xml on the bitbucket site, where it belongs? That should not be that hard.

Many thanks in advance,

Jozef

j Jozef
on July 17, 2019

Any update on this?
I did not find any additions (especially not the "parent" pom.xml) on Bitbucket since May.

I am especially puzzled about what libraries we need for "rx.Observable", "rx.functions.*", "rx.schedulers.Schedulers" and similar.
No they do not seem to come from a more recent "ReactiveX" library.
Without the correct libraries, there is no way to compile the source code successfully.

Please publish or provide us with either the "parent pom.xml" or point us from where we can get the missing libraries.

Many thanks in advance!

Jozef

j Jozef
on August 3, 2019

Any update on this?
Or does Pinnacle21 not want that individuals are able to (re)compile the source code ;-) ?
Many thanks in advance!
Jozef

Trevor
on August 5, 2019

Jozef,

As mentioned above in a post by Amy, we are working on getting these files available and posted online. Someone from P21 will update you on this once they are ready.

Thanks,

Trevor
Product Manager

j Jozef
on August 5, 2019

Thank you Trevor!

When will this happen? Another user Matthew is already asking for this since one year and two months [https://www.pinnacle21.com/forum/building-source-code], apparently without any answer.
Getting these files together (or the links to these libraries) should be no more than 30 minutes work ... They should be on bitbucket anyway.

Many thanks in advance,

Jozef

Trevor
on August 7, 2019

Hi Jozef,

I am sorry but I can't give you an estimate. We have many active projects across our organization which require more of our staff and resourcing at the moment, but I can assure you that we have this on our list of things to do.

All the best,
Trevor

Trevor
on August 14, 2019

Jozef,

Here you go!  https://maven.community.pinnacle21.com/

Thanks,

Trevor
Product Manager

n Nitin
on August 19, 2019

Thanks a lot.!

n Nicolas
on August 29, 2019

Hi,

I try to update pom.xml with https://maven.community.pinnacle21.com/

https://bitbucket.org/p21-community/community-cli

pom.xml

 

<groupId>maven.community.pinnacle21.com</groupId>

<artifactId>cli</artifactId>

<version>1.0.1</version>

<packaging>jar</packaging>

 

<parent>

<groupId>nmaven.community.pinnacle21.com</groupId>

<artifactId>base</artifactId>

<version>[2.0.0,3.0.0)</version>

</parent>

 

---------

 Maven error:

Step 10 : RUN mvn --batch-mode -f /usr/src/pom.xml clean package
---> Running in b6ebeac10afb
[INFO] Scanning for projects...
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/maven/community/pinnacle21/com/base/maven-metadata.xml
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM maven.community.pinnacle21.com:base:[2.0.0,3.0.0) for maven.community.pinnacle21.com:cli:1.0.1: No versions matched the requested parent version range '[2.0.0,3.0.0)' and 'parent.relativePath' points at wrong local POM @ line 11, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project maven.community.pinnacle21.com:cli:1.0.1 (/usr/src/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM maven.community.pinnacle21.com:base:[2.0.0,3.0.0) for maven.community.pinnacle21.com:cli:1.0.1: No versions matched the requested parent version range '[2.0.0,3.0.0)' and 'parent.relativePath' points at wrong local POM @ line 11, column 11 -> [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
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Service 'maven' failed to build: The command '/bin/sh -c mvn --batch-mode -f /usr/src/pom.xml clean package' returned a non-zero code: 1

 

 

n Nitin
on August 31, 2019

You could go through the comments in this thread for the answer.

j Jozef
on August 31, 2019

@Nitin: did you manage to get through the full compilation using Maven only?
If so, can you let us know how? "You could go through the comments" is really not very helpful...

n Nitin
on August 31, 2019

"did you manage to get through the full compilation using Maven only?" - Not all the projects have been successfully compiled. But, the problem stated in the error message you put above could be removed by adding the appropriate pom file to your project. You could do the below to get rid of this error message:

  1. Go to your m2 repo and delete all contents from Pinnacle Project. It should be in the folder .m2/repository/net/pinnacle21.
  2. From here, download the parent POM files. Under the <parent> tag in each of the project POM files, look for the version of the parent POM file referred. For versions 2.0.0, you could simply add the pom file from the above link to the same location where the project POM exists. The base POM files have the name base-2.0.0.pom.xml. You could add the .xml extension to the files if you want. It should work without that as well.
  3. After you do that, refer the base file in the parent tag as given below, save the file and do a Maven-> Update Project if you are running on eclipse. If you have Maven locally setup, run the command mvn clean install and you should have the error gone and the libraries getting downloaded.

<parent>

<groupId>net.pinnacle21.ops</groupId>

<artifactId>base</artifactId>

<version>[2.0.0,3.0.0)</version>

<relativePath>/base-2.0.0.pom.xml</relativePath>

</parent>

Hope that helps.!

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.