Customized Sample Filter : maven build error

This topic contains 2 replies, has 2 voices, and was last updated by  srinath.m 7 months, 2 weeks ago.

  • Author
    Posts
  • #23067
     srinath.m 
    Participant

    Hi All,
    We are planning to upgrade OpenIG 4.0 to OpenIG 4.5. We have written one custom filter for one of the requirement.
    As part of this process,I have updated maven dependency as below as per forgerock docs.

    <dependency>
          <groupId>org.forgerock.openig</groupId>
          <artifactId>openig-core</artifactId>
          <version>4.5.0</version>
        </dependency>

    https://backstage.forgerock.com/docs/openig/4.5/gateway-guide/#custom-sample-filter

    I am getting below error on maven install.

     Downloading: https://maven.forgerock.org:443/repo/private-releases/org/forgerock/openig/openig-core/4.5.0/openig-core-4.5.0.pom
    [INFO] Downloading: http://maven.forgerock.org/repo/releases/org/forgerock/openig/openig-core/4.5.0/openig-core-4.5.0.pom
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 5.907 s
    [INFO] Finished at: 2018-08-31T14:08:27+05:30
    [INFO] Final Memory: 9M/123M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project customOpenIGFiltersMine: Could not resolve dependencies for project OpenIGFiltersMine:customOpenIGFiltersMine:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.forgerock.openig:openig-core:jar:4.5.0: Failed to read artifact descriptor for org.forgerock.openig:openig-core:jar:4.5.0: Could not transfer artifact org.forgerock.openig:openig-core:pom:4.5.0 from/to forgerock-private-releases (https://maven.forgerock.org:443/repo/private-releases): Access denied to https://maven.forgerock.org:443/repo/private-releases/org/forgerock/openig/openig-core/4.5.0/openig-core-4.5.0.pom. Error code 401, Unauthorized -> [Help 1]

    But it works fine the below maven dependency

    <dependency>
    			<groupId>org.forgerock.openig</groupId>
    			<artifactId>openig-core</artifactId>
    			<version>4.0.0</version>
    		</dependency>

    Any help on this would be appreciated.
    Thanks,
    Srinath

    #23079
     violette 
    Participant

    Hello Srinath,

    OpenIG 4.0.0 was a public release. Since it, ForgeRock has moved its products in private repo.
    You will be able to download 4.5.0 artifacts if you have a customer account.
    https://backstage.forgerock.com/downloads/browse/ig/latest to further details.

    If you have an account and still unable to connect to the repo, you have to contact the support services.

    Cheers,

    #23087
     srinath.m 
    Participant

    Thanks for reply @violette.

    I will contact support services team to get openig 4.5.0 maven artifacts.

    Thanks,
    Srinath

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2019 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?