Skip to content

Commit

Permalink
Clean up schemas and other stuff... (#237)
Browse files Browse the repository at this point in the history
* Clean up schemas and other stuff...

Signed-off-by: Ivar Grimstad <ivar.grimstad@eclipse-foundation.org>

* rollback wrong removal of encoding

Signed-off-by: Ivar Grimstad <ivar.grimstad@eclipse-foundation.org>

* Limit travis resouces. TCK jobs are set up at the Krazo Jenkins instance

Signed-off-by: Ivar Grimstad <ivar.grimstad@eclipse-foundation.org>
  • Loading branch information
ivargrimstad committed Nov 16, 2020
1 parent 2aa9c3e commit fe5f06d
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 35 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ jobs:
# - stage: test
# env: TYPE=tck-wildfly19
# script: .travis/tests.sh ${TYPE}
- stage: test
env: TYPE=tck-wildfly22
script: .travis/tests.sh ${TYPE}
# - stage: test
# env: TYPE=tck-wildfly22
# script: .travis/tests.sh ${TYPE}
# - stage: test
# env: TYPE=tck-tomee
# script: .travis/tests.sh ${TYPE}
- stage: test
env: TYPE=tck-liberty
script: .travis/tests.sh ${TYPE}
# - stage: test
# env: TYPE=tck-liberty
# script: .travis/tests.sh ${TYPE}
# - stage: test
# env: TYPE=dependency-check
# script: mvn org.owasp:dependency-check-maven:aggregate ${BUILD_PROFILE}
allow_failures:
# - env: TYPE=tck-tomee
- env: TYPE=tck-liberty
# - env: TYPE=tck-liberty
# - env: TYPE=glassfish-module
# - env: TYPE=testsuite-liberty
6 changes: 3 additions & 3 deletions archetype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
<version>2.0.0-SNAPSHOT</version>
</parent>

<artifactId>krazo-jakartaee8-archetype</artifactId>
<artifactId>krazo-jakartaee9-archetype</artifactId>
<packaging>maven-archetype</packaging>
<name>Archetype for Jakarta EE 8 with Eclipse Krazo</name>
<name>Archetype for Jakarta EE 9 with Eclipse Krazo</name>

<description>
Archetype for basic Jakarta EE 8 App with the MVC API and Eclipse Krazo
Archetype for basic Jakarta EE 9 App with the MVC API and Eclipse Krazo
</description>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd"
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="jee8-archetype">
name="krazo-jakartaee9-archetype">
<fileSets>
<fileSet filtered="true" packaged="true">
<directory>src/main/java</directory>
Expand Down
2 changes: 1 addition & 1 deletion archetype/src/main/resources/archetype-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<name>\${artifactId}</name>

<properties>
<jakartaee-api.version>8.0.0</jakartaee-api.version>
<jakartaee-api.version>9.0.0</jakartaee-api.version>
<krazo.version>${project.version}</krazo.version>
<jakarta.mvc-api.version>${spec.version}</jakarta.mvc-api.version>
<junit.version>4.12</junit.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
<beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd"
bean-discovery-mode="all" version="2.0">
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_3_0.xsd"
bean-discovery-mode="all" version="3.0">
</beans>
8 changes: 4 additions & 4 deletions core/src/main/resources/META-INF/web-fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
SPDX-License-Identifier: Apache-2.0
-->
<web-fragment xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-fragment_3_1.xsd"
version="3.1">
<web-fragment xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-fragment_5_0.xsd"
version="5.0">

<name>krazo</name>

Expand All @@ -32,4 +32,4 @@
</after>
</ordering>

</web-fragment>
</web-fragment>
10 changes: 5 additions & 5 deletions documentation/src/main/asciidoc/_quickstart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ Make sure to add an empty `beans.xml` file in your `/src/main/webapp/WEB-INF` fo
[source,xml]
----
<?xml version="1.0"?>
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
<beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd"
version="2.0" bean-discovery-mode="all">
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_3_0.xsd"
version="3.0" bean-discovery-mode="all">
</beans>
----
Expand All @@ -305,9 +305,9 @@ The file to create is called `web.xml` and should be placed in the `src/main/web
[source,xml]
----
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_4_0.xsd"
version="4.0" metadata-complete="true">
<listener>
Expand Down
6 changes: 3 additions & 3 deletions examples/facelets/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
-->
<web-app
version="3.1"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
version="5.0"
xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd">
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>jakarta.faces.webapp.FacesServlet</servlet-class>
Expand Down
2 changes: 1 addition & 1 deletion examples/requestDispatcher/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
SPDX-License-Identifier: Apache-2.0
-->
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
<web-app version="5.0" xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd">
<servlet>
<servlet-name>RequestDispatcherServlet</servlet-name>
<servlet-class>org.eclipse.krazo.test.requestdispatcher.RequestDispatcherServlet</servlet-class>
Expand Down
8 changes: 4 additions & 4 deletions examples/view-annotation/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
-->
<web-app
version="3.1"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
version="5.0"
xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd">
<error-page>
<location>/error.html</location>
</error-page>
Expand Down
2 changes: 2 additions & 0 deletions tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@
<dependency>
<groupId>jakarta.mvc.tck</groupId>
<artifactId>mvc-tck-api</artifactId>
<version>${tck.version}</version>
</dependency>

<dependency>
<groupId>jakarta.mvc.tck</groupId>
<artifactId>mvc-tck-tests</artifactId>
<version>${tck.version}</version>
<scope>test</scope>
</dependency>

Expand Down
6 changes: 3 additions & 3 deletions testsuite/src/main/resources/encoding/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
-->
<web-app
version="3.1"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
version="5.0"
xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd">
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>jakarta.faces.webapp.FacesServlet</servlet-class>
Expand Down

0 comments on commit fe5f06d

Please sign in to comment.