MODE-1128 Eliminated the dependency on JCIP and its annotationsChanged the POM and Java source to eliminate the dependency on JCIP annotations. ModeShapewas using only 4 of the annotations (number of corresponding import statements is listed in parentheses):net.jcip.annotations.GuardedBy (10)net.jcip.annotations.Immutable (310)net.jcip.annotations.NotThreadSafe (95)net.jcip.annotations.ThreadSafe (97)These were replaced with new annotations in 'org.modeshape.common.annotation' that are semanticallyand lexically the same as the JCIP annotations.The 'net.jcip' dependency was removed from all POMs. This change should be backward compatible.If user code is explicitly using these annotations within Maven projects, they will have to have explicitdependencies, and when upgrading to 2.5.0.Beta2 they will not have any issues. Similarly, non-Mavenprojects will already have the JCIP JAR on their classpath, and can remove the library if they are notexplicitly using it.All unit and integration tests continue to pass with these changes.
MODE-824 Improved the Reflection.Properties framework to be more flexible about where it looks for annotations (they can be on fields, getters or setters), allowing for Java properties that are not mapped to fields. Also added annotations to the InMemoryRepositorySource and InfinispanSource classes.All unit and integration tests pass.git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2118 76366958-4244-0410-ad5e-bbfabb93f86b
MODE-824 Changed how the representations of the properties are obtained from an object. Now, the Reflection class does all the work, and is able to find the category, label, and description using annotations rather than requiring the class implement an interface. This is much cleaner, and works with any POJO class. Additional unit tests were written to verify the annotations can reference the I18n internationalized messages or a literal value.git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2110 76366958-4244-0410-ad5e-bbfabb93f86b