[
https://issues.apache.org/jira/browse/AVRO-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977634#action_12977634
]
Scott Carey commented on AVRO-716:
----------------------------------
bq. We also need to get "rat" to run on the content of the source tarball.
This is currently done by Java's build.xml. We could leave that there.
That is probably the easiest thing to do, unless maven's RAT plugin works with
the exclusion list easily. I got it working quickly on the Java tree, but it
complains about a few things that need to be excluded. Does the current java
ant task run RAT for all languages? If so, it should remain an ant task since
Maven won't run RAT outside of its directory tree.
{quote}
As you indicate above, we might also keep driving the interop tests with Ant.
The complication I see is building an appropriate classpath that includes the
dependencies. Any ideas of how to do that? Should we have Ivy read the pom
files and download the jars? Is there a way to get Maven to put all the
dependencies in a directory?
{quote}
We could, but it might be easier to use the Maven facilities for this. It is
easy to have it copy all the dependent jars in one place. Or, we can use the
'failsafe' plugin to run the interop tests as integration tests. Or,
configure a profile with them as a separate set of Unit tests with surefire and
activate that profile from the command line after the build "mvn test -P
interop". I am planning on working on this ticket early next week, along with
the other main tasks to complete the maven migration.
> New Java build: integrate with parent build and remove cruft
> ------------------------------------------------------------
>
> Key: AVRO-716
> URL: https://issues.apache.org/jira/browse/AVRO-716
> Project: Avro
> Issue Type: Task
> Components: build, java
> Reporter: Scott Carey
> Assignee: Scott Carey
> Priority: Blocker
> Fix For: 1.5.0
>
>
> We have legacy ant and ivy items in lang/java that need to be removed or
> reduced.
> 'ant clean' 'and compile' and 'ant test' can simply forward to maven, we
> might still want to have ant drive interop tests, and it is useful to have
> ant around as a tool.
> Additionally, buildbot currently fails and build.sh from the top level does
> not properly build Java.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.