You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2016/04/21 18:42:40 UTC
cxf git commit: Generating the static metamodel
Repository: cxf
Updated Branches:
refs/heads/3.1.x-fixes bb76ab10e -> a108a6e56
Generating the static metamodel
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a108a6e5
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a108a6e5
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a108a6e5
Branch: refs/heads/3.1.x-fixes
Commit: a108a6e56e8e5a112d5c9224c9f278b799ce4d3d
Parents: bb76ab1
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Thu Apr 21 17:42:20 2016 +0100
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Thu Apr 21 17:42:20 2016 +0100
----------------------------------------------------------------------
rt/rs/security/oauth-parent/oauth2/pom.xml | 51 +++++++++++++++++++++++-
rt/rs/security/sso/oidc/pom.xml | 52 +++++++++++++++++++++++--
2 files changed, 98 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/a108a6e5/rt/rs/security/oauth-parent/oauth2/pom.xml
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/pom.xml b/rt/rs/security/oauth-parent/oauth2/pom.xml
index 602b884..eb15709 100644
--- a/rt/rs/security/oauth-parent/oauth2/pom.xml
+++ b/rt/rs/security/oauth-parent/oauth2/pom.xml
@@ -118,9 +118,56 @@
</dependency>
</dependencies>
- <!--
<build>
<plugins>
+ <plugin>
+ <groupId>org.bsc.maven</groupId>
+ <artifactId>maven-processor-plugin</artifactId>
+ <version>3.1.0</version>
+ <executions>
+ <execution>
+ <id>process</id>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <phase>generate-sources</phase>
+ <configuration>
+ <compilerArguments>-Aopenjpa.source=7 -Aopenjpa.metamodel=true</compilerArguments>
+ <processors>
+ <processor>org.apache.openjpa.persistence.meta.AnnotationProcessor6</processor>
+ </processors>
+ <outputDirectory>target/generated-sources/metamodel</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa</artifactId>
+ <version>${openjpa.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.10</version>
+ <executions>
+ <execution>
+ <id>add-source</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>target/generated-sources/metamodel</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!--
<plugin>
<groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-maven-plugin</artifactId>
@@ -148,7 +195,7 @@
</execution>
</executions>
</plugin>
+ -->
</plugins>
</build>
- -->
</project>
http://git-wip-us.apache.org/repos/asf/cxf/blob/a108a6e5/rt/rs/security/sso/oidc/pom.xml
----------------------------------------------------------------------
diff --git a/rt/rs/security/sso/oidc/pom.xml b/rt/rs/security/sso/oidc/pom.xml
index 7efe459..d6a1faf 100644
--- a/rt/rs/security/sso/oidc/pom.xml
+++ b/rt/rs/security/sso/oidc/pom.xml
@@ -85,16 +85,62 @@
<scope>test</scope>
</dependency>
</dependencies>
- <!--
<build>
<plugins>
+ <plugin>
+ <groupId>org.bsc.maven</groupId>
+ <artifactId>maven-processor-plugin</artifactId>
+ <version>3.1.0</version>
+ <executions>
+ <execution>
+ <id>process</id>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <phase>generate-sources</phase>
+ <configuration>
+ <compilerArguments>-Aopenjpa.source=7 -Aopenjpa.metamodel=true</compilerArguments>
+ <processors>
+ <processor>org.apache.openjpa.persistence.meta.AnnotationProcessor6</processor>
+ </processors>
+ <outputDirectory>target/generated-sources/metamodel</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa</artifactId>
+ <version>${openjpa.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.10</version>
+ <executions>
+ <execution>
+ <id>add-source</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>target/generated-sources/metamodel</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!--
<plugin>
<groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-maven-plugin</artifactId>
<version>${openjpa.version}</version>
<configuration>
<includes>
- org/apache/cxf/rs/security/oidc/idp/OidcUserSubject.class,
org/apache/cxf/rs/security/oauth2/common/Client.class,
org/apache/cxf/rs/security/oauth2/common/UserSubject.class,
org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrant,
@@ -116,7 +162,7 @@
</execution>
</executions>
</plugin>
+ -->
</plugins>
</build>
- -->
</project>