bic-org-uk / bic-lcf

BIC Library Communication Framework
https://bic-org-uk.github.io/bic-lcf
Other
7 stars 4 forks source link

Failing to download lcf-schema:jar:1.2.0 from nexus. #287

Closed JglNut closed 1 year ago

JglNut commented 3 years ago

I'm trying to build the lcfserver (https://github.com/ceridwen-com/lcfserver) per the instructions. I'm getting the following error: [ERROR] Failed to execute goal on project lcfserver-model: Could not resolve dependencies for project com.ceridwen.lcf:lcfserver-model:jar:lcf_1.2.0_server_2.1: Could not find artifact org.bic.ns.lcf:lcf-schema:jar:1.2.0 in nexus (http://nexus/repository/public) -> [Help 1] [ I'm using JAVA 11 as the compiler source and target. That's the only change I made to the project so far. I'm using maven 3.8.1.

Thanks in advance

mdovey commented 3 years ago

I'll check that - however as a workaround try adding the following to the maven file to pull the required jar from my repository:

  <repositories>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>central</id>
      <name>libs-release</name>
      <url>https://artifactory.ceridwen.com/artifactory/libs-release</url>
    </repository>
    <repository>
      <snapshots />
      <id>snapshots</id>
      <name>libs-snapshot</name>
      <url>https://artifactory.ceridwen.com/artifactory/libs-snapshot</url>
    </repository>
  </repositories>
JglNut commented 3 years ago

Thanks for the input. I added the code to my pom which didn't help and later moved it to the settings file my .m2 directory. Neither made a difference.

However I was able to determine that this project is quite different from the way we are writing our other web services. I'm a bit perplexed as to why the generated sources are jarred and not generated at install time. My basic problem has been that I'm unable to get the maven jaxb2-maven-plug correctly configured to generate the files locally because of the xjb bindings. Do you have any suggestions for accomplishing that?

FYI I'm a senior software engineer at SirsDynix investigaing the feasibility of implementing LCF into our products in the near future.

Thank you, Brent Jensen

On 10/21/2021 2:41 AM Matthew J. Dovey ***@***.***> wrote:

I'll check that - however as a workaround try adding the following to the maven file to pull the required jar from my repository:

  <repositories>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>central</id>
      <name>libs-release</name>
      <url>https://artifactory.ceridwen.com/artifactory/libs-release</url>
    </repository>
    <repository>
      <snapshots />
      <id>snapshots</id>
      <name>libs-snapshot</name>
      <url>https://artifactory.ceridwen.com/artifactory/libs-snapshot</url>
    </repository>
  </repositories>

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/bic-org-uk/bic-lcf/issues/287#issuecomment-948389566 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIEGHZGID2ZC24B2DMBFNTUH7G3XANCNFSM5GKDYKJQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .
mdovey commented 1 year ago

Transfered issue to https://github.com/ceridwen-com/lcfserver/issues/6#issue-1595120815