I think you put the jar at the wrong place 

it should be:

C:\maven\localrepo\Avantis\jars\AvantisPersistencyBridge-1.32GA.jar

-D


On Wed, 30 Mar 2005 10:10:21 +0200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> thanks Caoilte for your reply. I've solved the problem with the ant
> reference by explicit declarations.  Back from holidays
> i've played again with maven, but i couldn't solve the general inherit
> problems. You say that you have no problems with
> the inherit of dependencies, perhaps you could help me again.
> 
> I've figured out, that nothing is inherited from the template definition.
> For example, i've copied a private jar to the local
> repository following the maven orders of Group & ArtifactIDs :
> 
>            C:\maven\localrepo\Avantis\AvantisPersistencyBridge-1.32GA.jar
> 
> I've tried to inherid this source by each project using a dependency
> declaration in the template file by this way:
> 
> <dependencies>
>    <dependency>
>      <groupId>${pom.groupId}</groupId>
>      <artifactId>AvantisPersistencyBridge</artifactId>
>      <version>${pom.currentVersion}</version>
>      <type>jar</type>
>  </dependency>
>  </dependencies>
> 
> Using this declaration, maven tries to download that file, what is
> impossible. So the build is canceled. When i try to
> inherit this source by explicit definition :
> 
> <dependencies>
>    <dependency>
>      <groupId>Avantis</groupId>
>      <artifactId>AvantisPersistencyBridge</artifactId>
>      <version>1.32GA</version>
>      <type>jar</type>
>  </dependency>
>  </dependencies>
> 
> The build is not canceled. But in the subprojects, which inherits this
> template i got a compile Error with class not
> found exceptions depends on classes build in this jar. I don't know what's
> going wrong ...
> 
> Thx for any help,
> Christian
> 
> BG-PHOENICS GMBH
> IT-EW / DS
> Thurnithistr.16
> 30519 Hannover
> Telefon: 0511-987-1248
> 
> mailto: [EMAIL PROTECTED]
>

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

Reply via email to