Why do Mule Studio 3.4 Builds with Maven Fail or Hangs Indefinitely?

I'm running into the following problem attempting to build or a Mule app using Maven (using Mule 3.4). Similarly when I update dependencies, Eclipse will hang indefinitely when 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]
9 people have
this problem
+1
Reply
  • Mariano Capurro (Director of Engineering) May 01, 2013 23:34
    Hi

    That artifact is not part of any of our public repositories. What is hanging is that the server http://dev.ee.mulesource.com is not reachable from the Internet.

    Seems to be a dependency problem as no artifact or project should have dependencies on that repo.

    Can you please share with us mvn dependency:tree command?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Thanks for the reply, Mariano. Here is the results of mvn dependency:tree:


    c:\git-ucd\edu-stream-esb-mule-local>mvn dependency:tree
    [INFO] Scanning for projects...
    Downloading: https://repository.mulesoft.org/releases/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.2.1.pom
    May 1, 2013 4:40:01 PM org.apache.maven.wagon.providers.http.httpclient.client.protocol.ResponseProcessCookies processCookies
    WARNING: Cookie rejected: "[version: 0][name: rememberMe][value: deleteMe][domain: repository.mulesoft.org][path: /nexus][expiry: Wed May 01 16:40:01 PDT 2013]". Illegal path attribute "/nexus". Path of origin: "/releases/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.2
    .1.pom"
    Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.2.1.pom
    Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.2.1.pom (17 KB at 206.6 KB/sec)
    Downloading: https://repository.mulesoft.org/releases/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.2.1.jar
    May 1, 2013 4:40:01 PM org.apache.maven.wagon.providers.http.httpclient.client.protocol.ResponseProcessCookies processCookies
    WARNING: Cookie rejected: "[version: 0][name: rememberMe][value: deleteMe][domain: repository.mulesoft.org][path: /nexus][expiry: Wed May 01 16:40:01 PDT 2013]". Illegal path attribute "/nexus". Path of origin: "/releases/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.2
    .1.jar"
    Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.2.1.jar
    Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.2.1.jar (216 KB at 1153.5 KB/sec)
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building edus-pub-service 1.0.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    Downloading: http://dev.ee.mulesource.com/repository/content/repositories/libs-releases/com/mulesoft/licm/licm/1.1.3/licm-1.1.3.pom
    Downloading: http://dev.ee.mulesource.com/repository/content/repositories/ext-releases/com/mulesoft/licm/licm/1.1.3/licm-1.1.3.pom
    Downloading: http://dev.ee.mulesource.com/repository/content/repositories/snapshots/com/mulesoft/licm/licm/1.1.3/licm-1.1.3.pom
    Downloading: http://dev.ee.mulesource.com/repository/content/repositories/releases/com/mulesoft/licm/licm/1.1.3/licm-1.1.3.pom
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1:30.735s
    [INFO] Finished at: Wed May 01 16:41:29 PDT 2013
    [INFO] Final Memory: 13M/221M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project edus-pub-service: Could not resolve dependencies for project edu.ucdavis.edus-pub-service:edus-pub-service:mule:1.0.0-SNAPSHOT: Failed to collect dependencies for [org.mongodb:mongo-java-driver:jar:2.11.1 (compile), com.github.fge:json-schema-validator:jar:2
    .0.1 (compile), com.googlecode.json-simple:json-simple:jar:1.1 (compile), commons-dbcp:commons-dbcp:jar:1.4 (compile), org.springframework.data:spring-data-mongodb:jar:1.2.1.RELEASE (compile), org.mule:mule-core:jar:3.4.0 (provided), com.mulesoft.muleesb.modules:mule-module-boot-ee:jar:3.4.0 (provid
    ed), org.mule.modules:mule-module-spring-config:jar:3.4.0 (provided), com.mulesoft.muleesb:mule-core-ee:jar:3.4.0 (provided), com.mulesoft.muleesb.modules:mule-module-data-mapper:jar:3.4.0 (compile), com.mulesoft.muleesb.modules:mule-module-spring-config-ee:jar:3.4.0 (provided), org.mule.transports:
    mule-transport-file:jar:3.4.0 (provided), org.mule.transports:mule-transport-http:jar:3.4.0 (provided), org.mule.transports:mule-transport-jdbc:jar:3.4.0 (provided), org.mule.transports:mule-transport-jms:jar:3.4.0 (provided), org.mule.transports:mule-transport-vm:jar:3.4.0 (provided), org.mule.modu
    les:mule-module-client:jar:3.4.0 (provided), org.mule.modules:mule-module-cxf:jar:3.4.0 (provided), org.mule.modules:mule-module-management:jar:3.4.0 (provided), org.mule.modules:mule-module-scripting:jar:3.4.0 (provided), org.mule.modules:mule-module-sxc:jar:3.4.0 (provided), org.mule.modules:mule-
    module-xml:jar:3.4.0 (provided), org.mule.tests:mule-tests-functional:jar:3.4.0 (test), mockobjects:mockobjects-core:jar:0.09 (test), junit:junit:jar:4.9 (test)]: 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 fro
    m/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]
    [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
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I'm another Mule fresher and I'm trying to do some test automation from terminal. So I installed the m2eclipse plugin to populate the pom when you are creating a Mule Application from Mule Studio 3.4.0.
    I configure the plugin to use a new maven instance instead of using the embedded one. And when I have the pom.xml: Pom.xml

    One of the workaround I found is changing your settings.xml with the following:

    <mirrors>
    <mirror>
    <id>mule-ee-proxy</id>
    <name>Hack to not use dev.ee.mulesource.com</name>
    <url>https://repository.mulesoft.org/releases/</url>
    <mirrorOf>mule-ee-releases,mule-ee-snapshots,libs-releases,ext-releases</mirrorOf>
    </mirror>
    </mirrors>


    I'm still trying to build the project and it seems the problem is still with licm library which is a dependency of mule-module-boot-ee and mule-core-ee. Are those libraries strictly needed? How can I achieve building the mule app from maven?

    Cheers
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hi Gary. Out of the box, Studio does not provide any references to dev.ee.mulesource.com repositories (I mean, it does not add it to the pom, nor it looks for artifacts there or anything like that). Indeed, as Mariano says, dev.ee.mulesource.com is not reachable.

    I'd start looking this way: first, check if, by some reason, your pom has references to dev.ee, if so, delete them. Then, check in your settings.xml file. It's got to be somewhere :P

    That's one part of the problem, then for the licm dependency issue, you can try just leaving the mule-core dependency... the pom.xml Studio generates comes with a lot of dependencies "just in case" (you can leave the transports and modules). Try deleting boot-ee and core-ee, most probably your app does not need it.

    (in the case that you *absolutetly* need it, you will have to run the populate_m2_repo.groovy script in your standalone EE mule)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hi Alejo. Thank you for your reply.
    I removed the sections you suggested and I can run from maven with no dependency problem. However, I'm still getting errors and it seems the problem are the tests.
    I have some functionalTests testing flows. If I execute them in Mule Studio it works right but if I execute using "mvn clean install" it fails with an error about Invalid content was found starting with element 'jdbc-ee:connector' the following message: Message in PasteBin
    How can I fix that?
    Cheers
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I'm afraid that you need to add the jdbc-ee dependency to your pom file (here). The "I'm afraid that" is there because transitively that artifact depends on the licm artifact, so that would fall into the "*absolutely* need" clause of my last post.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I've removed the boot-ee and core-ee references. Now when I attempt to build the project, it hangs indefinitely on the following step.


    Downloading: https://repository.mulesoft.org/releases/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hi Chaps,

    Now we have manually installed the licm artifact to our local maven repo and the mule maven build works correctly.

    Now our tests are failing, initially they were failing due to an incorrectly url for the xsi:schemaLocation attribute. The ones that mule auto generated were of the form http://www.mulesoft.org/schema/mule/e...current/mule-tracking-ee.xsd where they should have been of the form http://www.mulesoft.org/schema/mule/e...3.3/mule-tracking-ee.xsd.

    So we changed the urls to use the versioned url and not the url with "current" in it and this worked correctly.

    Now we have another issue running our tests which is the following:


    iGetTheMessageFromDbAndSaveItInTheSession(REDACTED.FlowTest) Time elapsed: 2.921 sec <<< ERROR!
    org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/home/extreme/MuleStudio/workspace/spell_checker/src/main/app/SpellChecker.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.transport.jdbc.config.EEJdbcNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/CipherParam (org.mule.api.lifecycle.InitialisationException)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)


    We were thinking that this might be an issue related to the licencing subsystem but this might be a red herring, so don't get hung up on it. Can any one suggests a work around for this or know what it is?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hi Edward. Thanks for following up this topic and providing all these details, it is of great help.

    Regarding the current vs 3.3 issue, just a question, did you need to change only the tracking-ee namespace, or it was just an example and you had to change all of them?

    And with the other problem, the NoClassDef, i'm afraid that this is related to some missing transitive deps of the licm artifact. I'd suggest that you run the populate_m2_repo.groovy script of an enterprise standalone mule server (since probably this will be easier than tracking the dependencies of the licm artifact and installing them manually).
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I still have not been able to resolve this issue, or get any clear answers as to why Mule builds with maven are unable to reach

    https://repository.mulesoft.org/releases/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml

    Is the option suggested to others above also applicable in my situation: run the populate_m2_repo.groovy script?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Mariano Capurro (Director of Engineering) May 10, 2013 01:43
    Hi Gary

    That particular file is working for me. If you reach that file from a browser, does it work? I don't think that the populate_m2_repo.groovy will help here.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hi Gary, this is a known issue, Windows-specific, but we don't have an answer to it yet. We are tracking this here http://www.mulesoft.org/jira/browse/S....

    As a workaround, you can open a terminal in the project root and run the task you are attempting from there. From what we have investigated so far, once it works from the commandline it wouldn't hang in Studio anymore.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Mariano Capurro (Director of Engineering) May 11, 2013 19:29
    There will be an update site going out soon that fixes this problem (that was affecting Windows users running Maven inside Studio)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I have a similar issue. I downloaded Mule Studio recently. Created a new Mule Project with Maven support. It fails to download the artifacts.

    It will not work even from the command line. I am running OS X not Windows.

    This has stopped me dead in my tracks. I cannot build any Mule project with Maven.

    We have our own Nexus Proxy server in which I've added the following proxies:

    http://repository.mulesoft.org/releases/
    http://dist.codehaus.org/mule/depende...

    [ERROR] Failed to execute goal on project Blah: Could not resolve dependencies for project Blah: The following artifacts could not be resolved: com.mulesoft.muleesb.modules:mule-module-boot-ee:jar:3.4.0, com.mulesoft.muleesb:mule-core-ee:jar:3.4.0, com.mulesoft.muleesb.modules:mule-module-data-mapper:jar:3.4.0, com.mulesoft.muleesb.modules:mule-module-spring-config-ee:jar:3.4.0: Could not find artifact com.mulesoft.muleesb.modules:mule-module-boot-ee:jar:3.4.0
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hi Andrew.

    If you have the latest Studio version, you should be able to right click on the project and, under Maven Support in Studio, run Populate Maven Repository. This should install those jars you are not being able to download.

    This is the Studio way of achieving what the populate_repo script does. This is available if you updated studio (and the ESB runtime) to the latest version (Help -> Check for Updates).
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Ah great. I already manually uploaded all the artifacts myself. It's good to know that Mule Studio includes this feature.

    I am curious why these artifacts dont exist in the Mule public repository. Is this because of the EULA required when downloading Mule Studio and the accompanying artifacts?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I just installed Studio for the first time and am having the same problem (on Windows). I tried 'Populate Maven Repository' but that did not help. Can someone please clarify whether there is any viable workaround to get Studio to run on Windows? Or is the only option to wait until an update patch is released? A couple of people mentioned manually installing the artifacts, but I didn't see any link to where the licm-1.1.3.pom could be downloaded from.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Jon,

    You can manually install the artifacts into your local .m2 directory with mvn install command line. Or if you are using a proxy like nexus you can upload them into that. All the artifacts are in the standalone Mule ESB EE download.

    I cannot get my Mule Studio 'Populate Maven Repository' to work either. But what I suggested did work.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I am using the community rather than EE edition, and I was unable to find the licm-1.1.3 file. However, I was finally able to work around the issue by excluding this artifact from the mule dependencies, for example:


    <dependency>
    <groupId>org.mule</groupId>
    <artifactId>mule-core</artifactId>
    <version>${mule.version}</version>
    <scope>provided</scope>
    <exclusions>
    <exclusion>
    <groupId>com.mulesoft.licm</groupId>
    <artifactId>licm</artifactId>
    </exclusion>
    </exclusions>
    </dependency>


    I did this for nearly all mule dependencies; probably overkill but easier than trial and error to determine exactly which dependencies had it linked as a transitive dependency. So now I at least have a working hello world using maven and studio; now I can move on to trying to convert my older mule maven projects into Studio to see if I can get them to run.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hello everyone,

    I'm trying to build my Mule project with Maven from command line and I'm getting errors, if I didn't populate my local repository through Mule Studio. I tried Andrews tip calling mvn install in my project, but I still get errors during the execution (see below). Does this mean that if I want to build a Mule project from command line only, I have to manually install all dependencies which are available from the Mule standalone zip?

    Thanks in advance
    Thomas

    PS: I get the following errors (I removed the mule ee dependencies before calling mvn install...)

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • This question is marked as solved, but I'm still not clear on what the actual solution is... I'm still running into the following, and none of the above solutions appear to work.

    [ERROR] Failed to execute goal on project edus-warnme-alerts: Could not resolve dependencies for project edu.ucdavis.iet.edus:edus-warnme-alerts:mule:1.0.0-SNAPSHOT: Failed to collect dependencies for [org.mule:mule-core:jar:3.4.0 (provided), com.mulesoft.muleesb.modules:mule-module-boot-ee:jar:3.4.0 (provided), org.mule.modules:mule-module-spring-config:jar:3.4.0 (provided), com.mulesoft.muleesb:mule-core-ee:jar:3.4.0 (provided), com.mulesoft.muleesb.modules:mule-module-data-mapper:jar:3.4.0 (compile), com.mulesoft.muleesb.modules:mule-module-spring-config-ee:jar:3.4.0 (provided), org.mule.transports:mule-transport-file:jar:3.4.0 (provided), org.mule.transports:mule-transport-http:jar:3.4.0 (provided), org.mule.transports:mule-transport-jdbc:jar:3.4.0 (provided), org.mule.transports:mule-transport-jms:jar:3.4.0 (provided), org.mule.transports:mule-transport-vm:jar:3.4.0 (provided), org.mule.modules:mule-module-client:jar:3.4.0 (provided), org.mule.modules:mule-module-cxf:jar:3.4.0 (provided), org.mule.modules:mule-module-management:jar:3.4.0 (provided), org.mule.modules:mule-module-scripting:jar:3.4.0 (provided), org.mule.modules:mule-module-sxc:jar:3.4.0 (provided), org.mule.modules:mule-module-xml:jar:3.4.0 (provided), org.mule.tests:mule-tests-functional:jar:3.4.0 (test), mockobjects:mockobjects-core:jar:0.09 (test), junit:junit:jar:4.9 (test), com.cloveretl:cloveretl-engine:jar:3.4.0 (test), org.mule.transports:mule-transport-email:jar:3.4.0 (provided)]: 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/reposito...): Connection to http://dev.ee.mulesource.com refused: Connection timed out: connect -> [Help 1]
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hello,

    in my case i had to comment out the following in the pom.xml :



    <dependency>
    <groupId>com.mulesoft.muleesb.modules</groupId>
    <artifactId>mule-module-boot-ee</artifactId>
    <version>${mule.version}</version>
    <scope>provided</scope>
    </dependency>

    <dependency>
    <groupId>com.mulesoft.muleesb</groupId>
    <artifactId>mule-core-ee</artifactId>
    <version>${mule.version}</version>
    <scope>provided</scope>
    </dependency>

    <dependency>
    <groupId>com.mulesoft.muleesb.modules</groupId>
    <artifactId>mule-module-spring-config-ee</artifactId>
    <version>${mule.version}</version>
    <scope>provided</scope>
    </dependency>

    <dependency>
    <groupId>com.cloveretl</groupId>
    <artifactId>cloveretl-engine</artifactId>
    <version>${mule.version}</version>
    <scope>test</scope>
    </dependency>



    HIH,
    Cheers
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • In addition to the dependencies noted by Davide, I had to comment out the cloveretl plugin in my Mule project's pom.xml. Note, this was on Mule Studio 3.5 (using the CE runtime 3.4):


    <!--Install clover-plugins -->
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-dependency-plugin</artifactId>
    <version>2.4</version>
    <executions>
    <execution>
    <id>copy-clover-plugins</id>
    <phase>validate</phase>
    <goals>
    <goal>copy</goal>
    </goals>
    <configuration>
    <overWriteReleases>true</overWriteReleases>
    <overWriteSnapshots>true</overWriteSnapshots>
    <overWriteIfNewer>true</overWriteIfNewer>
    <stripVersion>true</stripVersion>
    <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
    <artifactItems>
    <artifactItem>
    <groupId>com.cloveretl</groupId>
    <artifactId>cloveretl-engine</artifactId>
    <version>${mule.version}</version>
    <type>zip</type>
    </artifactItem>
    </artifactItems>
    </configuration>
    </execution>
    </executions>
    </plugin>
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I just started trying to create maven projects in MuleStudio. I able to get around this problem with commenting out the previously mentioned dependencies. Why are these included by default and why are they failing to download?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Linux.. Mule 3.4 CE

    Hi i have a flow in MuleStudio... it works perfectly. But now i must compile it using maven. Using this guide http://www.mulesoft.org/documentation... i cant move forward...

    it generates this pom.xml

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>subsidy</groupId>
    <artifactId>subsidy</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <build>
    <plugins>
    <plugin>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.1</version>
    <configuration>
    <source>1.7</source>
    <target>1.7</target>
    </configuration>
    </plugin>

    </plugins>
    </build>
    </project>


    Generating a new MuleProyect... does not work... it creates a huge pom.xml... which is unable to resolve, because it has no access to a single remote repositories....

    What do i do?? where can i find this artifacts?? and where do i find a pom.xml example...

    thanks
    • update...
      when populating with mule studio or creating a new mule maven proyect...


      ...
      [INFO] Unable to find resource 'com.ibm.icu:icu4j-normalizer_transliterator:pom:4.8.1.1' in repository oss-sonatype-snapshots (http://oss.sonatype.org/content/repositories/snapshots/)
      Downloading: http://snapshots.repository.codehaus.org//com/ibm/icu/icu4j-normalizer_transliterator/4.8.1.1/icu4j-normalizer_transliterator-4.8.1.1.pom
      [INFO] Unable to find resource 'com.ibm.icu:icu4j-normalizer_transliterator:pom:4.8.1.1' in repository codehaus-snaphosts (http://snapshots.repository.codehaus.org/)
      Downloading: http://repository.codehaus.org//com/ibm/icu/icu4j-normalizer_transliterator/4.8.1.1/icu4j-normalizer_transliterator-4.8.1.1.pom
      [INFO] Unable to find resource 'com.ibm.icu:icu4j-normalizer_transliterator:pom:4.8.1.1' in repository codehaus-releases (http://repository.codehaus.org/)
      Downloading: http://repository.mulesoft.org/releases//com/ibm/icu/icu4j-normalizer_transliterator/4.8.1.1/icu4j-normalizer_transliterator-4.8.1.1.pom
      [INFO] Unable to find resource 'com.ibm.icu:icu4j-normalizer_transliterator:pom:4.8.1.1' in repository muleforge-releases (http://repository.mulesoft.org/releases/)
      Downloading: http://repository.mulesoft.org/snapshots//com/ibm/icu/icu4j-normalizer_transliterator/4.8.1.1/icu4j-normalizer_transliterator-4.8.1.1.pom
      ...


      And.... converting to maven... creates little pom wich generates this error:


      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Unnamed - subsidy:subsidy:jar:0.0.1-SNAPSHOT
      [INFO] task-segment: [org.mule.tools:studio-maven-plugin:3.4.0:studio]
      [INFO] ------------------------------------------------------------------------
      [INFO] Preparing studio:studio
      [INFO] No goals needed for project - skipping
      [INFO] [studio:studio {execution: default-cli}]
      [INFO] Using source status cache: /home/dvaldivieso/MuleStudio/workspace/subsidy/target/mvn-eclipse-cache.properties
      [INFO] Using exclusions definition for Mule ESB Server version 3.4.0
      [INFO] Using as WTP server : null
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] null
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.NullPointerException
      at org.apache.maven.plugin.eclipse.writers.EclipseClasspathWriter.write(EclipseClasspathWriter.java:349)
      at org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(EclipsePlugin.java:952)
      at org.mule.tools.tooling.maven.StudioMojo.writeConfiguration(StudioMojo.java:207)
      at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:494)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1 second
      [INFO] Finished at: Thu Sep 26 10:52:36 COT 2013
      [INFO] Final Memory: 14M/160M
      [INFO] ------------------------------------------------------------------------
      [WARNING] Unable to get resource 'net.sourceforge.jexcelapi:jxl:jar:2.6.10' from repository muleee.releases (http://dev.ee.mulesource.com/repository/content/repositories/releases/): Error transferring file: Connection timed out
      Downloading: http://dev.ee.mulesource.com/repository/content/repositories/snapshots//net/sourceforge/jexcelapi/jxl/2.6.10/jxl-2.6.10.jar

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated


  • [WARNING] Unable to get resource 'org.mule.tools:maven-mule-plugin:pom:1.9' from repository central (http://repo1.maven.org/maven2): Error transferring file: Connection timed out: connect
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Error building POM (may not be this project's POM).

    Project ID: org.mule.tools:maven-mule-plugin

    Reason: POM 'org.mule.tools:maven-mule-plugin' not found in repository: Unable to download the artifact from any repository

    org.mule.tools:maven-mule-plugin:pom:1.9

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2),
    Central (http://repo1.maven.org/maven2/),
    mulesoft-release (http://repository.mulesoft.org/releases/),
    mulesoft-snapshots (http://repository.mulesoft.org/snapshots/),
    mulesoft-releases (http://repository.mulesoft.org/releases/)

    for project org.mule.tools:maven-mule-plugin
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated