openam-jp / openam

Other
32 stars 15 forks source link

Not able to build jar files using Maven #38

Open Sivakumar-chunduru opened 5 years ago

Sivakumar-chunduru commented 5 years ago

Getting below error while trying to build jar file using Maven

Non-resolvable parent POM for jp.openam:openam:14.0.0-M6:Could not find artifact jp.openam:forgerock-parent:pom:2.0.8 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM

Could anyone help me on this issue.

ogis-miyamura commented 5 years ago

Unfortunately, the '14.0.0-M6' tag can no longer be built.

With issue #36 and pull request #37 we are trying to be able to build the 'issues/openam/36-remove-forgerock-repositories' branch of each repository. https://github.com/openam-jp/openam/pull/37

If you are interested in this issue, why not try building with us?

tsujiguchitky commented 5 years ago

We have not yet deployed POMs/JARs to the Maven repository. So, as @ogis-miyamura said, we need to build all the repositories to build OpenAM.

I created a project for building all repositories, so please try it if you like.

$ git clone --recursive https://github.com/tsujiguchitky/openam-build.git
$ mvn install -DskipTests -f openam-build
yanhay commented 4 years ago

While checking out your link, I got the following errors:

remote: Compressing objects: 100% (129/129), done. remote: Total 217073 (delta 40), reused 86 (delta 17), pack-reused 216877 Receiving objects: 100% (217073/217073), 250.85 MiB | 2.17 MiB/s, done. Resolving deltas: 100% (101058/101058), done. fatal: reference is not a tree: e46d8b84a1cff8c668a3d8b40b222bae4709cd4c Cloning into 'forgerock-parent-lnk/opendj-sdk'... remote: Enumerating objects: 51, done. remote: Counting objects: 100% (51/51), done. remote: Compressing objects: 100% (40/40), done. remote: Total 233107 (delta 10), reused 30 (delta 2), pack-reused 233056 Receiving objects: 100% (233107/233107), 180.81 MiB | 2.36 MiB/s, done. Resolving deltas: 100% (153342/153342), done. Submodule path 'forgerock-parent-lnk/opendj-sdk': checked out '714763e8b0fb1197e4bb5bbc33bffe72882cae6f' Cloning into 'forgerock-parent-lnk/opendj-sdk-lnk/opendj-sdk-parent-lnk/opendj'... remote: Enumerating objects: 119, done. remote: Counting objects: 100% (119/119), done. remote: Compressing objects: 100% (86/86), done. remote: Total 290663 (delta 29), reused 68 (delta 16), pack-reused 290544 Receiving objects: 100% (290663/290663), 190.22 MiB | 2.04 MiB/s, done. Resolving deltas: 100% (186044/186044), done. Submodule path 'forgerock-parent-lnk/opendj-sdk-lnk/opendj-sdk-parent-lnk/opendj': checked out '701421a11a607f804bd498b51fd09f6dc6d8fd43' Unable to checkout 'e46d8b84a1cff8c668a3d8b40b222bae4709cd4c' in submodule path 'forgerock-parent-lnk/openam'

tsujiguchitky commented 4 years ago

While checking out your link, I got the following errors:

I'm sorry. It seems that the reference of the submodule has been deleted. I fixed it a while ago, so please try it again if you like.