I divide this into 2 parts first. Working on this issue for quite sometime
now.

1) Maven in my case is able to deploy/publish to repository/artifactory the
only .jar defined in pom file.
After that it simply ignores. if written inside ant build or not.
I have merged entire ant build code inside pom file to get my thing working,
as classpath issues were kiiling me and normally ant doesn't even supprt
publioshing to artifactory.


2) In case u are able to deploy to repository using ant, then here is the
simple solution what i did.
using antrun plugin in your pom file call your ant build inside
anttasks(target now; as tasks is deprecated).
For classpath issues look into maven-dependency-plugin. here you can
configure, to copy maven dependencies into a folder without ant being
involved at all.

Hope this helps.

--
View this message in context: 
http://maven.40175.n5.nabble.com/Using-maven-with-ant-tp3256022p4498369.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]

Reply via email to