You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ma...@merkur.at on 2006/04/28 10:40:23 UTC

[M2] more than 1

Hi,

is it possible to define more than one <sourceDirectory> ?


could anybody give me a hint ?


TIA

Martin



Re: [M2] more than 1

Posted by Tom Joad <tj...@gmail.com>.
Hello

you cas use build-helper-maven-plugin like following
<plugins>
...
<plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>add-source</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>add-source</goal>
                </goals>
                <configuration>
                  <sources>
                    <source>PATHTOOTHERSOURCE</source>
                  </sources>
                </configuration>
              </execution>
            </executions>
          </plugin>
...
</plugins>

2006/4/28, Geoffrey De Smet <ge...@gmail.com>:
> maven-build-helper-plugin at mojo.codehaus.org
>
> martin.kuhn@merkur.at wrote:
> > Hi,
> >
> > is it possible to define more than one <sourceDirectory> ?
> >
> >
> > could anybody give me a hint ?
> >
> >
> > TIA
> >
> > Martin
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++
> > Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird.
> > ++++++++++++++++++++++++++++++++++++++++++++++
> > This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail.
> > ++++++++++++++++++++++++++++++++++++++++++++++
> >
>
> --
> With kind regards,
> Geoffrey De Smet
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: [M2] more than 1

Posted by Geoffrey De Smet <ge...@gmail.com>.
maven-build-helper-plugin at mojo.codehaus.org

martin.kuhn@merkur.at wrote:
> Hi,
> 
> is it possible to define more than one <sourceDirectory> ?
> 
> 
> could anybody give me a hint ?
> 
> 
> TIA
> 
> Martin
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> ++++++++++++++++++++++++++++++++++++++++++++++
> Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird.
> ++++++++++++++++++++++++++++++++++++++++++++++
> This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail.
> ++++++++++++++++++++++++++++++++++++++++++++++
> 

-- 
With kind regards,
Geoffrey De Smet


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