Announcement Announcement Module
Collapse
No announcement yet.
Building Spring AMQP? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Building Spring AMQP?

    I cloned the git repository of Spring AMQP to see if building 1.0.0.RELEASE against Spring 3.1.0 would be feasible. However, I didn't get that far. Building the plain vanilla 1.0.0.RELEASE tag fails (log below). Should it be buildable with Maven 3 in the first place?

    Maven version info:
    mvn --version
    Apache Maven 3.0.3 (r1075438; 2011-02-28 19:31:09+0200)
    Maven home: /usr/share/maven
    Java version: 1.6.0_29, vendor: Apple Inc.
    Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    Default locale: en_US, platform encoding: MacRoman
    OS name: "mac os x", version: "10.7.2", arch: "x86_64", family: "mac"

    Build log:
    [INFO] Scanning for projects...
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.springframework.amqp:spring-amqp-parentom:1.0.0.RELEASE
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 484, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 447, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 458, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 496, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 473, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.springframework.amqp:spring-amqp:jar:1.0.0.RELEASE
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 484, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 447, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 458, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 496, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 473, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.springframework.amqp:spring-rabbit:jar:1.0.0.RELEASE
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 484, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 447, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 458, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 496, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 473, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.springframework.amqp:spring-erlang:jar:1.0.0.RELEASE
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 484, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 447, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 458, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 496, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ org.springframework.amqp:spring-amqp-parent:1.0.0.RELEASE, /xxx/work/checkouts/spring-amqp/spring-amqp-parent/pom.xml, line 473, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for org.springframework.amqp:spring-amqp-distom:1.0.0.XSPRING310
    [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING]
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] Spring AMQP Parent
    [INFO] Spring AMQP Core
    [INFO] Spring Erlang Support
    [INFO] Spring RabbitMQ Support
    [INFO] Spring AMQP Distribution
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Spring AMQP Parent 1.0.0.RELEASE
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ spring-amqp-parent ---
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Spring AMQP Core 1.0.0.RELEASE
    [INFO] ------------------------------------------------------------------------
    [WARNING] The POM for com.springsource.bundlor:com.springsource.bundlor. maven:jar:1.0.0.RELEASE is missing, no dependency information available
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Spring AMQP Parent ................................ SUCCESS [0.709s]
    [INFO] Spring AMQP Core .................................. FAILURE [0.007s]
    [INFO] Spring Erlang Support ............................. SKIPPED
    [INFO] Spring RabbitMQ Support ........................... SKIPPED
    [INFO] Spring AMQP Distribution .......................... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1.252s
    [INFO] Finished at: Mon Feb 13 23:06:02 EET 2012
    [INFO] Final Memory: 5M/81M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Plugin com.springsource.bundlor:com.springsource.bundlor. maven:1.0.0.RELEASE or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.springsource.bundlor:com.springsource.bundlor. maven:jar:1.0.0.RELEASE: Failure to find com.springsource.bundlor:com.springsource.bundlor. mavenom:1.0.0.RELEASE in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/d...utionException

  • #2
    Silly me, apparently there *are* build instructions in the repository itself. I tried to look for instructions on the website and found nothing. When doing mvn install -P bootstrap, things seem to work. However, README.md claims that -P bootstrap should be one-time thing. I tried mvn clean after the initial mvn install -P bootstrap, and got the same error as above.
    Last edited by tazle; Feb 13th, 2012, 03:31 PM.

    Comment

    Working...
    X