Hi
It takes me days to put things work with Ubuntu.
Now I trie with Windows 10.
I have successfully deployied needed jar into local repository.
And did addings into pom.xml file

     <repositories>
        <repository>
            <id>project.local</id>
            <name>project</name>
            <url>file:${project.basedir}/repo</url>
        </repository>
    </repositories>

        <dependency>
            <groupId>lib</groupId>
            <artifactId>bind</artifactId>
            <version>1.0</version>
        </dependency>

And repo looks like :

$ dir -la repo/lib/bind/1.0/*
-rw-r--r-- 1 Raivo 197121 103515 Nov 14 18:47 repo/lib/bind/1.0/bind-1.0.jar
-rw-r--r-- 1 Raivo 197121     32 Nov 14 18:47 repo/lib/bind/1.0/bind-1.0.jar.md5 -rw-r--r-- 1 Raivo 197121     40 Nov 14 18:47 repo/lib/bind/1.0/bind-1.0.jar.sha1
-rw-r--r-- 1 Raivo 197121    379 Nov 14 18:47 repo/lib/bind/1.0/bind-1.0.pom
-rw-r--r-- 1 Raivo 197121     32 Nov 14 18:47 repo/lib/bind/1.0/bind-1.0.pom.md5 -rw-r--r-- 1 Raivo 197121     40 Nov 14 18:47 repo/lib/bind/1.0/bind-1.0.pom.sha1

But mvn install doesn't find needed jar

Deploy is done as follows and was successfull :

mvn deploy:deploy-file -Durl=file://repo -Dfile=javax.xml.bind.jar -DgroupId=lib -DartifactId=bind -Dpackaging=jar -Dversion=1.0

What's wrong and what I have to do ?

Redards

Raivo


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

Reply via email to