CMDBuild Forum

Couldn't build cmdbuild-3.1 because http://maven.tecnoteca.com/all not available

Hello,

 

I try to build cmdbuild from source (https://bitbucket.org/tecnoteca/cmdbuild/src/master/) and on 72 step got error 

[INFO] ----------------------< org.cmdbuild:cmdbuild-ui >----------------------

[INFO] Building cmdbuild-ui 3.0-SNAPSHOT                                [72/73]

[INFO] --------------------------------[ war ]---------------------------------

Downloading from maven.tecnoteca.com: http://maven.tecnoteca.com/all/com/tecnoteca/sencha-maven-plugin/1.0-SNAPSHOT/maven-metadata.xml

[WARNING] Could not transfer metadata com.tecnoteca:sencha-maven-plugin:1.0-SNAPSHOT/maven-metadata.xml from/to maven.tecnoteca.com (http://maven.tecnoteca.com/all): maven.tecnoteca.com: Name or service not known

[WARNING] Failure to transfer com.tecnoteca:sencha-maven-plugin:1.0-SNAPSHOT/maven-metadata.xml from http://maven.tecnoteca.com/all was cached in the local repository, resolution will not be reattempted until the update interval of maven.tecnoteca.com has elapsed or updates are forced. Original error: Could not transfer metadata com.tecnoteca:sencha-maven-plugin:1.0-SNAPSHOT/maven-metadata.xml from/to maven.tecnoteca.com (http://maven.tecnoteca.com/all): maven.tecnoteca.com: Name or service not known

Downloading from maven.tecnoteca.com: http://maven.tecnoteca.com/all/com/tecnoteca/sencha-maven-plugin/1.0-SNAPSHOT/sencha-maven-plugin-1.0-SNAPSHOT.pom


it became cause of "Build failure"


[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  01:36 min

[INFO] Finished at: 2019-07-19T19:28:25+03:00

[INFO] ------------------------------------------------------------------------

[ERROR] Plugin com.tecnoteca:sencha-maven-plugin:1.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.tecnoteca:sencha-maven-plugin:jar:1.0-SNAPSHOT: Could not transfer artifact com.tecnoteca:sencha-maven-plugin:pom:1.0-SNAPSHOT from/to maven.tecnoteca.com (http://maven.tecnoteca.com/all): maven.tecnoteca.com: Unknown host maven.tecnoteca.com -> [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/PluginResolutionException

 

Please help to resolve this.

Previously Dmitriy wrote:

Hello,

 

I try to build cmdbuild from source (https://bitbucket.org/tecnoteca/cmdbuild/src/master/) and on 72 step got error 

[INFO] ----------------------< org.cmdbuild:cmdbuild-ui >----------------------

[INFO] Building cmdbuild-ui 3.0-SNAPSHOT                                [72/73]

[INFO] --------------------------------[ war ]---------------------------------

Downloading from maven.tecnoteca.com: http://maven.tecnoteca.com/all/com/tecnoteca/sencha-maven-plugin/1.0-SNAPSHOT/maven-metadata.xml

[WARNING] Could not transfer metadata com.tecnoteca:sencha-maven-plugin:1.0-SNAPSHOT/maven-metadata.xml from/to maven.tecnoteca.com (http://maven.tecnoteca.com/all): maven.tecnoteca.com: Name or service not known

[WARNING] Failure to transfer com.tecnoteca:sencha-maven-plugin:1.0-SNAPSHOT/maven-metadata.xml from http://maven.tecnoteca.com/all was cached in the local repository, resolution will not be reattempted until the update interval of maven.tecnoteca.com has elapsed or updates are forced. Original error: Could not transfer metadata com.tecnoteca:sencha-maven-plugin:1.0-SNAPSHOT/maven-metadata.xml from/to maven.tecnoteca.com (http://maven.tecnoteca.com/all): maven.tecnoteca.com: Name or service not known

Downloading from maven.tecnoteca.com: http://maven.tecnoteca.com/all/com/tecnoteca/sencha-maven-plugin/1.0-SNAPSHOT/sencha-maven-plugin-1.0-SNAPSHOT.pom


it became cause of "Build failure"


[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  01:36 min

[INFO] Finished at: 2019-07-19T19:28:25+03:00

[INFO] ------------------------------------------------------------------------

[ERROR] Plugin com.tecnoteca:sencha-maven-plugin:1.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.tecnoteca:sencha-maven-plugin:jar:1.0-SNAPSHOT: Could not transfer artifact com.tecnoteca:sencha-maven-plugin:pom:1.0-SNAPSHOT from/to maven.tecnoteca.com (http://maven.tecnoteca.com/all): maven.tecnoteca.com: Unknown host maven.tecnoteca.com -> [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/PluginResolutionException

 

Please help to resolve this.

 

----------------------------------------------------
I think it caused by missing to include  utils/sencha-maven-plugin module in the root pox.xml. Just added the following to the root pox.xml:
<module>utils/sencha-maven-plugin</module>
 
But I pretty sure you will encounter other errors once you pass this one. :)