Location of pom.xml for Maven

Any update on this?

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

Many thanks in advance!

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

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

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

With best regards,
Jozef

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.

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

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

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

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

Thank you Trevor!

When will this happen? Another user Matthew is already asking for this since one year and two months [Building from Source Code | Pinnacle 21], 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

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

Jozef,

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

Thanks,

Trevor
Product Manager

Thanks a lot.!

Hi,

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

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

pom.xml

maven.community.pinnacle21.com

cli

1.0.1

jar

nmaven.community.pinnacle21.com

base

[2.0.0,3.0.0)


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] ProjectBuildingException - Apache Maven - Apache Software Foundation
[ERROR] [Help 2] UnresolvableModelException - Apache Maven - Apache Software Foundation
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

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

@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…

“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 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.

net.pinnacle21.ops

base

[2.0.0,3.0.0)

/base-2.0.0.pom.xml

Hope that helps.!

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:

net.pinnacle21.ops
base
[2.0.0,3.0.0)

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!