Menu

Unicenta oPOS 4.6.1: com.sleepycat.je dependency problem

Help
xserty
2023-02-05
2023-02-06
  • xserty

    xserty - 2023-02-05

    Hi,
    I'm trying to setup a dev environment and with the latest unicentaopos 4.6.1.
    I've correctly setup my Debian environment with Oracle JDK 1.8 and mysql 5.7.
    I've installed Netbeans and maven comes bundled with it. Set Netbeans' java platform to JDK 1.8.

    I've imported the project, but I can't get the project to successfully build. It complains about this com.sleepycat.je dependency.

    The strange thing is that the projects pom file refers to version 5.0.73, but the build logs refer to version7.0.6.
    Even if I comment the dependency in the pom.xml, I still get this fail:

    Failed to execute goal on project unicentaopos: Could not resolve dependencies for project com.unicenta:unicentaopos:jar:4.6.1:
    Failed to collect dependencies at org.jpos:jpos:jar:2.0.10 -> com.sleepycat:je:jar:7.0.6:
    Failed to read artifact descriptor for com.sleepycat:je:jar:7.0.6:
    Could not transfer artifact com.sleepycat:je:pom:7.0.6 from/to spring-repo (https://repo.spring.io/plugins-release/):
    authentication failed for https://repo.spring.io/plugins-release/com/sleepycat/je/7.0.6/je-7.0.6.pom,
    status: 401 Unauthorized
    

    From my pom.xml:

    <!-- https://mvnrepository.com/artifact/com.sleepycat/je -->
        <dependency>
          <groupId>com.sleepycat</groupId>
          <artifactId>je</artifactId>
          <version>5.0.73</version>
        </dependency>
    

    Any help would be greatly appreciated, thank you
    S

     

    Last edit: xserty 2023-02-05
  • xserty

    xserty - 2023-02-05

    Post removed

     

    Last edit: xserty 2023-02-05
  • xserty

    xserty - 2023-02-06

    Thank you mhel, the pom file in that post actually worked for me!

    S

     

Log in to post a comment.