Using maven1 project as mave2 project dependency

View: New views
1 Messages — Rating Filter:   Alert me  

Using maven1 project as mave2 project dependency

by _oMS_ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have maven2 project that depends on maven1 projects.

How can maven2 project resolve these dependencies.

My attempt went something like this:

1. installed nexus repository manager
2. added new hosted snapshot repository with maven1 type
3. added new virtual repository to map maven1->maven2
4. built and deployed all snapshots to hosted repository

All this went more or less smoothly but all dependencies downloaded from virtual repository to local repository have POM version 3(transitive dependencies are lost because they cannot be resolved).

Log messages output this specific POM <project-name> is invalid.

It seems that maven is not backward compatible with pom version 3.0.

How to resolve this issue??