Hi,
I tried installing some JAR files to my local maven repository using the
following command:
mvn install:install-file -DgroupId=jade -DartifactId=jade -Dversion=1.0
-Dpackaging=jar -Dfile=C:\tmp\jade.jar

Installation finishes successfully according to maven log. I add the new
dependency to pom.xml file:
           <dependency>
                <artifactId>jade</artifactId>
                <groupId>jade</groupId>
                <version>[1.0]</version>
            </dependency>
Next I try to compile my component using "mvn install" command. But it shows
compile error indicating that my JAR file is not included in the compiler
class path. What could be wrong with my configuration? I did not know that
the real JAR file version so I set it to 1.0.
Thanx, Mak
-- 
View this message in context: 
http://www.nabble.com/Installing-new-JAR-to-maven-repository--failure-tp23803587p23803587.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to