If connectionpool-1.0.jar is one of your own jar.
Are you sure that you include in you dependencies the connectionpool-1.0.jar own
dependence!
There is probably some other errors that indicate : "cannot resolve symbol" which will
show you the jar who miss
I think the problem is not with the connectionpool-1.0's dependence but with an other
dependence.
Nico,
"David Liles" <[EMAIL PROTECTED]>
19/06/2003 02:56
Veuillez r�pondre � "Maven Users List"
Pour : "Maven Users List" <[EMAIL PROTECTED]>
cc :
Objet : RE: RE : dependencies
I've added the following to my dependencies but have not had any luck:
<dependency>
<id>connectionpool</id>
<version>1.0</version>
<properties>
<war.bundle.jar>true</war.bundle.jar>
</properties>
</dependency>
In the maven repository I created a folder called connectionpool with a
subfolder jars. In that folder I placed my connectionpool-1.0.jar file.
When I execute maven java:compile I get several errors, one of which is:
java:27: cannot resolve symbol
[javac] symbol : class ConnectionPool
[javac] location: class com.dynamichostings.dao.StoredProcs
[javac] private ConnectionPool pool;
[javac] ^
[javac] 100 errors
Is there something else I need to do so the jar file is correctly located
an included in the build process?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 10:31 AM
To: Maven Users List
Subject: RE : dependencies
Did tell in your project.xml that you need this jar ?
it like this :
<dependencies>
<dependency>
<id>your-jar</id>
<version>X.X</version>
<properties>
<war.bundle.jar>true</war.bundle.jar>
</properties>
</dependency>
...
</dependencies>
It declare that you need
$MAVENREPOSITORY/repository/your-jar/jars/your-jar-X.X.jar
> I now have my project.xml file working..... to a degree.
> When I run it via maven java:compile I am getting errors relating to classes in
> packages I have placed in
external jar files.
> I have created and placed the jar files in the repository folder
structure within maven but what I'm unclear on is how to correctly
identify them in my project.xml file.
> I've looked at an example xml file and the dependencies shown reference
a URL, how do I ensure my xml file includes the external jar files I've
created?
>
>Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]