Hi

Thank for help. I succseed. I was bored by Ubuntu and don't mention Chabalas letter. It's really simple

Regards

Raivo

On 14.11.22 19:30, Arnaud bourree wrote:
Hi,

Did you read Maven documentations, books about it?
It looks you don't understand the philosophy.
Why don't you follow suggestion from Greg Chabala to depend on jabx-api or
jakarta xml-bind-api artifact?
Keep It Simple

Arnaud

Le lun. 14 nov. 2022, 18:07, Raivo Rebane <ra...@r-systems.ee> a écrit :

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



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

Reply via email to