You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2018/10/21 09:26:28 UTC
[myfaces] branch master updated: cleanup poms
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/master by this push:
new 903885c cleanup poms
903885c is described below
commit 903885c8660e61368139aea8e325acfae250e90c
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Sun Oct 21 11:26:25 2018 +0200
cleanup poms
---
api/pom.xml | 54 +++----------
bundle/pom.xml | 2 +
impl/pom.xml | 32 +++-----
.../myfaces/view/facelets/pss/acid/common.xhtml | 1 -
parent/pom.xml | 92 ++++------------------
5 files changed, 40 insertions(+), 141 deletions(-)
diff --git a/api/pom.xml b/api/pom.xml
index 8608770..28301df 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -563,7 +563,6 @@
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-jsdoc-plugin</artifactId>
<version>1.0-beta-1</version>
-
<executions>
<execution>
<phase>generate-resources</phase>
@@ -571,9 +570,7 @@
<goal>jsdoc</goal>
</goals>
</execution>
-
</executions>
-
</plugin>
</plugins>
</build>
@@ -583,79 +580,56 @@
<dependencies>
- <!--
- NOTE that all versions and scopes are defined in the parent dependencyManagement section
- (except for optional=true due to a maven bug).
- -->
- <!-- Servlet 4.0 -->
+ <!-- Java EE APIs -->
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
</dependency>
- <!-- JSP 2.1 -->
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-websocket-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-el-api</artifactId>
+ </dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jsp_2.2_spec</artifactId>
</dependency>
-
- <!-- JSTL 1.2 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
-
- <!-- el 2.2 (javax.el.*) -->
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-el_2.2_spec</artifactId>
- </dependency>
-
- <!-- bean-validation 1.0 (javax.validation.*) -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-validation_1.0_spec</artifactId>
- <optional>true</optional> <!-- optional does not completely work in dependencyManagement (MNG-1630) -->
- </dependency>
-
- <!-- builder-annotations like @JSFWebConfigParam -->
- <dependency>
- <groupId>org.apache.myfaces.buildtools</groupId>
- <artifactId>myfaces-builder-annotations</artifactId>
</dependency>
-
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jcdi_1.1_spec</artifactId>
</dependency>
-
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-atinject_1.0_spec</artifactId>
</dependency>
+
+ <!-- builder-annotations like @JSFWebConfigParam -->
<dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-websocket-api</artifactId>
+ <groupId>org.apache.myfaces.buildtools</groupId>
+ <artifactId>myfaces-builder-annotations</artifactId>
</dependency>
<dependency>
<groupId>de.berlios.jsunit</groupId>
<artifactId>jsunit-maven2-plugin</artifactId>
</dependency>
-
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <scope>test</scope> <!-- normally scope=compile, but here only for tests needed - TODO jakobk really? -->
- </dependency>
-
</dependencies>
<reporting>
-
<plugins>
-
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
@@ -735,9 +709,7 @@
</reportSet>
</reportSets>
</plugin>
-
</plugins>
-
</reporting>
</project>
diff --git a/bundle/pom.xml b/bundle/pom.xml
index 2daa582..3d8091b 100644
--- a/bundle/pom.xml
+++ b/bundle/pom.xml
@@ -122,11 +122,13 @@
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
+ <version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
+ <version>${project.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/impl/pom.xml b/impl/pom.xml
index 2b4f4f1..d6d94e3 100644
--- a/impl/pom.xml
+++ b/impl/pom.xml
@@ -679,7 +679,6 @@
</Export-Package>
<Import-Package>
!org.apache.myfaces.*,
- com.google.inject;version="[1.0.0, 2.0.0)";resolution:=optional,
javax.annotation,
javax.crypto,
javax.crypto.spec,
@@ -1013,6 +1012,10 @@
<artifactId>tomcat-websocket-api</artifactId>
</dependency>
<dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-el-api</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jsp_2.2_spec</artifactId>
</dependency>
@@ -1022,10 +1025,6 @@
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-el_2.2_spec</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-validation_1.0_spec</artifactId>
</dependency>
<dependency>
@@ -1048,6 +1047,10 @@
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-atinject_1.0_spec</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-interceptor_1.2_spec</artifactId>
+ </dependency>
<!-- builder-annotations like @JSFWebConfigParam -->
<dependency>
@@ -1099,31 +1102,16 @@
<!-- We need a real EL implementation for test ui:param tag,
because myfaces-test MockExpressionFactory is not designed to
- handle VariableMapper stuff (see IncludeParamTestCase). Needed
- to update to 7.0.0 for method invocation to work. Later
- versions cause failures and would require org.apache.el.parser.SKIP_IDENTIFIER_CHECK=true
- to be set.-->
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-el-api</artifactId>
- <version>7.0.0</version>
- <scope>test</scope>
- </dependency>
+ handle VariableMapper stuff (see IncludeParamTestCase).-->
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jasper-el</artifactId>
- <version>7.0.0</version>
+ <version>9.0.2</version>
<scope>test</scope>
</dependency>
<!-- Openwebbeans for CDI Test -->
<dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-interceptor_1.2_spec</artifactId>
- <version>1.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.apache.openwebbeans</groupId>
<artifactId>openwebbeans-impl</artifactId>
<version>${openwebbeans.version}</version>
diff --git a/impl/src/test/resources/org/apache/myfaces/view/facelets/pss/acid/common.xhtml b/impl/src/test/resources/org/apache/myfaces/view/facelets/pss/acid/common.xhtml
index e83d619..50490ae 100644
--- a/impl/src/test/resources/org/apache/myfaces/view/facelets/pss/acid/common.xhtml
+++ b/impl/src/test/resources/org/apache/myfaces/view/facelets/pss/acid/common.xhtml
@@ -19,7 +19,6 @@
<body>
<h1>SystemEvent Acid Test</h1>
- <h3>JSF Implementation: #{facesContext.application.class.package.implementationTitle} #{facesContext.application.class.package.implementationVersion}</h3>
<p>
This WAR tests aspects of JSF SystemEvent handling. Click on each test below:
diff --git a/parent/pom.xml b/parent/pom.xml
index 10ec941..5bccdfb 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -323,48 +323,32 @@
<dependencyManagement>
-
- <!--
- Defines all dependencies used in this project.
- All other project-modules reference the dependencies from here only by groupId and artifactId.
- -->
<dependencies>
-
- <!-- INTERNAL DEPENDENCIES -->
-
- <!-- myfaces-api -->
+ <!-- Java EE APIs -->
<dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <version>${project.version}</version>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-servlet-api</artifactId>
+ <version>9.0.2</version>
+ <scope>provided</scope>
</dependency>
-
- <!-- myfaces-impl -->
<dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-impl</artifactId>
- <version>${project.version}</version>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-websocket-api</artifactId>
+ <version>9.0.2</version>
+ <scope>provided</scope>
</dependency>
-
- <!-- SPEC DEPENDENCIES -->
-
- <!-- Servlet 4.0 -->
<dependency>
<groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-servlet-api</artifactId>
+ <artifactId>tomcat-el-api</artifactId>
<version>9.0.2</version>
<scope>provided</scope>
</dependency>
-
- <!-- JSP 2.2 -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jsp_2.2_spec</artifactId>
<version>1.2</version>
<scope>provided</scope>
</dependency>
-
- <!-- JSTL 1.2 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
@@ -378,77 +362,50 @@
</exclusion>
</exclusions>
</dependency>
-
- <!-- annotations 1.2 (javax.annotation.*) -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-annotation_1.2_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
-
- <!-- el 2.2 (javax.el.*) -->
- <!--
- NOTE that we are also compatible with el 1.0, but we need to use el 2.2 as
- compile-dependency, because our ValueExpression wrappers need to support getValueReference().
- -->
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-el_2.2_spec</artifactId>
- <version>1.0.4</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- bean-validation 1.0 (javax.validation.*) -->
- <!-- NOTE that this must be compile + optional -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-validation_1.0_spec</artifactId>
<version>1.1</version>
- <scope>compile</scope>
- <optional>true</optional>
+ <scope>provided</scope>
</dependency>
-
- <!-- jpa 3.0 - needed in AllAnnotationLifecycleProvider -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jpa_3.0_spec</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
-
- <!-- ejb 3.0 - needed in AllAnnotationLifecycleProvider -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-ejb_3.0_spec</artifactId>
<version>1.0.1</version>
<scope>provided</scope>
</dependency>
-
- <!-- CDI 1.0 -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jcdi_1.1_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
-
- <!-- Injection -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-atinject_1.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
-
- <!-- JSR356 Websockets -->
<dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-websocket-api</artifactId>
- <version>9.0.2</version>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-interceptor_1.2_spec</artifactId>
+ <version>1.0</version>
<scope>provided</scope>
</dependency>
+
<!-- UTILITY DEPENDENCIES -->
<!-- builder-annotations like @JSFWebConfigParam -->
@@ -473,8 +430,6 @@
</dependency>
- <!-- SPI DEPENDENCIES (compile + optional) -->
-
<!-- tomcat 7 support (LifecycleProvider) -->
<dependency>
<groupId>org.apache.tomcat</groupId>
@@ -483,7 +438,6 @@
<scope>provided</scope>
</dependency>
- <!-- TEST DEPENDENCIES -->
<dependency>
<groupId>junit</groupId>
@@ -527,22 +481,6 @@
<scope>test</scope>
</dependency>
- <!-- We need a real EL implementation for test ui:param tag,
- because myfaces-test MockExpressionFactory is not designed to
- handle VariableMapper stuff (see IncludeParamTestCase) -->
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>el-api</artifactId>
- <version>9.0.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>jasper-el</artifactId>
- <version>9.0.2</version>
- <scope>test</scope>
- </dependency>
-
</dependencies>
</dependencyManagement>