Why is MULE Studio 3.4 Failure to use Maven to resume indefinitely

I am trying to use Maven (using Mule 3.4) to build or use Mule application and encounter the following problems. Similarly, when I update the dependencies, Eclipse will try to download com. When mulesoft.licm hangs indefinitely: licm:jar: 1.1.3

Failed to read artifact descriptor for com.mulesoft.licm:licm:jar:1.1 .3: 
Could not transfer artifact com.mulesoft.licm:licm:pom:1.1.3 from/to libs-releases
(http://dev.ee.mulesource.com/repository/content /repositories/libs-releases/):
Connection to http://dev.ee.mulesource.com refused: Connection timed out: connect
-> [Help 1] [ERROR]

This is my pom.xml:


xsi:schemaLocation="http:/ /maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

4.0.0
edu.ucdavis.edus-pub-service
edus-pub-service
mu le
1.0.0-SNAPSHOT


UTF-8
UTF-8

3.4.0
2.8
JavaSE-1.6
1.6
4.9





org.eclipse.m2e
lifecycle-mapping
1.0.0





org.mule.tools
mave n-mule-plugin
[1.6,)

attach-test-resources
filter-resources




< /action>









org.mul e.tools
maven-mule-plugin
1.9
true

true



org.apache. maven.plugins
maven-compiler-plugin
2.3.2

${jdk.version}
${jdk.version}
ISO-8859-1



maven-assembly-plugin
2.2.1


project



< plugin>
org.apache.maven.plugins
maven-eclipse-plugin
${eclipsePluginVersion}


true



org.codehaus.mojo
build-helper-maven-plugin
1.7


add-resource
generate-resources

add-resource
< /goals>



src/main/app/
< br />






org.codehaus.mojo
exec-maven-plugin
1.2.1
< br />

java




org.mule. MuleServer

-config
src/main/app/mule-config.xml

compile







< goals>
run











org.apache.maven. plugins
maven-surefire-report-plugin
2.4.2

< br />
org.apache.maven.plugins
maven-checkstyle-plugin
2.5 version>

http://mulesoft.org/download/attachments/92/checkstyle.xml?version=1
< br />


org.apache.maven.plugins
maven-pmd-plugin
2.5
< br /> ${jdk.version}



org.codehaus. mojo
cobertura-maven-plugin
2.5


org.codehaus.mojo
taglist-maven-plugin
2.4
< br />
TODO
@todo
FIXME
@fixme
@deprecated




org.apache .maven.plugins
maven-jxr-plugin
2.2


org.apache.maven.plugins
maven-javadoc-plugin
2.7

${jdk.version}

http://java.sun.com/j2ee/1.4/docs /api
http://java.sun.com/j2se/1.4.2/docs/api
http://java.sun .com/j2se/1.5.0/docs/api




org.codehaus.mojo
jdepend-maven-plugin< br /> 2.0-beta-2


org.codehaus.mojo
findbugs-maven-plugin
2.3.2










org.mongodb
mongo-java-driver
2.11.1


< br /> com.github.fge
json-schema-validator
2.0.1



com.googlecode.json-simple
json-simple
1.1


commons-dbcp
commons-dbcp
1.4



org.springframework.data
spring-data-mongodb< /artifactId>
1.2.1.RELEASE









org.mule
mule-core
< version>${mule.version}
provided



com.mulesoft.muleesb.modules
mule-module-boot-ee
${mule.version}
provided



com.mulesoft.muleesb
mule-core-ee
${mule.version}
provided





org.mule.modules
mule-module-spring-config
< version>${mule.version}
provided



com.mulesoft.muleesb.modules
mule-module-data-mapper
${mule.version}



com.mulesoft.muleesb.modules
mule -module-spring-config-ee
${mule.version}
provided
< br />


org.mule.transports
mule-transport-file< br /> ${mule.version}
provided


org.mule.transports
mule-transport-http
${mule.version}
provided


org.mule.transports
mule-transport-jdbc
${mule.version}
provided


< groupId>org.mule.transports
mule-transport-jms
${mul e.version}
provided


org.mule.transports
mule-transport-vm
${mule.version}
provided




org.mule.modules
mule-module-client
${mule.version}
provided


org.mule.modules
mule-module-cxf
${mule.version}< /version>
provided


org.mule.modules
mule-module-management
${mule.version}
provided
< br />
org.mule.modules
mule-module-scripting
${mule.version }
provided


org.mule.modules
mule-module-sxc
${mule.version}
provided


org.mule.modules
mule-module-xml
${mule .version}
provided




org.mule.tests
mule-tests-functional
${mule.version}
test


mockobjects
mockobjects- core
0.09
test


junit
junit
${junit.version}
test





jboss
JBoss
http://repository.jboss.com/


mu lesoft-releases
MuleSoft Releases
http://repository.mulesoft.org/releases/


oss-sonatype-snapshots
https://oss.sonatype.org/content/repositories/snapshots/


codehaus-snaphosts
Codehaus Snapshots
http://snapshots.repository.codehaus.org/


codehaus-releases
< name>CodeHaus Releases
http://repository.codehaus.org/


< pluginRepositories>

mulesoft-release
mulesoft release repository
default< br /> https://repository.mulesoft.org/releases/

false




Some MuleSoft POMs refer to their internal artifact repositories, which are not for public use. I believe it will be more responsible for them to use configuration files or use their own settings.xml to include this repository .

There are many ways to solve it. One solution is to mirror it to the public repository in ~/.settings.xml:



mule-ee-proxy
Hack to not use dev.ee.mulesource.com
https://repository.mulesoft.org/releases/
mule-ee-releases,mule-ee-snapshots,libs-releases,ext-releases

It’s not pretty, but it works.

< p>I am trying to use Maven (using Mule 3.4) to build or use Mule applications and encounter the following problems. Similarly, when I update the dependencies, Eclipse will hang indefinitely while trying to download com.mulesoft.licm: licm:jar: 1.1.3

Failed to read artifact descriptor for com.mulesoft.licm:licm:jar:1.1.3: 
Could not transfer artifact com.mulesoft.licm:licm:pom:1.1.3 from/to libs-releases
(http ://dev.ee.mulesource.com/repository/content/repositories/libs-releases/):
Connection to http://dev.ee.mulesource.com refused: Connection timed out: connect
-> [Help 1] [ERROR]

This is my pom.xml:


xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

4.0.0
edu.ucdavis.edus-pub-service
edus-pub-service
mule
1.0.0-SNAPSHOT


UTF-8
< project.reporting.outputEncoding>UTF-8

3.4.0
2.8
JavaSE-1.6
1.6
4.9




< br />

org.apache.maven.plugins
maven-install-plugin
2.3.1



org.eclipse.m2e
lifecycle-mapping
1.0.0





org.mule.tools
< artifactId>maven-mule-plugin
[1.6,)

attach-test-resources
filter-resources


< br />










org.mule.tools
maven-mule-plugin
1.9
true

true



org.apache .maven.plugins
maven-compiler-plugin
2.3.2

< source>${jdk.version}
${jdk.version}
ISO-8859-1
< /configuration>


maven-assembly-plugin
2.2.1


project




org.apache.maven.plugins
maven-eclipse-plugin< /artifactId>
${eclipsePluginVersion}


< downloadSources>true



org.codehaus.mojo
build-helper-maven-plugin
1.7


add-resource
generate-resources

add-resou rce




src/main/app/





< br />
org.codehaus.mojo
exec-maven-plugin
1.2.1



java




org.mule.MuleServer

-config
src/main/app/mule-config.xml

compile





org.apache.maven.plugins
maven-dependency-plugin
2.4


copy-clover-plugins
validate

copy


true
true
true
true

${project.build.testOutputDirectory}


com.cloveretl
cloveretl-engine
${mule.version}
zip







maven-antrun-plugin
1.7


compile







run











org.apache.maven.plugins
maven-surefire-report-plugin
2.4.2



org.apache.maven.plugins
maven-checkstyle-plugin
2.5

http://mulesoft.org/download/attachments/92/checkstyle.xml?version=1



org.apache.maven.plugins
maven-pmd-plugin
2.5

${jdk.version}



org.codehaus.mojo
cobertura-maven-plugin
2.5


org.codehaus.mojo
taglist-maven-plugin
2.4


TODO
@todo
FIXME
@fixme
@deprecated




org.apache.maven.plugins
maven-jxr-plugin
2.2


org.apache.maven.plugins
maven-javadoc-plugin
2.7

${jdk.version}

http://java.sun.com/j2ee/1.4/docs/api
http://java.sun.com/j2se/1.4.2/docs/api
http://java.sun.com/j2se/1.5.0/docs/api




org.codehaus.mojo
jdepend-maven-plugin
2.0-beta-2


org.codehaus.mojo
findbugs-maven-plugin
2.3.2










org.mongodb
mongo-java-driver
2.11.1



com.github.fge
json-schema-validator
2.0.1



com.googlecode.json-simple
json-simple
1.1


commons-dbcp
commons-dbcp
1.4



org.springframework.data
spring-data-mongodb
1.2.1.RELEASE









org.mule
mule-core
${mule.version}
provided



com.mulesoft.muleesb.modules
mule-module-boot-ee
${mule.version}
provided



com.mulesoft.muleesb
mule-core-ee
${mule.version}
provided





org.mule.modules
mule-module-spring-config
${mule.version}
provided



com.mulesoft.muleesb.modules
mule-module-data-mapper
${mule.version}



com.mulesoft.muleesb.modules
mule-module-spring-config-ee
${mule.version}
provided




org.mule.transports
mule-transport-file
${mule.version}
provided


org.mule.transports
mule-transport-http
${mule.version}
provided


org.mule.transports
mule-transport-jdbc
${mule.version}
provided


org.mule.transports
mule-transport-jms
${mule.version}
provided


org.mule.transports
mule-transport-vm
${mule.version}
provided




org.mule.modules
mule-module-client
${mule.version}
provided


org.mule.modules
mule-module-cxf
${mule.version}
provided


org.mule.modules
mule-module-management
${mule.version}
provided


org.mule.modules
mule-module-scripting
${mule.version}
provided


org.mule.modules
mule-module-sxc
${mule.version}
provided


org.mule.modules
mule-module-xml
${mule.version}
provided




org.mule.tests
mule-tests-functional
${mule.version}
test


mockobjects
mockobjects-core
0.09
test


junit
junit
${junit.version}
test





jboss
JBoss
http://repository.jboss.com/


mulesoft-releases
MuleSoft Releases
http://repository.mulesoft.org/releases/


oss-sonatype-snapshots
https://oss.sonatype.org/content/repositories/snapshots/


codehaus-snaphosts
Codehaus Snapshots
http://snapshots.repository.codehaus.org/


codehaus-releases
CodeHaus Releases
http://repository.codehaus.org/




mulesoft-release
mulesoft release repository
default
https://repository.mulesoft.org/releases/

false




一些MuleSoft POM引用了它们的内部工件存储库,这些存储库不是供公众使用的.我相信对他们使用配置文件或使用他们自己的settings.xml来包含这个存储库会更负责.

有很多方法可以解决它.一种解决方案是将其镜像到〜/ .settings.xml中的公共存储库:



mule-ee-proxy
Hack to not use dev.ee.mulesource.com
https://repository.mulesoft.org/releases/
mule-ee-releases,mule-ee-snapshots,libs-releases,ext-releases

它不漂亮,但它的工作原理.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1982 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.