You can't. Don't fight the system and you'll be a generally happier
person. Package the class files into a Jar.

Wayne

On Feb 19, 2008 7:37 PM, youhaodeyi <[EMAIL PROTECTED]> wrote:
>
> I have some *.class files in a directory. I know I can make them into a jar
> file and add it to the dependency of Maven, but I don't want to package
> them. How can I set the dependency in Maven to add this directory to
> classpath?
> --
> View this message in context: 
> http://www.nabble.com/Does-Maven-dependency-only-work-with-jar--tp15580501s177p15580501.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to