If you require "the same" behavior, use <systemPath> instead in M2.

This JIRA has good explanations from Brett and John on it, that preferred
way is via repo, not local reference paths, and it must be an absolute path
(you can use ${basedir} to start it):
  http://jira.codehaus.org/browse/MNG-1471


-----Original Message-----
From: Girish Nagaraj [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 09, 2005 4:36 AM
To: users@maven.apache.org
Subject: Unable to migrate 1.1 POM using jar dependency to Maven 2

Hi,

1) I have a maven 1.1 project.xml which uses the JAR option to define the
dependencies For example:
    <dependency>
      <groupId>mydep</groupId>
      <artifactId>JDBC</artifactId>
      <jar>ojdbc14.jar</jar>
    </dependency>

I tried converting this to Maven2 POM following instructions on the maven
site, but not sure what is the alternative for <jar> ?

2) After this, to start over from scratch, I just picked up the minimal pom
from the site and trying to run mvn site with this POM results in the
following exception

[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
exist or  no valid version could be found

I have put-in a settings.xml which has the correct proxy host and port, but
still not able to get the command running even with a -U option.

Any help appreciated.

Thanks,
Girish


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to