maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Maven Source Plugin config to include generated-sources?
Date Thu, 06 Aug 2009 21:57:36 GMT
<includes>
  <include>path1</include>
 <include>path2</include>
</includes>

On Thu, Aug 6, 2009 at 5:14 PM, David Hoffer<dhoffer6@gmail.com> wrote:
> Here is the error.
>
> Cause: Cannot assign configuration entry 'includes' to 'class
> [Ljava.lang.String
> ;' from
> 'C:\iss_svn\CDF\trunk\cdf-webtas/src/main/java/**/*.java,C:\iss_svn\CDF\
> trunk\cdf-webtas/target/generated-sources/**/*.java', which is of type class
> jav
> a.lang.String
>
> -Dave
>
> On Thu, Aug 6, 2009 at 3:12 PM, David Hoffer <dhoffer6@gmail.com> wrote:
>
>> Perhaps I don't understand the format of this, I tried the following and
>> get an error:
>>
>> <configuration>
>>
>> <includes>${basedir}/src/main/java/**/*.java,${basedir}/target/generated-sources/**/*.java</includes>
>> </configuration>
>>
>> -Dave
>>
>>
>> On Thu, Aug 6, 2009 at 2:45 PM, Alexander <the.malkolm@gmail.com> wrote:
>>
>>> Wont help you *includes *goal?
>>>
>>>
>>> http://maven.apache.org/plugins/maven-source-plugin/aggregate-mojo.html#includes
>>>
>>> 2009/8/7 David Hoffer <dhoffer6@gmail.com>
>>>
>>> > How can I configure the Maven Source Plugin to include source files in
>>> the
>>> > /target/generated-sources folder?  I would assume it would do this by
>>> > default but I don't even see a way to configure this.  It always ignores
>>> > additional source here.  Can somebody help me?
>>> >
>>> > -Dave
>>> >
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Alexander
>>>
>>
>>
>

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


Mime
View raw message