Avro, mail # dev - Re: Need to reference IDL defined in a JAR/seperate project - 2014-04-07, 17:27
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: Need to reference IDL defined in a JAR/seperate project
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:
 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB