Hi,

have a look at the dependency guide [1] for the correct usage of system
scope dependencies. It boils down to: groupId/artifactId/version are
your choice (somthing like sun.jdk/runtime/1.5.0.11 will do in your
case), systemPath is not the path of the directory of the jar, but the
path of the jar itself.

-Tim

[1]
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

Sonar, Nishant schrieb:
> Hi 
> 
>  
> 
> Can I use a dependency with scope=system with no version number
> 
>  
> 
> I want to use  rt.jar which is inside C:\Java\jdk1.5.0_11\jre\lib . now
> this jar doesn't has a verion number
> 
> How should I use ot
> 
>  
> 
> <dependency>
> 
>             <groupId>what to use here?</>
> 
>             <artifactId>What to use here?</>
> 
>             <version>what version if no version for the jar</>
> 
>             <scope>system</>
> 
>             <systemPath> C:\Java\jdk1.5.0_11\jre\lib</systemPath>
> 
> </dependency>
> 
>  
> 
>  
> 
> Regards,
> 
> Nishant Sonar
> 
>  
> 
> 


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

Reply via email to