Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-10887

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

    • Icon: Bug Bug
    • Resolution: Resolved Locally
    • Icon: Low Low
    • None
    • 2.7.1, 2.7.2
    • None
    • 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.

            [CONFSERVER-10887] Cannot build Confluence 2.7.1/2.7.2 from source - Compilation failure on atlassian-mail

            No work has yet been logged on this issue.

              Unassigned Unassigned
              95ad41a902aa Jérôme Zago
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: