Skip to content

Commit

Permalink
[#1802] Switch samples-jsf from javax to jakarta
Browse files Browse the repository at this point in the history
  • Loading branch information
grgrzybek committed Jun 21, 2023
1 parent 103c058 commit b69a627
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.cmpn</artifactId>
<artifactId>org.osgi.service.servlet</artifactId>
<scope>provided</scope>
</dependency>

<!-- JavaEE -->
<!-- JakartaEE -->

<dependency>
<groupId>jakarta.servlet</groupId>
Expand Down
8 changes: 4 additions & 4 deletions samples/samples-jsf/war-jsf23-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<Import-Package>
javax.enterprise.context,
javax.inject,
javax.servlet.*;version="[3.1,5)",
jakarta.servlet.*;version="[3.1,5)",
javax.faces.annotation,
javax.faces.bean,
javax.faces.view,
Expand Down Expand Up @@ -92,8 +92,8 @@
org.apache.aries.cdi.extension.el.jsp.ELJSPExtension CDI extension
which registers anonymous ServletContextListener
which calls:
- javax.servlet.jsp.JspApplicationContext.addELResolver(javax.enterprise.inject.spi.BeanManager.getELResolver())
- javax.servlet.jsp.JspApplicationContext.addELContextListener(new org.jboss.weld.module.web.el.WeldELContextListener())
- jakarta.servlet.jsp.JspApplicationContext.addELResolver(javax.enterprise.inject.spi.BeanManager.getELResolver())
- jakarta.servlet.jsp.JspApplicationContext.addELContextListener(new org.jboss.weld.module.web.el.WeldELContextListener())
-->
osgi.cdi.extension;filter:="(osgi.cdi.extension=aries.cdi.el.jsp)"
</Require-Capability>
Expand Down Expand Up @@ -136,7 +136,7 @@
<scope>provided</scope>
</dependency>

<!-- JavaEE -->
<!-- JakartaEE -->

<dependency>
<groupId>jakarta.servlet</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
package org.ops4j.pax.web.samples.warjsf23cdi;

import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import jakarta.servlet.Filter;
import jakarta.servlet.FilterChain;
import jakarta.servlet.FilterConfig;
import jakarta.servlet.ServletException;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;

public class EncodingFilter implements Filter {

Expand Down
10 changes: 5 additions & 5 deletions samples/samples-jsf/war-jsf23-embedded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
</supportedProjectTypes>
<instructions>
<Import-Package>
javax.el,
jakarta.el,
javax.websocket.*,
javax.servlet.jsp.jstl.*;version="1.2",
javax.servlet.jsp.*;version="2.3",
javax.servlet.*;version="[3.1,5)",
jakarta.servlet.jsp.jstl.*;version="1.2",
jakarta.servlet.jsp.*;version="2.3",
jakarta.servlet.*;version="[3.1,5)",
javax.naming,

<!-- for InstanceManager needed by MyFaces' Tomcat7AnnotationInjectionProvider -->
Expand Down Expand Up @@ -109,7 +109,7 @@
<scope>provided</scope>
</dependency>

<!-- JavaEE -->
<!-- JakartaEE -->

<dependency>
<groupId>jakarta.servlet</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
package org.ops4j.pax.web.samples.warjsf23;

import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import jakarta.servlet.Filter;
import jakarta.servlet.FilterChain;
import jakarta.servlet.FilterConfig;
import jakarta.servlet.ServletException;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;

public class EncodingFilter implements Filter {

Expand Down
2 changes: 1 addition & 1 deletion samples/samples-jsf/war-jsf23-wired/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<scope>provided</scope>
</dependency>

<!-- JavaEE -->
<!-- JakartaEE -->

<dependency>
<groupId>jakarta.servlet</groupId>
Expand Down
10 changes: 5 additions & 5 deletions samples/samples-jsf/war-primefaces-embedded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
</supportedProjectTypes>
<instructions>
<Import-Package>
javax.el,
jakarta.el,
javax.websocket.*,
javax.servlet.jsp.jstl.*;version="1.2",
javax.servlet.jsp.*;version="2.3",
javax.servlet.*;version="[3.1,5)",
jakarta.servlet.jsp.jstl.*;version="1.2",
jakarta.servlet.jsp.*;version="2.3",
jakarta.servlet.*;version="[3.1,5)",
javax.naming,

<!-- for InstanceManager needed by MyFaces' Tomcat7AnnotationInjectionProvider -->
Expand Down Expand Up @@ -110,7 +110,7 @@
<scope>provided</scope>
</dependency>

<!-- JavaEE -->
<!-- JakartaEE -->

<dependency>
<groupId>jakarta.servlet</groupId>
Expand Down
2 changes: 1 addition & 1 deletion samples/samples-jsf/war-primefaces-wired/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<scope>provided</scope>
</dependency>

<!-- JavaEE -->
<!-- JakartaEE -->

<dependency>
<groupId>jakarta.servlet</groupId>
Expand Down

0 comments on commit b69a627

Please sign in to comment.