You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Raivo Rebane <ra...@r-systems.ee> on 2022/11/14 17:07:26 UTC

Mvn install fails

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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Mvn install fails

Posted by Delany <de...@gmail.com>.
It always is :)

On Tue, 15 Nov 2022 at 09:24, Raivo Rebane <ra...@r-systems.ee> wrote:

> 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-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Mvn install fails

Posted by Raivo Rebane <ra...@r-systems.ee>.
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-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>

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


Re: Mvn install fails

Posted by Arnaud bourree <ar...@gmail.com>.
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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>