Cannot build Confluence 2.7.1/2.7.2 from source - Compilation failure on atlassian-mail

XMLWordPrintable

    • Type: Bug
    • Resolution: Resolved Locally
    • Priority: Low
    • None
    • Affects Version/s: 2.7.1, 2.7.2
    • Component/s: None
    • Environment:

      Red Hat Enterprise Linux 5.1 on i686
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
      Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)

      $ export JAVA_HOME=/usr/java/jdk1.5.0_14
      $ export PATH=$JAVA_HOME/bin:$PATH
      
      $ md5sum confluence-2.7.1-source.zip
      b136f7c01bd16387465ba6c4f493c560  confluence-2.7.1-source.zip
      $ unzip confluence-2.7.1-source.zip
      $ cd confluence-2.7.1-source/
      $ ./build.sh
      [...]
      Downloading: http://repository.atlassian.com/javax.transaction/jars/jta-1.0.1b.jar
      Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1b/jta-1.0.1b.jar
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.
      
      Missing:
      ----------
      1) javax.mail:mail:jar:1.3.2
      
        Try downloading the file manually from: 
            http://java.sun.com/products/javamail/downloads/index.html
      
        Then, install it using the command: 
            mvn install:install-file -DgroupId=javax.mail -DartifactId=mail \
                -Dversion=1.3.2 -Dpackaging=jar -Dfile=/path/to/file
      
        Path to dependency: 
              1) com.atlassian.ofbiz:atlassian-ofbiz:jar:2.1
              2) javax.mail:mail:jar:1.3.2
      
      2) javax.transaction:jta:jar:1.0.1b
      
        Try downloading the file manually from the project website.
      
        Then, install it using the command: 
            mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \
                -Dversion=1.0.1b -Dpackaging=jar -Dfile=/path/to/file
      
        Path to dependency: 
              1) com.atlassian.ofbiz:atlassian-ofbiz:jar:2.1
              2) javax.transaction:jta:jar:1.0.1b
      
      ----------
      2 required artifacts are missing.
      
      for artifact: 
        com.atlassian.ofbiz:atlassian-ofbiz:jar:2.1
      
      from the specified remote repositories:
        central (http://repo1.maven.org/maven2),
        atlassian-m1-repository (http://repository.atlassian.com),
        atlassian-proxy (https://m2proxy.atlassian.com/repository/public)
      
      
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4 minutes 56 seconds
      [INFO] Finished at: Mon Mar 03 18:02:38 CET 2008
      [INFO] Final Memory: 37M/73M
      [INFO] ------------------------------------------------------------------------
      

      Thanks for your time. More details upon request.

            Assignee:
            Unassigned
            Reporter:
            Jérôme Zago
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: