ObjectDB ObjectDB

Issue #2238: Feature suggestion: Improved Maven Enhancer support

Type: Feature RequestVersion: 2.7.4_01Priority: NormalStatus: ActiveReplies: 1
#1

There may a way to achieve recursive application of the enhancer using the maven plugin approach using maven tricks, but the current way of specifying arguments is a bit tedious when there are lots of entities in different packages (and also a bit error prone, because you need to remember add a new argument each time an entity is added in a new package):

     <configuration>
        <mainClass>com.objectdb.Enhancer</mainClass>
        <!-- List of your packages -->
        <arguments>
          <argument>com.x.y.a.*</argument>
          <argument>com.x.y.b.*</argument>
        </arguments>
      </configuration>
--- Webel IT Australia, "The Elements of the Web", Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, https://www.webel.com.au
edit
delete
#2

Agreed. This improvement may require implementing a dedicated ObjectDB Maven plugin. Maybe all the class files in the target directories can be scanned automatically and enhanced if necessary.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
edit
delete

Reply

To post on this website please sign in.