benas/adp4j — pull request #1 by natlantisprog (2013-11-04 22:26:52+00:00)
Title:  Add the annotation @MavenProperty for fetching maven version id

MavenProperty.java > Declaration of the annotation with 3 key values ( key searched, the groupId et the Artifact where is the pom wanted )

PropertiesInjectorImpl.java > We add our new Annotation
MavenAnnotationProcessor.java > The gear process of the annotation which is fetching into META-INF datas the version information

FOR TESTS :
Bean.java > we add pomVersion attribute wich contains via @MavenProperty the key version of commons-beanutils dependency
PropertiesInjectorTest.java > We assert that the version ID is correctly fetched

pom.xml > We upgrade to 1.1-SNAPSHOT
README > Add of some explanations about the new @MavenProperty annotation