Sure ...
I used "maven-antrun-plugin" and I wrote the following in to the
<configuration> section of this plug-in:
<tasks>
<ant antfile="D:\my_maven_project\build.xml">
<target name="rpm"/>
</ant>
</tasks>
In the "build.xml", you just copy all the contents of redline (posted
earlier) into this file.
In my "my_maven_project", I have both pom.xml,build.xml.
Also, you have to specify the "redline" dependency into POM.
Then, mvn install ... you will have your source package into RPM package.
I used in this way & succeeded.
------------------------------------------------------------------------------------------
Karl Heinz Marbaise wrote:
>
> Hi,
> it would be great if you post your solution...
> Kind regards
> Karl Heinz Marbaise
>
-----
thanks,
--
View this message in context:
http://old.nabble.com/Custom-Ant-Task-in-Maven-tp28210289p28215611.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]