This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 0dfae168fe ISIS-3041: minor doc update on DN enhancer
0dfae168fe is described below
commit 0dfae168fe5c962da471466ccfd9e2795229a209
Author: Andi Huber <[email protected]>
AuthorDate: Tue Jul 12 07:41:50 2022 +0200
ISIS-3041: minor doc update on DN enhancer
- adds pom.xml fragment showing isis-app-starter-datanucleusenhance
Maven profile
---
.../jdo/adoc/modules/ROOT/pages/enhancer.adoc | 24 +++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/persistence/jdo/adoc/modules/ROOT/pages/enhancer.adoc
b/persistence/jdo/adoc/modules/ROOT/pages/enhancer.adoc
index 9c209c6c3e..80afb9e6ed 100644
--- a/persistence/jdo/adoc/modules/ROOT/pages/enhancer.adoc
+++ b/persistence/jdo/adoc/modules/ROOT/pages/enhancer.adoc
@@ -1,4 +1,4 @@
-= Enhancer
+= Enhancer (DataNucleus)
:Notice: Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership. The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by
applicable law or ag [...]
@@ -10,5 +10,27 @@ With JDO, this is accomplished by post-processing -- or
_enhancing_ -- the compi
This is typically performed using the `datanucleus:enhance` Maven plugin.
This is defined as the `isis-app-starter-datanucleusenhance` profile in the
xref:docs:parent-pom:about.adoc[Parent POM], and is activated by the presence
of the `logging-dn-enhance.properties` file.
+[source,xml]
+.App Starter Parent POM (pom.xml)
+----
+<profile>
+ <id>isis-app-starter-datanucleusenhance</id>
+ <activation>
+ <file>
+ <exists>${basedir}/logging-dn-enhance.properties</exists>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.datanucleus</groupId>
+ <artifactId>datanucleus-maven-plugin</artifactId>
+ ..
+ </plugin>
+ </plugins>
+ </build>
+<profile>
+----
+
Some IDEs (notably Eclipse) provide plugins to run the enhancer as part of
their compile process.
See xref:setupguide:ROOT:about.adoc[setup guides] for more details.