[
https://issues.apache.org/jira/browse/CTAKES-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17652595#comment-17652595
]
Richard Eckart de Castilho commented on CTAKES-483:
---------------------------------------------------
Mixing ant into Maven builds can be useful, but it also kind of makes the stuff
more complex to maintain. You might consider using {{checksum-maven-plugin}}
instead. Here an example of how we use it in Apache UIMA:
{noformat}
<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<executions>
<!-- POM checksum is calculated separately above using antrun -
see comment there -->
<execution>
<id>artifacts-checksum</id>
<goals>
<goal>artifacts</goal>
</goals>
<configuration>
<attachChecksums>true</attachChecksums>
<appendFilename>true</appendFilename>
<algorithms>
<algorithm>SHA-512</algorithm>
</algorithms>
</configuration>
</execution>
</executions>
</plugin>
{noformat}
> Migrate Ant build scripts to Maven
> ----------------------------------
>
> Key: CTAKES-483
> URL: https://issues.apache.org/jira/browse/CTAKES-483
> Project: cTAKES
> Issue Type: Improvement
> Reporter: Alex Zbarcea
> Priority: Major
>
> I left also {{target}} because it is unclear where these {{ant}}
> {{build.xml}} files are generated too:
> {code}
> $ find . -name "build*.xml"
> ./ctakes-assertion/build.xml
> ./ctakes-ytex-uima/target/antrun/build-main.xml
> ./ctakes-ytex/target/antrun/build-main.xml
> ./ctakes-ytex/scripts/data/build.xml
> ./ctakes-ytex/scripts/build-nonasf.xml
> ./ctakes-ytex/scripts/build-setup.xml
> ./ctakes-ytex/scripts/build-classpath.xml
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)