Hi there,

I just uploaded a first version of a maven plugin to https://issues.apache.org/jira/browse/SOLR-1888.

I was tired of copy pasting the schema.xml to a java class and create fields and @Field annotations in every project by hand ;) . So this plugin works like xsd source generators and changes only have to occur in the schema.xml.

If you have a solrj maven project and an annotated bean representing the schema and all fields, it will generate this bean automatically during generate-sources phase and add.

Generation is still very simple and needs some health checks (valid java names out of field names etc.) but you should get the picture.

If this sounds interesting to people, please give it a try and add your opinions...

regards,
matthias



PS: Tried to send this mail to dev.lucen before without success from another account , so please forgive some doublepost if it arrives eventually later...


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to