You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by GitBox <gi...@apache.org> on 2020/03/04 02:30:35 UTC

[GitHub] [submarine] Languomao opened a new issue #202: Failed to import project Maven dependency

Languomao opened a new issue #202: Failed to import project Maven dependency
URL: https://github.com/apache/submarine/issues/202
 
 
   When I introduced Maven dependencies for a project, the following error occurred:
   
   `[INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  08:56 min
   [INFO] Finished at: 2020-03-04T01:34:24Z
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal on project submarine-client: Could not resolve dependencies for project org.apache.submarine:submarine-client:jar:0.4.0-SNAPSHOT: Failed to collect dependencies at org.apache.submarine:commons-runtime:jar:0.4.0-SNAPSHOT: Failed to read artifact descriptor for org.apache.submarine:commons-runtime:jar:0.4.0-SNAPSHOT: Could not transfer artifact org.apache.submarine:commons-runtime:pom:0.4.0-SNAPSHOT from/to apache.snapshots (http://repository.apache.org/snapshots): Connect to repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out (Connection timed out) -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
   `
   
   How can we introduce the necessary dependency correctly? Or which online warehouse to use?
   Looking forward to your answer,Thanks a lot!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org


[GitHub] [submarine] liuxunorg commented on issue #202: Failed to import project Maven dependency

Posted by GitBox <gi...@apache.org>.
liuxunorg commented on issue #202: Failed to import project Maven dependency
URL: https://github.com/apache/submarine/issues/202#issuecomment-594296343
 
 
   hi @Languomao :-)
   You are welcome to use submarine, you can compile subamrine according to this document. https://github.com/apache/submarine/blob/master/docs/development/BuildFromCode.md
   
   I think this command should solve your problem: 
   ```
   mvn clean install package -DskipTests -Phadoop-2.9
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org


[GitHub] [submarine] liuxunorg edited a comment on issue #202: Failed to import project Maven dependency

Posted by GitBox <gi...@apache.org>.
liuxunorg edited a comment on issue #202: Failed to import project Maven dependency
URL: https://github.com/apache/submarine/issues/202#issuecomment-596185401
 
 
   `mvn install ...` will compile submarine locally and install it into your local mvn repository. Not downloaded from Apache's mvn repository.
   If you cannot compile by executing `mvn clean install package -DskipTests -Phadoop-2.9`, i think, it should be caused by network problems.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org


[GitHub] [submarine] jojochuang commented on issue #202: Failed to import project Maven dependency

Posted by GitBox <gi...@apache.org>.
jojochuang commented on issue #202: Failed to import project Maven dependency
URL: https://github.com/apache/submarine/issues/202#issuecomment-600061079
 
 
   Feel free to use users@submarine.apache.org too: https://submarine.apache.org/community/contributors.html

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [submarine] liuxunorg commented on issue #202: Failed to import project Maven dependency

Posted by GitBox <gi...@apache.org>.
liuxunorg commented on issue #202: Failed to import project Maven dependency
URL: https://github.com/apache/submarine/issues/202#issuecomment-596185401
 
 
   mvn install will compile submarine locally and install it into your local mvn repository. Not downloaded from Apache's mvn repository.
   If you cannot compile by executing `mvn clean install package -DskipTests -Phadoop-2.9`, i think, it should be caused by network problems.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org


[GitHub] [submarine] jojochuang commented on issue #202: Failed to import project Maven dependency

Posted by GitBox <gi...@apache.org>.
jojochuang commented on issue #202: Failed to import project Maven dependency
URL: https://github.com/apache/submarine/issues/202#issuecomment-608624933
 
 
   I have no problem downloading from repository.apache.org. Inclined to believe this is network issue. @Languomao let me know if there's still issue otherwise I'll close this issue.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [submarine] Languomao commented on issue #202: Failed to import project Maven dependency

Posted by GitBox <gi...@apache.org>.
Languomao commented on issue #202: Failed to import project Maven dependency
URL: https://github.com/apache/submarine/issues/202#issuecomment-596184185
 
 
   > hi @Languomao :-)
   > You are welcome to use submarine, you can compile subamrine according to this document. https://github.com/apache/submarine/blob/master/docs/development/BuildFromCode.md
   > 
   > I think this command should solve your problem:
   > 
   > ```
   > mvn clean install package -DskipTests -Phadoop-2.9
   > ```
   When I import dependency, it will prompt
   
   `Downloading from apache.snapshots: http://repository.apache.org/snapshots/org/apache/submarine/commons-runtime/0.4.0-SNAPSHOT/maven-metadata.xml`
   
   But the download failed, when I go to http://repository.apache.org/snapshots/org/apache/submarine/commons-runtime/0.4.0-snapshot/ to view this path, this path does not exist, and then I switch to http://repository.apache.org/snapshots/org/apache/submarine/commons-runtime/0.3.0-snapshot/ ,but under this path, the file maven-metadata.xml does not exist。
   Where can I find this file,thanks a lot。
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org