Hi,
AFAIK, you cannot directly configure the source path in the
source plugin (thru plugin configuration). However, I think you can set
the
<sourceDirectory> in the <build> section of your project's
pom. The current set up of the source plugin is that it gets the source
roots
from the Maven project you are building. You can file a jira for this in
Codehaus
under the source plugin project if you want this feature :-)
- Deng
Styve Arne wrote:
Hi,
The maven-source-plugin creates a JAR of the source code of a project,
right ?
But what if the sourcecode is not found in it's usual place
(....\src\main\java etc.) but instead directly under ....\src ?
And to complicate even more: the source I want to create a JAR for,
should not be compiled by Maven (it is beeing compiled by an Ant-script
called from my POM).
I.e. is there a way to get the sources-JAR created using source-files
from a specified directory other than the directory used by Maven for
compiling ?
Regards
Arne
!DSPAM:602,4628c7be56241722577945!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]