I have been reading some question similar issue with downloading the jars but
none seem to be really related to my problem.
I am migrating a project from using Eclipse indigo SR2 runtime to use
eclipse Kepler SR1.
I had created one maven repository with the eclipse bundles that i needed
from indigo SR2 and everything was working fine.
Now, for the migration, i have created a new branch of my project for kepler
SR1. I have created a new repository for eclipse kepler SR1. The pom in the
branch for kepler SR1 is now pointing to the new repository and the
dependencies has been updated accordingly.
Using eclipse IDE indigo SR2 i work on the branch for indigo SR2 for
maintenance Using eclipse IDE kepler SR1 i work on the branch for kepler SR1
on new fetures for the future release.
At least that was the plan.
The issue is that when running mvn clean package -U (both from the command
line and within eclipse) on the kepler SR1 only the poms were downloaded but
not the jars. No matter what i try the jars would not get downloaded.
For trouble shooting i cleared the local maven repository. Then I run maven
on the kepler branch first, the jar were downloaded. However when after i
tried to run maven on the indigo sr2 project only the poms were downloaded.
So on a clean local repository, only the project on which maven is run first
will download both the jar and the poms and the other will only download the
poms
I have really run out of ideas, so i would apreaciate if somebody could
point me towards where the problem may be.
I tried with maven 3.0.4 and 3.0.5
Version range are not use in any of the poms, below is an extract of the
dependency definition.
<dependency>
<groupId>org.eclipse.emf.ecore</groupId>
<artifactId>xmi</artifactId>
<version>[2.9.1]</version>
</dependency>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>edit</artifactId>
<version>[2.9.0]</version>
</dependency>
cheers,
none seem to be really related to my problem.
I am migrating a project from using Eclipse indigo SR2 runtime to use
eclipse Kepler SR1.
I had created one maven repository with the eclipse bundles that i needed
from indigo SR2 and everything was working fine.
Now, for the migration, i have created a new branch of my project for kepler
SR1. I have created a new repository for eclipse kepler SR1. The pom in the
branch for kepler SR1 is now pointing to the new repository and the
dependencies has been updated accordingly.
Using eclipse IDE indigo SR2 i work on the branch for indigo SR2 for
maintenance Using eclipse IDE kepler SR1 i work on the branch for kepler SR1
on new fetures for the future release.
At least that was the plan.
The issue is that when running mvn clean package -U (both from the command
line and within eclipse) on the kepler SR1 only the poms were downloaded but
not the jars. No matter what i try the jars would not get downloaded.
For trouble shooting i cleared the local maven repository. Then I run maven
on the kepler branch first, the jar were downloaded. However when after i
tried to run maven on the indigo sr2 project only the poms were downloaded.
So on a clean local repository, only the project on which maven is run first
will download both the jar and the poms and the other will only download the
poms
I have really run out of ideas, so i would apreaciate if somebody could
point me towards where the problem may be.
I tried with maven 3.0.4 and 3.0.5
Version range are not use in any of the poms, below is an extract of the
dependency definition.
<dependency>
<groupId>org.eclipse.emf.ecore</groupId>
<artifactId>xmi</artifactId>
<version>[2.9.1]</version>
</dependency>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>edit</artifactId>
<version>[2.9.0]</version>
</dependency>
cheers,