Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Maven Integration for Web Tools Platform » configuring jars dependencies in pom
configuring jars dependencies in pom [message #911265] Tue, 11 September 2012 09:11
MeJ MeJ is currently offline MeJ MeJFriend
Messages: 9
Registered: July 2012
Junior Member
hi,
I have a project developed in java using eclipse. This project is using a set of jars. We are trying to execute now this project using maven.
I have configured the pom file for every jar dependecy smth like:
<dependency>
<groupId>org.eclipse.uml2</groupId>
<artifactId>uml</artifactId>
<version>3.2.1</version>
</dependency>

I am trying to use same version of libraries we have in the project.
I am facing two problems:
1. If i just specify the library just like this it gives me error that it can not download from the default repository that maven is using.
2. if i specify the repository in my pom smth like:
<i><repositories>
<repository>
<id>Indigo Release</id>
<url>https: //raw.github.com/eclipse/acceleo/master/maven/repository/releases/indigo</url>
</repository>
<repository>
<id>Juno Release</id>
<url>https: //raw.github.com/eclipse/acceleo/master/maven/repository/releases/juno</url>
</repository>
<repository>
<id>Snapshots</id>
<url>https: //raw.github.com/eclipse/acceleo/master/maven/repository/snapshots</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>Indigo Release</id>
<url>https: //raw.github.com/eclipse/acceleo/master/maven/repository/releases/indigo</url>
</pluginRepository>
<pluginRepository>
<id>Juno Release</id>
<url>https: //raw.github.com/eclipse/acceleo/master/maven/repository/releases/juno</url>
</pluginRepository>
<pluginRepository>
<id>Snapshots</id>
<url>https: //raw.github.com/eclipse/acceleo/master/maven/repository/snapshots</url>
</pluginRepository>
</pluginRepositories></i>

than the version which is in this repositories is not the one i want to download.

I tried to download libraries manually in mz local repository but its a lot of work. Isnt there any simple way to do this ?

Thank you in advance
Previous Topic:WAR project that uses overlays: Class not found
Next Topic:M2 WTP update site down
Goto Forum:
  


Current Time: Mon Sep 24 17:53:38 GMT 2018

Powered by FUDForum. Page generated in 0.02091 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top