For me it worked adding the classes as resources. I hope it helps you
dynnamitt wrote:
>
> Hi
>
> I managed alter the classpath like this:
>
>
> <classpath>./src/main/webapp/WEB-INF/lib/cocoon-2.1.11.jar${path.separator}./src/main/webapp/WEB-INF/lib/avalon-framework-api-4.3.jar</classpath>
>
> BIG ISSUE: Now maven cannot find the test-scope jars added as "normal"
> dependencies.
>
> Regards,
> Dynnamitt
>
>
> Georges Ravel wrote:
>>
>>
>> Hi everybody,
>>
>> I'm new to maven. I have a simple question that I can't find an answer
>> anywhere:
>> I want to include additional classes in the classpath while compiling my
>> project
>> but I can't find any
>> obvious solution for this.
>>
>> - The classes I want to include can not be installed in a maven
>> repository
>> - I tried the compiler plugin by adding
>> <fork>true</fork>
>> <compilerArguments>
>> <classpath>myDic/classes</classpath>
>> </compilerArguments>
>> but this doesn't seem to work.
>>
>> Any suggestions?
>> Thanks
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
>
--
View this message in context:
http://old.nabble.com/Add-.classes-to-compilation-classpath-tp15824912p28474050.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]