The below dependency was already existing in our organization repository and it was removed for some reasons
Later I changed the repository as below and updated it with new repository which has this dependency 5.2.0
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-app</artifactId>
<version>5.2.0</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
The repository updated as below
<repositories>
<repository>
<id>central</id>
<name>maven_dev</name>
<url>https://artifactory.organization.site/artifactory/maven_dev</url>
</repository>
</repositories>
When I build project after these changes am getting the below error
Could not resolve dependencies for project testngframeworkLibrary:PETERTESTNG:jar:3.16: Failed to collect dependencies at com.atlassian.jira:jira-rest-java-client-app:jar:5.2.0: Failed to read artifact descriptor for com.atlassian.jira:jira-rest-java-client-app:jar:5.2.0: Failure to find com.atlassian.platform:platform:pom:3.1.7 in https://artifactory.organization.site/artifactory/maven_dev was cached in the local repository, resolution will not be reattempted until the update interval of org-maven_dev has elapsed or updates are forced -> [Help 1]
Related
I have a project that is using these dependencies:
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.identity.oauth.stub</artifactId>
<version>4.2.2</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.utils</artifactId>
<version>4.2.0</version>
</dependency>
It seems that these dependencies are not available anymore.
Do you know any other versions of them?
WSO2 artifacts are not available on Maven Central.
You need to add the following repository :
<repositories>
<repository>
<id>wso2-maven2-repository</id>
<url>http://maven.wso2.org/nexus/content/groups/wso2-public</url>
</repository>
</repositories>
I am new to Jenkins as well as maven. I am trying to build my project using jenkins job. I am getting the following error
Building remotely on s10-slave in workspace /cstg/jenkins/workspace/SAPlatform-CSPC_greenfield
Updating https://savi-svn/svn/analytics_visualization/ServiceAnalytics/Applications/CSPC/trunks/Listener/CSPC_greenfield at revision '2015-08-05T21:24:42.598 -0500'
D pom.xml
A pom.xml
At revision 22510
no revision recorded for https://savi-svn/svn/analytics_visualization/ServiceAnalytics/Applications/CSPC/trunks/Listener/CSPC_greenfield in the previous build
Parsing POMs
Failed to transfer Could not find artifact CSPC:CSPC:pom:1.1 in NLS proxy central jboss ibiblio codehaus java.net (http://engci-maven.cisco.com/artifactory/cstg-smartservices-group/)
Failed to transfer Could not find artifact CSPC:CSPC:pom:1.1 in maven-proxy (http://engci-maven-master.cisco.com/artifactory/cisco-central-repo)
Failed to transfer Could not find artifact CSPC:CSPC:pom:1.1 in savi.group.scas.snapshot (http://caisisapp-dev1-16:8081/nexus/content/groups/savi.group.scas.snapshot/)
Failed to transfer Could not find artifact CSPC:CSPC:pom:1.1 in intellishield.group.snapshots (http://caisisapp-dev1-
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>CSPC</groupId>
<artifactId>CSPC</artifactId>
<version>1.0</version>
</parent>
<artifactId>CSPC_greenfield</artifactId>
<packaging>war</packaging>
<name>CSPC_greenfield Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<version>3.0.1</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
<exclusion>
<artifactId>commons-codec</artifactId>
<groupId>commons-codec</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>2.5.1</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
<version>2.5.1</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.cisco.ca.ast.ir.sodcSvcs</groupId>
<artifactId>SodcUtils</artifactId>
<version>1.0.27</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.7</version>
</dependency>
<dependency>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>com.tibco.jms</groupId>
<artifactId>tibjms</artifactId>
<version>7.0.1</version>
</dependency>
<dependency>
<groupId>com.tibco.jms</groupId>
<artifactId>tibcrypt</artifactId>
<version>7.0.1</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc</artifactId>
<version>11.2</version>
</dependency>
<dependency>
<groupId>connectivityexternal</groupId>
<artifactId>jmslistener-util</artifactId>
<version>1.4.0.2</version>
<exclusions>
<exclusion>
<groupId>com.tibco.jms</groupId>
<artifactId>tibcrypt</artifactId>
</exclusion>
<exclusion>
<groupId>com.tibco.jms</groupId>
<artifactId>tibjms</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<repositories>
<repository>
<id>savi.group.snapshot</id>
<url>http://caisisapp-dev1-16:8081/nexus/content/groups/savi.connectivity.group.snapshot</url>
</repository>
<repository>
<id>savi.group.release</id>
<url>http://caisisapp-dev1-16:8081/nexus/content/groups/savi.group.release</url>
</repository>
<repository>
<id>cstg-smartservices-group</id>
<url>http://engci-maven.cisco.com/artifactory/cstg-smartservices-group/</url>
</repository>
<repository>
<id>cstg-smartservices-release</id>
<url>http://engci-maven.cisco.com/artifactory/cstg-smartservices-release/</url>
</repository>
<repository>
<id>cstg-smartservices-snapshots</id>
<url>http://engci-maven.cisco.com/artifactory/cstg-smartservices-snapshots</url>
</repository>
<repository>
<id>cstg-smartservices-thirdparty</id>
<url>http://engci-maven.cisco.com/artifactory/cstg-smartservices-thirdparty</url>
</repository>
<repository>
<id>sstg-nls</id>
<url>http://maven.cisco.com:8081/nexus/content/repositories/sstg-nls/</url>
</repository>
<repository>
<id>sstg-nls-snapshots</id>
<url>http://maven.cisco.com:8081/nexus/content/repositories/sstg-nls-snapshots/</url>
</repository>
<repository>
<id>sstg-nls-thirdparty</id>
<url>http://maven.cisco.com:8081/nexus/content/repositories/sstg-nls-thirdparty/</url>
</repository>
<repository>
<id>sstg-nls-group</id>
<url>http://maven.cisco.com:8081/nexus/content/groups/sstg-nls-group/</url>
</repository>
<!-- <repository> <id>savi.group.snapshot</id> <url> http://caisisapp-dev1-16:8081/nexus/content/repositories/savi.connectivity.repo.release
</url> </repository> <repository> <id>sstg-nls</id> <url>http://maven.cisco.com:8081/nexus/content/repositories/sstg-nls/</url>
</repository> <repository> <id>sstg-nls-snapshots</id> <url>http://maven.cisco.com:8081/nexus/content/repositories/sstg-nls-snapshots/</url>
</repository> -->
</repositories>
<pluginRepositories>
<pluginRepository>
<id>savi.group.snapshot</id>
<url>http://caisisapp-dev1-16:8081/nexus/content/groups/savi.connectivity.group.snapshot</url>
</pluginRepository>
<pluginRepository>
<id>savi.group.release</id>
<url>http://caisisapp-dev1-16:8081/nexus/content/groups/savi.group.release</url>
</pluginRepository>
</pluginRepositories>
<build>
<finalName>CSPC_greenfield</finalName>
</build>
please find the pom.xml. Let me know what am i missing here.
Tried:
changing the version of the pom.xml from 1.0 to 1.1
changed the artifactID name
Command used:
clean install -s "/home/jenkins/.m2/sa-settings.xml"
maven is telling you that the parent pom can't no be found.
This project is a children of a parent project, you should find the parent pom (usually is in the parent folder) and verify that the artifactid, groupId and version are the same.
I am trying to add dependency for ojdbc14 in pom.xml.
Steps I followed for adding ojdbc14.jar in local repository of maven:
Create a new project
move to that particular folder where is pom.xml file was located in command prompt.
execute the command mvn clean.
execute the command:
mvn install:install-file -Dfile=ojdbc14.jar -DgroupId=com.oracle -DartifactId=oracle -Dversion=10.2.0.1.0 -Dpackaging=jar -DgeneratePom=true
after this I got a build success message
I have updated the global and local repository in Eclipse > Maven Repositories
C:\> mvn install:install-file -Dfile="C:\Users\Dhia\Desktop\Nouveau dossier\ojdb
c14.jar" -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.1.0 -Dpackag
ing=jar
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) # standalone-pom
---
[INFO] Installing C:\Users\Dhia\Desktop\Nouveau dossier\ojdbc14.jar to C:\Users\
Dhia\.m2\repository\com\oracle\ojdbc14\10.2.0.1.0\ojdbc14-10.2.0.1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.460s
[INFO] Finished at: Sat Feb 28 22:44:13 CET 2015
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
C:\>
my local repoitory is C:\Users\Dhia\Desktop\eclipse jee
and when opening .com in eclipse oracle repository doesn't appear
when adding
com.oracle
ojdbc14
10.2.0.1.0
my pom.txt
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>b</groupId>
<artifactId>b</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>b</name>
<repositories>
<repository>
<id>prime-repo</id>
<name>PrimeFaces Maven Repository</name>
<url>http://repository.primefaces.org</url>
</repository>
<!--
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2/</url>
</repository>
-->
</repositories>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.1.8.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.2.0.Final</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-webflow</artifactId>
<version>2.3.1.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-faces</artifactId>
<version>2.3.1.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>3.1.1.RELEASE</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.1.0</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.1.10</version>
</dependency>
<dependency>
<groupId>com.sun.facelets</groupId>
<artifactId>jsf-facelets</artifactId>
<version>1.1.14</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.10</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>20030825.184428</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.4</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.02</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>3.1.3.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>3.1.3.RELEASE</version>
</dependency>
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>4.1.8.Final</version>
</dependency>
</dependencies>
</project>
I got error in my pom.xml file :Missing artifact com.oracle:ojdbc14:jar:10.2.0.1.0, and I am not able to see the ojdbc14.jar file in my local repository. Is there any thing wrong in the steps I followed. Please help me out.
Thanks
This can't be directly install because Oracle has put some license and agreements. So we have to download it manually and install it to the project. Use this link to choose the version you need and download the ojdbc14.jar file. You must have an Oracle account to download it.
Then open the command prompt. Go to the file download location. Then enter below code.
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.x.x.x -Dpackaging=jar -Dfile=ojdbc14.jar -DgeneratePom=true
Fill the x using your needed version. Then right click on your project >Maven>Update Project.
This will solve the problem.
The XML for version com.oracle:ojdbc14:jar:10.2.0.1.0 is missing from the central repository.
So i think this version will create problem for many more people
https://repo1.maven.org/maven2/com/oracle/ojdbc14/
Based on the output of mvn install:install-file, the jar was correctly installed in your local maven repository. If you add this to your pom.xml (inside the <dependencies> section), your project should find the jar:
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.1.0</version>
</dependency>
If you're still experiencing problems,
please share your pom.xml and the error output.
There is no such artifact in maven central repository: http://repo1.maven.org/maven2/com/oracle/ojdbc14/10.2.0.4.0 (only pom).
Please refer Is there an issue with the oracle dependency?
Manually downloading the ojdbc14 jar worked for me :)
This might be because of your maven settings.xml file. If you don't configure your local repo in settings.xml maven default repo will be Default: ${user.home}/.m2/repository. And you need to configure same maven settings in your IDE.
See more details here.
i am getting the following error in mi maven pom.xml on a spring template project
"Description Resource Path Location Type
ArtifactDescriptorException: Failed to read artifact descriptor for org.slf4j:slf4j-api:jar:1.5.6: ArtifactResolutionException: Failure to transfer org.slf4j:slf4j-api:pom:1.5.6 from http://repo.maven.apache.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. Original error: Could not transfer artifact org.slf4j:slf4j-api:pom:1.5.6 from/to central (http://repo.maven.apache.org/maven2): C:\Users\muhsin.HIFX.m2\repository\org\slf4j\slf4j-api\1.5.6\slf4j-api-1.5.6.pom.ahc0570cfa3a1934af5 (The system cannot find the file specified) pom.xml /sample line 1 Maven Dependency Problem"
my pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.samples.spring</groupId>
<artifactId>spring-jpa-utility</artifactId>
<version>1.0.0.CI-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Spring JPA Utility</name>
<url>http://www.springframework.org</url>
<description>
<![CDATA[This project is a minimal jar utility with Spring configuration for JPA usage.]]>
</description>
<properties>
<maven.test.failure.ignore>true</maven.test.failure.ignore>
<spring.framework.version>3.0.6.RELEASE</spring.framework.version>
</properties>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.6.0.Final</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.1.0.Final</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.framework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.156</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
<!-- <pluginRepositories>
<pluginRepository>
<id>Codehaus</id>
<url>http://repository.codehaus.org/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>org.jboss.repository.releases</id>
<name>JBoss Maven Release Repository</name>
<url>https://repository.jboss.org/nexus/content/repositories/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<distributionManagement>
<downloadUrl>http://www.springframework.org/download</downloadUrl>
<site>
<id>staging</id>
<url>file:///${user.dir}/target/staging/org.springframework.batch.archetype/${pom.artifactId}</url>
</site>
<repository>
<id>spring-release</id>
<name>Spring Release Repository</name>
<url>file:///${user.dir}/target/staging/release</url>
</repository>
<snapshotRepository>
<id>spring-snapshot</id>
<name>Spring Snapshot Repository</name>
<url>file:///${user.dir}/target/staging/snapshot</url>
</snapshotRepository>
</distributionManagement> -->
</project>
You can also use force update flag(-U) for example:
mvn clean install -U
Based on the error message
"Description Resource Path Location Type ArtifactDescriptorException:
Failed to read artifact descriptor for org.slf4j:slf4j-api:jar:1.5.6:
ArtifactResolutionException: Failure to transfer
org.slf4j:slf4j-api:pom:1.5.6 from http://repo.maven.apache.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.
it means you have to delete the folder $HOME/.m2/repository/org/slf4j and afterwards you need to rebuild via
mvn clean package
and other given error message:
Original error: Could not transfer artifact
org.slf4j:slf4j-api:pom:1.5.6 from/to central
(http://repo.maven.apache.org/maven2):
C:\Users\muhsin.HIFX.m2\repository\org\slf4j\slf4j-api\1.5.6\slf4j-api-1.5.6.pom.ahc0570cfa3a1934af5
(The system cannot find the file specified) pom.xml /sample line 1
Maven Dependency Problem"
indicates that you have some kind of problem with you repository access. Either you have a proxy which is not correctly configured. What i recommend is to use a repository manager which makes life easier.
You can try to run maven clean to perform a clean
You can manually navigate to the specified file in your local repository and remove it and then try to download it as afresh copy using mvn clean install -e
open this location
C:\Users...m2\repository\org\apache\maven\plugins\maven-surefire-plugin\2.10
Delete the file maven-surefire-plugin-2.10 and build the project.
it worked for me
Delete all the files present inside the folder **C:\Users\username.m2\repository**
open eclipse again rebuild the project - (Give some time for eclipse IDE to Build the Workspace).
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
add this line in the properties. Worked for me!
commons-lang 3.0 is still beta, but can it be found in some maven repository (I couldn't)
Adding repository (POM):
<repositories>
<repository>
<id>snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
</repository>
</repositories>
Adding dependency:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
You can use the snapshots at http://repository.apache.org/snapshots/org/apache/commons/commons-lang3/3.0-SNAPSHOT/.
Update: It's been released so it is in the central maven repository now.
Adding:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
Caused the module to be automatically downloaded, but from http://repo.maven.apache.org, not Maven Central