Yes, I have changed it in another way, It seems can work now, like this:
POM.xml---------------------------------------------------
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<tasks>
<echo>ant compile beehive pageflows ${beehive.dir}</echo>
<ant antfile="${basedir}/build.xml" inheritRefs="true">
<target name="build-pageflows"/>
<property name="beehive.dir" value="${beehive.dir}"/>
</ant>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
Build.xml-------------------------------------------------------
<project name="build-pageflows" basedir=".">
<import
file="${beehive.dir}/apache-beehive-incubating-1.0m1/beehive-imports.xml"/>
<import
file="${beehive.dir}/apache-beehive-incubating-1.0m1/ant/beehive-tools.xml"/>
<target name="build-pageflows">
<path id="pageflow.classpath">
<pathelement location="${basedir}/target/classes"/>
<pathelement location="${basedir}/target/WEB-INF/classes"/>
<path refid="maven.compile.classpath"/>
</path>
<build-pageflows
srcdir="${basedir}/src/main/WEB-INF/src"
classpathref="pageflow.classpath"
webcontentdir="${basedir}/src/main"
tempdir="${basedir}/target/temp"
weboutputdir="${basedir}/target">
</build-pageflows>
</target>
</project>
Thanks,
----------------------------------------------
Qiang Wang [Kevin]
-----Original Message-----
From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
Sent: 2006年2月21日 22:32
To: Maven Users List
Subject: Re: How to build Beehive pageflows in Maven2, maven plugin or antrun
Since I have never used Beehive, it's hard to help so you need to be a
little bit more specific.
On 2/21/06, Kevin Wang <[EMAIL PROTECTED]> wrote:
> Urgent, need your help!
>
>
>
> Thanks,
>
> Kevin
>
> _______________________________________________________________________
> Notice: This email message, together with any attachments, may contain
> information of BEA Systems, Inc., its subsidiaries and affiliated
> entities, that may be confidential, proprietary, copyrighted and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
>
>
--
Alexandre Poitras
Québec, Canada
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, proprietary, copyrighted and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]