You still need to specify dependencies, but the properties can be used
to force them to be found on the file system.
(please keep replies on list)
- Brett
On Thu, 3 Mar 2005 17:24:40 +0000, Bahaa Nasrallah
<[EMAIL PROTECTED]> wrote:
> Hi
> Maybe my previous message was misleading,
> in the <sourceDirectory> tag i do have
> <sourceDirectory>src</sourceDirectory> which includes the java source
> files while in the <dependencies> tag i didnt specify any dependency.
> in the project.proprtties it is as specified.
>
> Thanks in advance
>
> On Thu, 3 Mar 2005 16:34:27 +0000, Bahaa Nasrallah
> <[EMAIL PROTECTED]> wrote:
> > Thanks Brett
> > actually what i have is util1.1.jar and util.2.2.jar
> > in the project.properties i have
> >
> > maven.jar.override = on
> > maven.jar.util1.1 = ${basedir}/lib/util1.1.jar
> > maven.jar.util2.2 = ${basedir}/lib/util2.2.jar
> >
> > and in project.xml
> > i have nothing in the <dependencies> section
> > and in <sourceDirectory>src</sourceDirectory>
> >
> > and it doesn't work. is it because of the "." in util1.1.jar and
> > util2.2.jar?
> > if yes how can i solve it?
> >
> > Thanks in advance
> >
> > On Fri, 4 Mar 2005 03:02:47 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> > > hot off the press:
> > >
> > > http://www.apache.org/~brett/maven-stage-site/using/managing-dependencies.html
> > >
> > >
> > > On Thu, 3 Mar 2005 15:42:40 +0000, Bahaa Nasrallah
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > > I need to compile my project which needs dependencies that are found
> > > > in my file system. what should i specify in project.xml in the
> > > > dependencies section and the project.properties file to make that
> > > > possible.
> > > > Lets say i have src directory which includes the source files and lib
> > > > directory which includes the jar files.
> > > > src and lib in the same directory.
> > > >
> > > > src includes a.java b.java
> > > > lib includes util1.jar util2.jar
> > > >
> > > > i will be thankful for any suggestion.
> > > >
> > > > Regards,
> > > > Bahaa
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]