Hi,

src/main/config actually is the default/recommended place.
See
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

Not sure though it's a directory used by any plugin in general. But that
might not be an issue for you.

Cheers


2013/7/11 Russell Gold <r...@gold-family.us>

> Hi Richard,
>
> You can use the property        ${basedir} to refer to root of the
> project, so the directory in question would be ${basedir}/src/main/config
>
> - Russ
>
> On Jul 11, 2013, at 1:24 AM, "Richard Sand" <rs...@idfconnect.com> wrote:
>
> > I've several projects that were created before we began using maven and
> > which we've added maven to subsequently. Obviously these projects were
> not
> > created with an archetype. Is there a "standard" folder that is commonly
> > used in archetypes for holding files such as application configuration
> files
> > or templates? The types of files I'm thinking of would not be put into
> > packaging (e.g. they wouldn't be placed into the jar, war etc. created by
> > maven) but would potentially be used in the install or deploy
> lifecycles. A
> > folder such as "src/main/config"?
> >
> > If such an animal exists, what property would I used to reference it in a
> > plugin? e.g. the equivalent of "${project.build.sourceDirectory}". Is
> there
> > such a property?
> >
> > If not, is there a property that references the "src" or "src/main"
> folder?
> > ${project.build.sourceDirectory} references "src/main/java" - it would
> seem
> > to be a hack to use "../config" from there but it would work.
> >
> > Thanks!
> >
> > Richard Sand | CEO
> > IDF Connect, Inc.
> > 2207 Concord Ave, #359
> > Wilmington | Delaware 19803 | USA
> > Office: +1 302 425 0516 | Fax: +1 856 866 1899
> > Mobile: +1 267 984 3651
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
>
> -----------------
> Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
> and listen to the Misfile radio play <
> http://www.gold-family.us/audio/misfile.html>!
>
>
>
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to