Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro, mail # dev - Need to reference IDL defined in a JAR/seperate project


+
renjith varma 2014-04-07, 17:09
Copy link to this message
-
Re: Need to reference IDL defined in a JAR/seperate project
Micah Huff 2014-04-07, 17:27
Renjith--

There is a way to do this. If you include the schema directory you have defined as a resource in your JAR, project2 can then depend on an artifact (project1). Once you've included that dependency, we're using the maven-dependency-plugin's goal of "unpack-dependencies" to extract those IDL files into a known directory. Once they've been extracted, you can depend on them at compile time and then delete that directory post generate-sources stage in your build.

Micah
On Mon, Apr 07, 2014 at 05:09:18PM +0000, renjith varma wrote: