You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Michael Meyer <mi...@bluewin.ch> on 2006/03/27 19:53:42 UTC

[M2] Is there a variable for the source folder?

Hi
I already asked this at users@maven.apache.org but I didn't get an 
answer so if maybe somebody on this list could help me:

Is there a variable for the source folder?

${project.build.sourceDirectory} returns "my-app/src/main/java"

I noticed that I can use ${user.dir}/src
but this would break if somebody uses an other src folder. Or
is the src folder immutable in M2. That would also solve my problem :-)

Cheers,
michael



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [M2] Is there a variable for the source folder?

Posted by Brett Porter <br...@apache.org>.
Answered on users list, this isn't the right place.

- Brett

Michael Meyer wrote:
> Hi
> I already asked this at users@maven.apache.org but I didn't get an
> answer so if maybe somebody on this list could help me:
> 
> Is there a variable for the source folder?
> 
> ${project.build.sourceDirectory} returns "my-app/src/main/java"
> 
> I noticed that I can use ${user.dir}/src
> but this would break if somebody uses an other src folder. Or
> is the src folder immutable in M2. That would also solve my problem :-)
> 
> Cheers,
> michael
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org