Hello,
in the process of converting our app from maven1 to maven2, we changed
our repository to have maven2 structure. For most library we use public
repositories (maven, jboss, apache) to fetch files. But from some
libraries we had to make them available to our local repository, moving
the jar from his group/jars/artefact-version.jar to
group/artifact/version/artifact-version.jar.
However, for the jar there is no "pom" files coming along, just a jar.
maven2 has no special trouble handling them, except it keeps trying to
go to all our configured repositories and try to download those
inexistant pom:
Downloading:
http://xxxxxxx/repository/enhydra/dods/dbmanager-api/6.4-1/dbmanager-api-6.4-1.pom
Downloading:
http://download.java.net/maven/2//enhydra/dods/dbmanager-api/6.4-1/dbmanager-api-6.4-1.pom
Downloading:
http://archiva.openqa.org/repository/releases//enhydra/dods/dbmanager-api/6.4-1/dbmanager-api-6.4-1.pom
Downloading:
http://repository.jboss.com/maven2/enhydra/dods/dbmanager-api/6.4-1/dbmanager-api-6.4-1.pom
Downloading:
http://repo1.maven.org/maven2/enhydra/dods/dbmanager-api/6.4-1/dbmanager-api-6.4-1.pom
Downloading:
http://xxxxxxx/repository/enhydra/dods/stdconnection/6.4-1/stdconnection-6.4-1.pom
Downloading:
http://download.java.net/maven/2//enhydra/dods/stdconnection/6.4-1/stdconnection-6.4-1.pom
Downloading:
http://archiva.openqa.org/repository/releases//enhydra/dods/stdconnection/6.4-1/stdconnection-6.4-1.pom
Downloading:
http://repository.jboss.com/maven2/enhydra/dods/stdconnection/6.4-1/stdconnection-6.4-1.pom
Downloading:
http://repo1.maven.org/maven2/enhydra/dods/stdconnection/6.4-1/stdconnection-6.4-1.pom
Downloading:
http://xxxxxxx/repository/enhydra/dods/ejen/6.4-1/ejen-6.4-1.pom
Downloading:
http://download.java.net/maven/2//enhydra/dods/ejen/6.4-1/ejen-6.4-1.pom
Downloading:
http://archiva.openqa.org/repository/releases//enhydra/dods/ejen/6.4-1/ejen-6.4-1.pom
Downloading:
http://repository.jboss.com/maven2/enhydra/dods/ejen/6.4-1/ejen-6.4-1.pom
Downloading:
http://repo1.maven.org/maven2/enhydra/dods/ejen/6.4-1/ejen-6.4-1.pom
As you see, it tries to go to 5 different repositories, everytime to get
a 404. Is there a recommended way to either
a) tell maven that there is definitely no pom to download
b) create the pom and metadata file from a .jar file (generic pom with
correct names, but no dependencies)?
I tried for some jar to manually create pom, i received complains about
checksums ? and maven ignored the file!
--
David Delbecq
Institut Royal Météorologique
Ext:557
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]