This page last changed on Aug 19, 2008 by bmccoy.

Below are some known errors and possible solutions.

Running the Maven Commands


Error:

[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/com/atlassian/pom/atlassian-closedsource-pom/12/atlassian-closedsource-pom-12.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: com.atlassian.pom
ArtifactId: atlassian-closedsource-pom
Version: 12

Reason: Unable to download the artifact from any repository

  com.atlassian.pom:atlassian-closedsource-pom:pom:12

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Solution:
You are missing the settings.xml file in your .m2 directory. You can find it attached to this page: Setting up Bamboo Development Environment in IDEA


Error:

Missing:
----------
1) javax.mail:mail:jar:1.3.3

  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.3 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:       mvn deploy:deploy-file -DgroupId=javax.mail -DartifactId=mail \
          -Dversion=1.3.3 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  	1) com.atlassian.bucket:atlassian-bucket:jar:0.17
  	2) javax.mail:mail:jar:1.3.3


Solution:
Due to licensing restrictions, we are not allowed to re-distribute native SUN libraries through our maven2 public repositories. You will need to download the javax.mail (version is displayed in the error) manually. Please visit our confluence page on Working with Sun JAVA libraries for further details.

In IDEA


Error:

Solution:
This is one of the annoying quirks of maven Idea plugin. Configure your project settings, find the incriminating modules and remove the deployment descriptors.


web xml error-1.png (image/png)
web xml solution.png (image/png)
Document generated by Confluence on Mar 02, 2009 18:52