On Sat, 20 May 2006, Marco Mistroni wrote:

Hi,

> Hello all,
>   sorry i pressed 'Send' befor efinishing the message
> m> wrote:
> >
> > hi all,
> >   i m trying to build an .ear and output to a deploy directory specified
> > in my project.properties, but M2 keeps on cojmplaining that either
> > i put in <outputDirectory> the value of hte property or i specify the
> > property via commandline -D

project.properties does not work in M2.


> i have written a settings.xml file and i have placed it in my
> DocumentAndSettings\Me\m2,

It should probably be in ..\Me\.m2\

> but still maven is complaining
>
> i am using maven-2.0.4, here's my pom.xml and settings.xml
>
[snip]

You defined <outputDirectory>${deploy.directory}</outputDirectory>.

Maven would probably create a directory ./${deploy.directory}...

> ** settings.xml ******
> <settings>
>   <profiles>
>     <profile>
>       <activation>
>         <activeByDefault/>

Remove these lines:

>         <property>
>           <name>deployDir</name>
>           <value>C:\Sw\jboss-4.0.4RC1\server\default\deploy</value>
>         </property>

>        </activation>

and this one:

>         <properties/>

and put this here:

        <properties>
          <deploy.directory>c:\....</deploy.directory>
        </properties>

>       </profile>
>   </profiles>
>
> </settings>
>

-- Kenney

>
> i am running evrything by typing
>
> mvn clean install
>
> anyone could help?
>
> thanks and regards
>  marco
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to