JOMC Changelog

Version 1.0-alpha-19 - Build 2010-03-27T21:37:11+0000

Version Date Developer Action Description
1.0-alpha-2 2009-09-25 schulte2005 ADD Added support for inheriting from multiple implementations to the model and made model validation more strict.
1.0-alpha-2 2009-09-25 schulte2005 ADD Added goal validate-runtime-modules to maven-jomc-plugin.
1.0-alpha-2 2009-09-25 schulte2005 FIX Corrected a MissingResourceException thrown by class org.jomc.model.DefaultModelManager.
1.0-alpha-2 2009-09-25 schulte2005 FIX Corrected an InstantiationException thrown by method getJavaValue of class org.jomc.model.Property for null values.
1.0-alpha-2 2009-09-25 schulte2005 FIX http://jomc.org/model schema updates
  • Corrected text-key selector of texts element.
  • Corrected documentation-key selector of documentation element.
  • Corrected template-key selector of template element.
  • Corrected module-key selector of modules element.
  • Corrected specification-key selector of modules element.
  • Corrected implementation-key selector of modules element.
  • Corrected specification-uniqueness selector of specifications element.
  • Corrected specification-reference-uniqueness selector of specifications element.
  • Corrected implementation-uniqueness selector of implementations element.
  • Corrected implementation-uniqueness selector of implementations element.
  • Corrected dependency-uniqueness selector of dependencies element.
  • Corrected property-name-uniqueness selector of properties element.
  • Corrected property-reference-uniqueness selector of properties element.
  • Corrected message-name-uniqueness selector of messages element.
  • Corrected message-reference-uniqueness selector of messages element.
  • Corrected argument-name-uniqueness selector of arguments element.
  • Corrected argument-index-uniqueness selector of arguments element.
  • Corrected instance-uniqueness selector of instances element.
  • Corrected argument-index-uniqueness selector of instances element.
1.0-alpha-2 2009-09-25 schulte2005 UPDATE http://jomc.org/model schema updates
  • Added deprecated attribute to ModelObject complex type.
  • Added final and override attributes to
    • SpecificationReference
    • Implementation
    • Property
    • PropertyReference
    • Message
    • MessageReference
    complex types.
  • Added abstract attribute to Implementation complex type.
  • Removed parent attribute from Implemenation complex type and added implementations element.
  • Added reference element to Implementations complex type.
  • Added version attribute to ImplementationReference complex type.
1.0-alpha-3 2009-10-01 schulte2005 FIX Updated class org.jomc.tools.JavaClasses to correct a NullPointerException thrown for missing classpath resources.
1.0-alpha-3 2009-10-01 schulte2005 FIX Updated tools to support classes without package.
1.0-alpha-3 2009-10-01 schulte2005 UPDATE Improved error handling of class org.jomc.util.SectionEditor.
1.0-alpha-3 2009-10-01 schulte2005 UPDATE Renamed mojo parameters javaSourceProcessingDisabled and javaClassProcessingDisabled to javaSourceProcessingEnabled and javaClassProcessingEnabled. Renamed corresponding expressions jomc.javaSources.disabled and jomc.javaClasses.disabled to jomc.javaSources.enabled and jomc.javaClasses.enabled.
1.0-alpha-4 2009-10-04 schulte2005 FIX Build updates.
1.0-alpha-5 2009-10-06 schulte2005 FIX Updated class org.jomc.tools.JavaSources to close any writers after merging templates.
1.0-alpha-5 2009-10-06 schulte2005 FIX Corrected a NullPointerException thrown by method getDependency(Object, String) of class org.jomc.ri.DefaultObjectManager when trying to get a dependency of an instance without any dependencies.
1.0-alpha-5 2009-10-06 schulte2005 FIX Corrected a NullPointerException thrown by method getProperty(Object, String) of class org.jomc.ri.DefaultObjectManager when trying to get a property of an instance without any properties.
1.0-alpha-5 2009-10-06 schulte2005 FIX Corrected a NullPointerException thrown by method getMessage(Object, String, Locale, Object) of class org.jomc.ri.DefaultObjectManager when trying to get a message of an instance without any messages.
1.0-alpha-5 2009-10-06 schulte2005 FIX Corrected a NullPointerException thrown by method getLocator(URI) of class org.jomc.ri.DefaultObjectManager when trying to get a locator using an URI with an undefined scheme.
1.0-alpha-5 2009-10-06 schulte2005 FIX Updated class org.jomc.tools.JomcTool to avoid generating implementation source files leading to repeated interface compile errors.
1.0-alpha-5 2009-10-06 schulte2005 UPDATE Updated class org.jomc.tools.JomcTool to support overriding templates. Instead of having to copy all templates from the default profile, only templates differing from the default profile need to be added to new profiles.
1.0-alpha-6 2009-10-08 schulte2005 FIX Updated CLI classes to correctly support the platform encoding when producing output.
1.0-alpha-7 2009-10-12 schulte2005 ADD Added org.jomc.spi.Invoker interface to the jomc-spi artifact to allow customization of object invocations. Added corresponding default implementation classes org.jomc.ri.DefaultInvocation and org.jomc.ri.DefaultInvoker to jomc-ri artifact and updated class org.jomc.ri.DefaultObjectManager.
1.0-alpha-7 2009-10-12 schulte2005 ADD Added parameter modelObjectStylesheet to goals main-java-classes and test-java-classes of the maven-jomc-plugin.
1.0-alpha-7 2009-10-12 schulte2005 FIX Corrected an EmptyStackException thrown by method editLine of class org.jomc.util.SectionEditor when encountering a section end marker without a matching section start marker.
1.0-alpha-7 2009-10-12 schulte2005 FIX Updated class org.jomc.model.DefaultModelManager to correctly maintain the state of an object created using a static factory method.
1.0-alpha-7 2009-10-12 schulte2005 UPDATE Updated command line tool to display illegal XML elements when using the --debug option.
1.0-alpha-8 2009-11-18 schulte2005 ADD Added interface org.jomc.spi.Invocation to the jomc-spi artifact and updated interface org.jomc.spi.Invoker and classes org.jomc.ri.DefaultInvoker, org.jomc.ri.DefaultInvocation and org.jomc.ri.DefaultObjectManager to no longer force the use of the jomc-ri artifact at compile time for customizing invocation handling.
1.0-alpha-8 2009-11-18 schulte2005 ADD Added interface org.jomc.model.ModelObjectValidator and moved validation methods from interface org.jomc.model.ModelManager.
1.0-alpha-8 2009-11-18 schulte2005 ADD Added parameters moduleIncludes and moduleExcludes to class org.jomc.mojo.JomcResourceTransformer.
1.0-alpha-8 2009-11-18 schulte2005 ADD Added options module-includes and module-excludes to the merge-modules command of the command line interface.
1.0-alpha-8 2009-11-18 schulte2005 FIX Corrected a NullPointerException thrown by the resolveEntity method of the EntityResolver returned by method getEntityResolver of class org.jomc.model.DefaultModelManager when given a null public id.
1.0-alpha-8 2009-11-18 schulte2005 FIX Updated the LSResourceResolver returned by method getResourceResolver of class org.jomc.model.DefaultModelManager to correctly support resolving resources of type http://www.w3.org/2001/XMLSchema and to log a warning when used to resolve resources of unsupported type.
1.0-alpha-8 2009-11-18 schulte2005 FIX Corrected a MissingResourceException thrown by the getSchemaResources method of class org.jomc.model.DefaultModelManager when the log level of the instance is lower or equal to Level.FINE and schema resources are found in MANIFEST.MF files.
1.0-alpha-8 2009-11-18 schulte2005 FIX Corrected the 'documents' and 'classpath' options of the command line interface to use the platform path separator instead of a hardcoded ':' character for separating values.
1.0-alpha-8 2009-11-18 schulte2005 FIX Corrected the validateClasses methods of class org.jomc.tools.JavaClasses taking a class loader to correctly build resource names from class names.
1.0-alpha-8 2009-11-18 schulte2005 UPDATE Updated various classes to support programmatic configuration of defaults in addition to system properties.
1.0-alpha-8 2009-11-18 schulte2005 UPDATE Updated to support static factory methods in abstract classes.
1.0-alpha-9 2009-11-20 schulte2005 FIX Updated class org.jomc.ri.DefaultObjectManager to correctly close open streams/readers.
1.0-alpha-9 2009-11-20 schulte2005 UPDATE http://jomc.org/model schema updates
  • Updated class attribute of Specification complex type from required to optional.
1.0-alpha-10 2009-11-27 schulte2005 FIX Corrected the help output of the command line interface to include options 'debug', 'verbose' and 'fail-on-warnings'.
1.0-alpha-10 2009-11-27 schulte2005 FIX Updated class org.jomc.ri.DefaultObjectManager to report errors when initialization fails due to an illegal model.
1.0-alpha-10 2009-11-27 schulte2005 FIX Updated class org.jomc.ri.DefaultInvoker to correctly call the postInvoke method when an exception is thrown by the preInvoke method.
1.0-alpha-10 2009-11-27 schulte2005 FIX Updated class org.jomc.model.Modules to not build instances from implementations not declaring a class.
1.0-alpha-10 2009-11-27 schulte2005 UPDATE Updated classes org.jomc.ri.DefaultObjectManager and org.jomc.ri.DefaultInvocation adding the modules and the class loader corresponding to an invocation to the invocation context.
1.0-alpha-11 2009-12-07 schulte2005 FIX Corrected the getInstance methods of class org.jomc.model.Modules to support collecting xs:any objects not bound with a JAXB context.
1.0-alpha-11 2009-12-07 schulte2005 FIX Added validation of dependency property override constraints to class org.jomc.model.DefaultModelObjectValidator.
1.0-alpha-11 2009-12-07 schulte2005 FIX Updated class org.jomc.tools.JomcTool to stop the getJavaTypeName(org.jomc.model.Property, boolean) method from ignoring the given type of a property when property any holds a non-null value.
1.0-alpha-11 2009-12-07 schulte2005 FIX Removed all appinfo elements with XML namespace http://java.sun.com/xml/ns/jaxb from the jomc-1.0.xsd and jomc-bootstrap-1.0.xsd schemas.
1.0-alpha-11 2009-12-07 schulte2005 FIX Updated the minOccurs facet of the template element reference of the Message complex type of the http://jomc.org/model namespace from 0 to 1.
1.0-alpha-11 2009-12-07 schulte2005 UPDATE Renamed the implementationName attribute of the Instance complex type of the http://jomc.org/model namespace to name.
1.0-alpha-12 2009-12-11 schulte2005 FIX Corrected the createObject method of class org.jomc.model.Modules to stop throwing a NullPointerException when a factory method returns null.
1.0-alpha-13 2010-01-10 schulte2005 ADD Added attribute classDeclaration to Specification and Implementation complex types of the http://jomc.org/model namespace.
1.0-alpha-13 2010-01-10 schulte2005 FIX Updated class org.jomc.model.DefaultModelValidator to use constant report detail identifiers for any caught org.jomc.util.ParseException and org.jomc.util.TokenMgrError exceptions instead of simple class names.
1.0-alpha-13 2010-01-10 schulte2005 FIX Removed the setElement method of class org.jomc.model.ModelValidationReport.Detail and added a corresponding parameter to the constructor making report details immutable.
1.0-alpha-13 2010-01-10 schulte2005 FIX Added validation of message templates to class org.jomc.model.DefaultModelValidator.
1.0-alpha-13 2010-01-10 schulte2005 FIX Added validation of simple type property values or object type values to class org.jomc.model.DefaultModelValidator.
1.0-alpha-13 2010-01-10 schulte2005 FIX Added validation of property types to class org.jomc.model.DefaultModelValidator.
1.0-alpha-13 2010-01-10 schulte2005 FIX Corrected method public List<String> getJavaInterfaceNames( final Implementation implementation, final boolean qualified ) of class org.jomc.tools.JomcTool to ignore specifications with a null class value.
1.0-alpha-13 2010-01-10 schulte2005 FIX Corrected
Can't find bundle for base name org/jomc/mojo/ValidateMainJavaClassesMojo
and
Can't find bundle for base name org/jomc/mojo/ValidateTestJavaClassesMojo
build errors when using -Djomc.javaClasses.enabled=false command line argument.
1.0-alpha-13 2010-01-10 schulte2005 UPDATE Updated methods
  • public String getJavaPackageName( final Specification specification )
  • public String getJavaTypeName( final Specification specification, final boolean qualified )
  • public String getJavaClasspathLocation( final Specification specification )
  • public String getJavaPackageName( final SpecificationReference reference )
  • public String getJavaTypeName( final SpecificationReference reference, final boolean qualified )
  • public String getJavaPackageName( final Implementation implementation )
  • public String getJavaTypeName( final Implementation implementation, final boolean qualified )
  • public String getJavaClasspathLocation( final Implementation implementation )
  • public String getJavaTypeName( final Dependency dependency )
  • public boolean isJavaDefaultPackage( final Specification specification )
  • public boolean isJavaDefaultPackage( final Implementation implementation )
of class org.jomc.tools.JomcTool to return null rather than throwing a NullPointerException when passed a model object with a null class value.
1.0-alpha-13 2010-01-10 schulte2005 UPDATE Split org.jomc.model.ModelManager into org.jomc.model.ModelContext, org.jomc.model.ModelProvider, org.jomc.model.ModelProcessor and org.jomc.model.ModelValidator to add support for extending the model by using the standard META-INF/services extension mechanism.
1.0-alpha-13 2010-01-10 schulte2005 UPDATE Updated class org.jomc.mojo.JomcResourceTransformer to support version 1.3 of the maven-shade-plugin.
1.0-alpha-14 2010-01-16 schulte2005 FIX Corrected method createSchema of class org.jomc.model.DefaultModelContext to throw a org.jomc.model.ModelException when no schemas are found.
1.0-alpha-14 2010-01-16 schulte2005 FIX Corrected method getJavaValue of class org.jomc.model.Property to throw a org.jomc.model.ModelException when missing a value for Java primitive types.
1.0-alpha-14 2010-01-16 schulte2005 FIX Added missing validation of specification properties to class org.jomc.model.DefaultModelValidator.
1.0-alpha-14 2010-01-16 schulte2005 UPDATE Updated method getJavaValue of class org.jomc.model.Property to support retrieving values from value classes and based validation methods of class org.jomc.model.ModelContext on SAX instead of JAXB. See the CLIRR report.
1.0-alpha-14 2010-01-16 schulte2005 UPDATE Updated method getMessage of interface org.jomc.ObjectManager and the corresponding implementation-messages.vm template to use a var-args parameter for the format arguments. See the CLIRR report.
1.0-alpha-14 2010-01-16 schulte2005 UPDATE Updated class org.jomc.model.DefaultModelValidator to validate the Java value of properties.
1.0-alpha-15 2010-01-19 schulte2005 ADD Added jaxp-api-1.4.2.jar and jaxp-ri-1.4.2.jar to the CLI distribution and updated the README file.
1.0-alpha-15 2010-01-19 schulte2005 FIX Updated method createSchema of class org.jomc.model.DefaultModelContext to make use of the context's LSResourceResolver when creating a schema instance. In previous versions, schema resources were resolved remotely when imported or included in another schema.
1.0-alpha-15 2010-01-19 schulte2005 FIX Added a ClassLoader argument to method getJavaValue of class org.jomc.model.Property. See the CLIRR report.
1.0-alpha-15 2010-01-19 schulte2005 UPDATE Updated methods
  • setCharacterStream
  • setByteStream
  • setStringData
  • setSystemId
  • setPublicId
  • setBaseURI
  • setEncoding
  • setCertifiedText
of the LSInput implementation returned by method resolveResource of the LSResourceResolver implementation returned by method createResourceResolver of class org.jomc.model.DefaultModelContext to log a warning instead of throwing an UnsupportedOperationException.
1.0-alpha-15 2010-01-19 schulte2005 UPDATE Updated the default location searched for transformers from META-INF/jomc.xslt to META-INF/jomc.xsl.
1.0-alpha-16 2010-01-19 schulte2005 ADD Added goal validate-test-modules to the maven-jomc-plugin and renamed the validate-runtime-modules goal to validate-main-modules.
1.0-alpha-16 2010-01-19 schulte2005 ADD Added Services and Service complex type declarations to the jomc-bootstrap-1.0.xsd schema.
1.0-alpha-16 2010-01-19 schulte2005 ADD Added interface org.jomc.model.bootstrap.ServiceProvider and corresponding default implementation class org.jomc.model.bootstrap.DefaultServiceProvider supporting service definitions read from META-INF/jomc-services.xml XML resources rather than META-INF/services/* resources to support ordering of services. See the CLIRR report.
1.0-alpha-16 2010-01-19 schulte2005 ADD Added options schema-location, service-location and transformer-location to the command line application.
1.0-alpha-16 2010-01-19 schulte2005 FIX Updated the maven-jomc-plugin to correct a NullPointerException thrown when logging caught exceptions with a null message and to stop logging caught exceptions multiple times.
1.0-alpha-16 2010-01-19 schulte2005 FIX Updated the maven-jomc-plugin to stop cacheing class loader and tool instances correcting problems with forked lifecycles.
1.0-alpha-16 2010-01-19 schulte2005 FIX Updated class org.jomc.model.bootstrap.BootstrapContext to validate read bootstrap documents against the bootstrap schema.
1.0-alpha-16 2010-01-19 schulte2005 FIX Updated class org.jomc.ri.DefaultObjectManager to translate any line separators in message templates to the system's line separator based on system property line.separator.
1.0-alpha-16 2010-01-19 schulte2005 UPDATE Renamed parameters jomc.javaSources.enabled and jomc.javaClasses.enabled of the maven-jomc-plugin to jomc.sourceProcessing and jomc.classProcessing. Added parameters jomc.modelProcessing, jomcModuleName, jomcTestModuleName, serviceLocation, schemaLocation, transformerLocation, classesDirectory and testClassesDirectory.
1.0-alpha-16 2010-01-19 schulte2005 UPDATE Updated the default location searched for schema resources of class org.jomc.model.bootstrap.DefaultSchemaProvider from META-INF/jomc-bootstrap.xml to META-INF/jomc-schemas.xml.
1.0-alpha-16 2010-01-19 schulte2005 UPDATE Updated class org.jomc.mojo.JomcResourceTransformer to support META-INF/jomc-services.xml resources.
1.0-alpha-17 2010-03-07 schulte2005 ADD Added jomc-tools-1.0.xsd schema to the jomc-tools artifact and updated class org.jomc.tools.SourceFileProcessor to support configuration of source file sections.
1.0-alpha-17 2010-03-07 schulte2005 ADD Added parameters whitespacesPerIndent and indentationCharacter to the manage-main-sources and manage-test-sources goals of the maven-jomc-plugin.
1.0-alpha-17 2010-03-07 schulte2005 ADD Added parameter resourceProcessing to the maven-jomc-plugin and added goals write-main-resources and write-test-resources.
1.0-alpha-17 2010-03-07 schulte2005 ADD Added options whitespaces-per-indent and indentation-character to the command line application.
1.0-alpha-17 2010-03-07 schulte2005 ADD Added methods for accessing elements and objects from any properties of model objects. See the CLIRR report.
1.0-alpha-17 2010-03-07 schulte2005 ADD Added profile 'jomc-java-bundles'.
1.0-alpha-17 2010-03-07 schulte2005 UPDATE Renamed classes org.jomc.tools.JavaBundles to org.jomc.tools.ResourceFileProcessor, org.jomc.tools.JavaClasses to org.jomc.tools.ClassFileProcessor and org.jomc.tools.JavaSources to org.jomc.tools.SourceFileProcessor.
1.0-alpha-17 2010-03-07 schulte2005 UPDATE Renamed the main-java-sources goal to manage-main-sources, the test-java-sources goal to manage-test-sources, the main-java-classes goal to commit-main-classes, the validate-main-java-classes goal to validate-main-classes, the test-java-classes goal to commit-test-classes and the validate-test-java-classes goal to validate-test-classes.
1.0-alpha-17 2010-03-07 schulte2005 UPDATE Renamed the generate-java-bundles command to generate-resources, the commit-java-classes command to commit-classes, the validate-java-classes command to validate-classes, and the manage-java-sources command to manage-sources.
1.0-alpha-18 2010-03-19 schulte2005 FIX Updated method getJavadocComment of class org.jomc.tools.JomcTool to correctly support platform line separators.
1.0-alpha-18 2010-03-19 schulte2005 FIX Updated the command line application to filter out resources provided with the -classpath option already part of the application.
1.0-alpha-18 2010-03-19 schulte2005 UPDATE Updated method getVelocityEngine of class org.jomc.tools.JomcTool to configure new VelocityEngine instances to log all messages at Level.FINE.
1.0-alpha-18 2010-03-19 schulte2005 UPDATE Updated the debug option of the command line application to take an optional log level argument.
1.0-alpha-19 2010-03-27 schulte2005 ADD Added methods getDefaultProviderLocation, setDefaultProviderLocation, getProviderLocation, setProviderLocation, getDefaultPlatformProviderLocation, setDefaultPlatformProviderLocation, getPlatformProviderLocation, setPlatformProviderLocation, getDefaultBootstrapSchemaSystemId, setDefaultBootstrapSchemaSystemId, getBootstrapSchemaSystemId and setBootstrapSchemaSystemId to class org.jomc.model.bootstrap.DefaultBootstrapContext. See the CLIRR report.
1.0-alpha-19 2010-03-27 schulte2005 ADD Added parameters providerLocation and platformProviderLocation to the maven-jomc-plugin.
1.0-alpha-19 2010-03-27 schulte2005 ADD Added parameters serviceLocation, schemaLocation, providerLocation, platformProviderLocation and bootstrapSchemaSystemId to class org.jomc.mojo.JomcResourceTransformer of the maven-jomc-plugin.
1.0-alpha-19 2010-03-27 schulte2005 ADD Added options provider-location and platform-provider-location to the command line application.
1.0-alpha-19 2010-03-27 schulte2005 ADD Added methods getDefaultTemplateProfile and setDefaultTemplateProfile to class org.jomc.tools.JomcTool. See the CLIRR report.
1.0-alpha-19 2010-03-27 schulte2005 ADD Added parameter defaultTemplateProfile to the maven-jomc-plugin.
1.0-alpha-19 2010-03-27 schulte2005 ADD Added option default-template-profile to the command line application.
1.0-alpha-19 2010-03-27 schulte2005 FIX Corrected a ClassCastException thrown by methods findModules, processModules and validateModel of class org.jomc.model.DefaultModelContext with illegal configuration resources.
1.0-alpha-19 2010-03-27 schulte2005 FIX Corrected a ClassCastException thrown by methods findSchemas and findServices of class org.jomc.model.bootstrap.BootstrapContext with illegal configuration resources.
1.0-alpha-19 2010-03-27 schulte2005 FIX Corrected a MissingResourceException thrown by methods of class org.jomc.ri.DefaultObjectManager for unsupported multiplicity values.
1.0-alpha-19 2010-03-27 schulte2005 UPDATE Renamed the profile option of the command line application to template-profile.
1.0-alpha-19 2010-03-27 schulte2005 UPDATE Generified method getObject(Class) of interface org.jomc.ObjectManager.