Announcement Announcement Module
Collapse
No announcement yet.
Maven install on Jide-springrcp Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Maven install on Jide-springrcp

    Hi,

    I checked out jide-springrcp out of cvs repository at dev.java.net from Eclipse WTP. After that I runned in command prompt:
    • mvn eclipse:eclipse
    To make Eclipse .project/.classpath files and see de Jide-springrcp code visible in Eclipse projects.
    • mvn install
    To build the 3 modules and download all the necessary JARs to my maven repository
    However this fails, due to the "maestro-repository" (??), which has the following http address http://maestro/repository...

    Code:
    [INFO] Reactor build order: 
    [INFO]   JIDE Spring RCP Integration
    [INFO]   JIDE Spring RCP Binding/Binder Integration
    [INFO]   JIDE Spring RCP Component Integration
    [INFO]   JIDE Spring RCP Docking Integration
    [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from internal-maestro-repository
    [WARNING] repository metadata for: 'artifact org.apache.maven.wagon:wagon-webdav' could not be retrieved from repository: internal-maestro-repository due to an error: Error transferring file
    [INFO] Repository 'internal-maestro-repository' will be blacklisted
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building JIDE Spring RCP Integration
    [INFO]    task-segment: [install]
    [INFO] ----------------------------------------------------------------------------
    [INFO] [site:attach-descriptor]
    [INFO] [install:install]
    [INFO] Installing C:\workspace\OFA2\jide-springrcp\pom.xml to C:\workspace\.m2\repository\com\jidesoft\spring\richclient\jide-springrcp\0.2-SNAPSHOT\jide-springrcp-0.2-SNAPSHOT.pom
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building JIDE Spring RCP Binding/Binder Integration
    [INFO]    task-segment: [install]
    [INFO] ----------------------------------------------------------------------------
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    Downloading: http://maestro/repository/org/spring...ext-2.0-m5.pom
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Error building POM (may not be this project's POM).
    
    
    Project ID: org.springframework:spring-context
    
    Reason: Error getting POM for 'org.springframework:spring-context' from the repository: Error transferring file
      org.springframework:spring-context:pom:2.0-m5
    
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      internal-maestro-repository (http://maestro/repository)
    
    
    
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 53 seconds
    [INFO] Finished at: Sun Apr 29 16:13:00 CEST 2007
    [INFO] Final Memory: 6M/11M
    [INFO] ------------------------------------------------------------------------
    Anyone has a tip how I could fix this?

    Any help is appreciated!

    Theo

  • #2
    Maestro repo not needed

    I would comment out or remove the maestro <repository> section.
    That is likely the author's (Jonny Wray) internal company repository and you don't need it.

    -Trey

    Comment


    • #3
      Hi,

      yes, Trey is correct, that's a reference to our internal repository. You will need to replace it with a reference to an internal repository with the JIDE jars in them. They obviously aren't available at a public repository so this is the only solution.

      There's a vague mention of this in the readme.txt but I need to improve that. I should also change the pom to deal with this. Any Maven gurus with suggestions on the best way to deal with this?

      Jonny

      Comment


      • #4
        FYI,

        I changed the pom to use a property to refer to the internal repository that should hold the JIDE jars. I also documented this better in the readme file.

        I also cleaned up the pom a little, removing some sections and adding some reports I find useful.

        Jonny

        Comment

        Working...
        X