Skip to content

Not able to builld Silverpeas-Prod #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ossdev07 opened this issue Aug 20, 2018 · 5 comments
Open

Not able to builld Silverpeas-Prod #3

ossdev07 opened this issue Aug 20, 2018 · 5 comments

Comments

@ossdev07
Copy link

ossdev07 commented Aug 20, 2018

Issue: Tried to build Silverpeas-Prod module using docker file where it needs "jackrabbit-jca-2.14.4.rar" but could not find at search location "http://www.silverpeas.org/nexus/content/groups/silverpeas/org/apache/jackrabbit/jackrabbit-jca/2.14.4/"

Hence build is getting failed..

Build Failure Logs:

Build file '/opt/silverpeas/bin/build.gradle' line: 182

  • What went wrong:
    Execution failed for task ':assemble'.

Could not resolve all dependencies for configuration ':silverpeas'.
Could not determine artifacts for org.apache.jackrabbit:jackrabbit-jca:2.14.4
> Could not get resource 'http://www.silverpeas.org/nexus/content/groups/silverpeas/org/apache/jackrabbit/jackrabbit-jca/2.14.4/jackrabbit-jca-2.14.4.rar'.
> Could not HEAD 'http://www.silverpeas.org/nexus/content/groups/silverpeas/org/apache/jackrabbit/jackrabbit-jca/2.14.4/jackrabbit-jca-2.14.4.rar'.
> Connection reset

@mmoqui
Copy link
Member

mmoqui commented Aug 20, 2018

Hum ... Actually the artifact is here (you can click on the link to check). In fact, our server is currently being upgraded so disconnections are occurring during the process. Please wait for one hour to have the server fully operational.

@ossdev07
Copy link
Author

@mmoqui This is not because of the server issue actually It needs jackrabbit-jca-2.14.4.rar to build but in above mentioned location "http://www.silverpeas.org/nexus/content/groups/silverpeas/org/apache/jackrabbit/jackrabbit-jca/2.14.4/" there is only jackrabbit-jca-2.14.4.jar.

So can we make changes in pom.xml to genrate jackrabbit-jca-2.14.4.rar along jackrabbit-jca-2.14.4.jar.

@mmoqui
Copy link
Member

mmoqui commented Aug 20, 2018

In fact, the rar is available at this URI: https://www.silverpeas.org/nexus/content/groups/silverpeas/org/silverpeas/jcr/jackrabbit-jca/2.14.4/
Normally, it could be referred in the silverpeas-assembly project declared in the dependencies section of the file bin/silverpeas.gradle. Indeed, wen reading the pom.xml of silverpeas-assembly, org.silverpeas.jcr:jackrabbit-jca:2.14.4 is well declared with the type rar.

The rar was packaged for Silverpeas from the jackrabbit-jca.jar and from some specific Silverpeas artifacts

@ossdev07
Copy link
Author

@mmoqui It seems that the URI: https://www.silverpeas.org/nexus/content/groups/silverpeas/org/silverpeas/jcr/jackrabbit-jca/2.14.4/
is still down.

Below is the screenshot when i opened it yesterday ..

2018-08-20

@mmoqui
Copy link
Member

mmoqui commented Aug 21, 2018

Hi, we have had some problems with our web server that crashed unexpectedly. Normally, it is fixed and you should have access the link.

The screenshot gives a view on the org.apache.jackrabbit:jackrabbit-jca artifact that is a jar. What you should have is org:silverpeas.jcr:jackrabbit-jca artifact that is a rar (see the link that didn't work yesterday but that shouldn't be broken today). In fact, with the server down, we encounter similar problem that your while assembling Silverpeas (either by building a Docker image or by installing Silverpeas)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants