Hi Rashad,
I'm able to compile OJ in Intellij by selecting snapshot profile, then
right clicking on the "package" lifecycle and choosing Run 'OpenJump
[package]'
I have the same warnings as you have but the build succeeds and produces
OpenJUMP-20191014-r6201.jar and plus and core zip files.
hth
Nicolas
On Tue, 24 Sep 2019 at 12:31, Rashad Kanavath
wrote:
> I had check out sources from sourceforge and when opening this project in
> InteliJ IDE
>
> Trying to run maven compile on profile "core" gives me errors as below.
>
>
> Some problems were encountered while building the effective model for
> org.openjump:OpenJUMP:jar:svn build
> 'version' contains an expression but should be a constant. @
> org.openjump:OpenJUMP:${version.release},
> D:\Users\rkdev\projects\oj-svn\pom.xml, line 7, column 14
> It is highly recommended to fix these problems because they threaten the
> stability of your build.
> For this reason, future Maven versions might no longer support building
> such malformed projects.
>
> Is it possible to update pom.xml with correct version number ?
>
> I think version.datestamp should be automatic and version.release should
> be snapshot/dev by default ?
>
> Also maven complain about some repo url
>
> Could not transfer metadata
> org.deegree2:deegree2-core:2.6-pre2-SNAPSHOT/maven-metadata.xml from/to cam
> (http://maven.ch.cam.ac.uk/m2repo/): Failed to transfer file
> http://maven.ch.cam.ac.uk/m2repo/org/deegree2/deegree2-core/2.6-pre2-SNAPSHOT/maven-metadata.xml
> with status code 503
>
> I cannot access cam repository here. Maybe link is down or this
>
> Indeed removing below repository node from pom.xml make this last error
> disappear.
>
>
> cam
> Cambridge Maven 2 Repository
> http://maven.ch.cam.ac.uk/m2repo/
>
>
>
> Any help?
>
> --
> Regards,
>Rashad
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel