You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brian E. Fox" <br...@reply.infinity.nu> on 2007/08/09 05:49:37 UTC
how to create a core it
I've completed pass one of the howto here:
http://docs.codehaus.org/display/MAVEN/Creating+a+Maven+Integration+Test
Eventually this will walk through using the archetypeNG plugin to create
the sample, but several issues stopped me from fully documenting it. I
was able to make it work at one point, but it's not quite ready yet from
an end user standpoint anyway. The howto walks through using the sample
project used to create the archetype, so the rest of the doc is
relevant.
Feedback please.
--Brian
Re: Declare external properties files
Posted by Jason van Zyl <ja...@maven.org>.
On 9 Aug 07, at 3:15 PM 9 Aug 07, Daroussin, Arnaud wrote:
>
> Hello,
>
> I read on the pom Reference page (http://maven.apache.org/
> pom.html#Properties) we can declare properties in external files
> and use it in pom.xml.
>
That documentation is wrong, you can't store properties externally
that are interpolated. I corrected the documentation and will be
updated on the next site publish.
> I find a way to use external properties with resources filters but
> not in other case.
>
> Can you explain how to do this ?
We keep the properties in the POM so that the information required to
build is in a single resource. You can put all the properties you
need in the POM and use profiles if you need different properties for
different cases.
>
> Thanks,
>
> Arnaud.
>
>
>
> This message contains information that may be privileged or
> confidential and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are
> not the intended recipient, you are not authorized to read, print,
> retain, copy, disseminate, distribute, or use this message or any
> part thereof. If you receive this message in error, please notify
> the sender immediately and delete all copies of this message.
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Declare external properties files
Posted by "Daroussin, Arnaud" <ar...@capgemini.com>.
Hello,
I read on the pom Reference page (http://maven.apache.org/pom.html#Properties) we can declare properties in external files and use it in pom.xml.
I find a way to use external properties with resources filters but not in other case.
Can you explain how to do this ?
Thanks,
Arnaud.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Re: how to create a core it
Posted by Jason van Zyl <ja...@maven.org>.
On 9 Aug 07, at 5:49 AM 9 Aug 07, Brian E. Fox wrote:
> I've completed pass one of the howto here:
> http://docs.codehaus.org/display/MAVEN/Creating+a+Maven+Integration
> +Test
>
Awesome, thanks Brian.
>
>
> Eventually this will walk through using the archetypeNG plugin to
> create
> the sample, but several issues stopped me from fully documenting it. I
> was able to make it work at one point, but it's not quite ready yet
> from
> an end user standpoint anyway. The howto walks through using the
> sample
> project used to create the archetype, so the rest of the doc is
> relevant.
>
>
>
> Feedback please.
>
>
>
> --Brian
>
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org