Hello,
as promised here's the maven.xml (in mvn 1.1 there's no pom, but you have a
project.xml and a maven.xml)
<?xml version="1.0"?>
<project xmlns:m="jelly:maven"
xmlns:ant="jelly:ant">
<preGoal name="jsf-dist">
<attainGoal name="clean"/>
<ant:copy file="../properties/web-context.xml"
toDir="../spring"
overwrite="true"/>
<attainGoal name="xdoclet:webdoclet"/>
<attainGoal name="aspectj:compile"/>
</preGoal>
<goal name="jsf-dist">
<attainGoal name="jar:install"/>
</goal>
<postGoal name="jar:install">
<ant:property name="substitution.file"
location="../properties/project.properties"/>
<ant:property file="${substitution.file}" prefix="s"/>
<ant:copy file="target/xdoclet/webdoclet/WEB-INF/web.xml"
toDir="${jsfapp.webdir}"
overwrite="true">
<ant:filterchain>
<ant:replacetokens>
<ant:token key="DB_URL"
value="${s.db.url}"/>
<ant:token key="DATASOURCE_POPULATOR"
value="${s.datasource.populator}"/>
<ant:token key="DB_DRIVER"
value="${s.db.driver}"/>
<ant:token key="DB_USER"
value="${s.db.user}"/>
<ant:token key="DB_PASSWORD"
value="${s.db.password}"/>
<ant:token key="DB_STOCK_URL"
value="${s.db.stock.url}"/>
<ant:token key="DB_PRODUCTION"
value="${s.datasource.populator.production}"/>
<ant:token key="QUARTZ_CONTEXT"
value="${s.quartz.context}"/>
</ant:replacetokens>
</ant:filterchain>
</ant:copy>
</postGoal>
</project>
as Kaare and other were saying, you want to have a look at aspectj plugin
for maven 1.1
hth
marco
On 2/13/07, Kaare Nilsen <[EMAIL PROTECTED]> wrote:
On 13/02/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> hi,
> IF you have patience, i'll post a pom.xml as soon as i get home ....
my
> app using aspectj for maven1.1...now i have converted it to maven2
for maven2 you could use this plugin :
http://mojo.codehaus.org/aspectj-maven-plugin
>
> it's a webap though....
Would not matter. Just put the aspectj pluging configuration in your
modules containing source and everything shoould work fine
>
> hth
> marco
>
> On 2/13/07, Build Admin <[EMAIL PROTECTED]> wrote:
> >
> > Hi
> > How to build aspectj project with maven 1.1?
> > Can anyone suggest useful link and dependency files required?
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]