Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Try Roo Example Error

  1. #11
    Join Date
    Jun 2010
    Posts
    440

    Default

    It is funny, 10+ posts to find that was a mistaken commented line...

    Thank you for the laugh. I believe I can happen to anybody

    jD

    Note: I'll try on my wintel tonight

  2. #12
    Join Date
    Jul 2008
    Location
    Queensland, Australia
    Posts
    3

    Default Missing dependency for GWT

    Everything now works on my OS X box. However, GWT compilation on my Windows system is still broken. Thoughts?
    I needed to add the following dependency to the POM.xml to get it working.

    Code:
    		<dependency>
    			<groupId>com.google.appengine</groupId>
    			<artifactId>appengine-api-1.0-sdk</artifactId>
    			<version>1.2.1</version>
    		</dependency>
    Last edited by sweetfa; Feb 28th, 2011 at 09:40 PM. Reason: Add code tags

  3. #13
    Join Date
    Dec 2010
    Posts
    175

    Unhappy

    I get the following error when running "perform test"
    Code:
    [Thread-7] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse
    -plugin:2.7:clean (default-cli) on project tenminutes: Execution default-cli of
    goal org.apache.maven.plugins:maven-eclipse-plugin:2.7:clean failed: Plugin org.
    apache.maven.plugins:maven-eclipse-plugin:2.7 or one of its dependencies could n
    ot be resolved: Failed to collect dependencies for org.apache.maven.plugins:mave
    n-eclipse-plugin:jar:2.7 (): Failed to read artifact descriptor for org.codehaus
    .plexus:plexus-resources:jar:1.0-alpha-4: Could not transfer artifact org.codeha
    us.plexus:plexus-resources:pom:1.0-alpha-4 from/to spring-maven-release (http://
    maven.springframework.org/release): Access denied to: http://maven.springframewo
    rk.org/release/org/codehaus/plexus/plexus-resources/1.0-alpha-4/plexus-resources
    -1.0-alpha-4.pom -> [Help 1]
    [Thread-7] [ERROR]
    [Thread-7] [ERROR] To see the full stack trace of the errors, re-run Maven with
    the -e switch.
    [Thread-7] [ERROR] Re-run Maven using the -X switch to enable full debug logging
    .
    [Thread-7] [ERROR]
    [Thread-7] [ERROR] For more information about the errors and possible solutions,
     please read the following articles:
    [Thread-7] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/Plu
    ginResolutionException
    The command 'mvn.bat eclipse:clean eclipse:eclipse' did not complete successfull
    y
    roo>
    Following the first link in the error log i.e. http://cwiki.apache.org/confluence/d...utionException, what I find on this page corresponds to the access-denied error that I'm getting see below:

    Code:
    The plugin repository you have configured requires authentication and Maven failed to provide the correct credentials to the server. In this case, make sure your ${user.home}/.m2/settings.xml contains a <server> declaration whose <id> matches the <id> of the plugin repository to use.
    Why would this repository require authentication and if that was the case why this information is not included in the pom.xml generated by roo?

  4. #14
    Join Date
    Dec 2010
    Posts
    175

    Unhappy

    I've also verified that my proxy configuration are specified as they should be! But, still error remains the same
    Code:
    [Thread-16] [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or
    one of its dependencies could not be resolved: Failed to read artifact descripto
    r for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer
    artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to spring-ma
    ven-release (http://maven.springframework.org/release): Access denied to: http:/
    /maven.springframework.org/release/org/apache/maven/plugins/maven-clean-plugin/2
    .4.1/maven-clean-plugin-2.4.1.pom -> [Help 1]

  5. #15
    Join Date
    Dec 2010
    Posts
    175

    Smile

    Never mind. It has nothing to do with spring repo or anything like that.

    I was able to download dependencies but not to mention getting dependencies from Spring repositories is very slow as compared with other maven repo's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •