inovexcorp / mobi

Mobi is a decentralized, federated, and distributed graph data platform for teams and communities to publish and discover data, data models, and analytics that are instantly consumable.
https://mobi.inovexcorp.com
GNU Affero General Public License v3.0
45 stars 11 forks source link

Unable to build MatOnto from 'mvn clean install' #2

Closed rayaprolu143 closed 6 years ago

rayaprolu143 commented 6 years ago

[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:51 h [INFO] Finished at: 2017-09-23T01:58:56+05:30 [INFO] Final Memory: 34M/336M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:integration-test (integration-test) on project matonto-parent: Execution integration-test of goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:integration-test failed: Plugin org.apache.maven.plugins:maven-failsafe-plugin:2.18.1 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.surefire:surefire-api:jar:2.18.1 from/to matonto.hanover.releases (http://nexus.matonto.org/repository/matonto-public/): Connect to nexus.matonto.org:80 [nexus.matonto.org/50.246.88.26] failed: Connection timed out (Connection timed out) -> [Help 1]

Could anyone help me resolve the issue?

skahmann commented 6 years ago

In your error message it looks like maven is trying to retrieve surefire-api from the matonto nexus repository. The matonto nexus repository only has matonto artifacts so that will fail, but more importantly it was actually unable to connect to the repo in the first place. Are you able to resolve http://nexus.matonto.org/ in a browser?

rayaprolu143 commented 6 years ago

Yes, you are right, I am unable to resolve it in the browser.

skahmann commented 6 years ago

There may be an issue with the network configuration for our server or firewall. I'll look into this and let you know when it's fixed.

rayaprolu143 commented 6 years ago

Thank You.

skahmann commented 6 years ago

Thank you for your patience! We just cut the 1.9 release today which has some configuration updates to coincide with some infrastructure improvements. These changes should resolve your issue. Let me know if it helps.

rayaprolu143 commented 6 years ago

I downloaded the latest version and ran "mvn clean install" in the directory and following is the message popped up on the screen. Could you please tell me how to rectify it?

BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:11 h [INFO] Finished at: 2017-10-22T16:54:41+05:30 [INFO] Final Memory: 91M/837M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project web: Could not resolve dependencies for project com.mobi:web:bundle:1.9.44: Could not transfer artifact org.osgi:osgi.cmpn:jar:6.0.0 from/to central (https://repo.maven.apache.org/maven2): Connection timed out (Read failed) -> [Help 1]

skahmann commented 6 years ago

I don't think we've seen this issue before. It looks like it can't retrieve a jar from Maven Central. Can you download this directly? https://repo.maven.apache.org/maven2/org/osgi/osgi.cmpn/6.0.0/osgi.cmpn-6.0.0.jar

Can you attach the build log from the entire web module?

rayaprolu143 commented 6 years ago

I did not understand what you mean by "Can you attach the build log from the entire web module?". Could you elaborate on it?

skahmann commented 6 years ago

I'd like to see the console output from [INFO] Building com.mobi.web <version> down to this error so I can see all the output for this module in the project.

rayaprolu143 commented 6 years ago

The source is built successfully. I just ran the command again and again, it worked! But, it is asking me for login details?

skahmann commented 6 years ago

Login details for the webapp? Should be admin:admin. More information here: https://mobi.inovexcorp.com/docs/#installing_from_the_distribution

rayaprolu143 commented 6 years ago

Thanks a lot for patiently answering all my questions.