Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jakarta 1.0.1 test #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 33 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@
</pluginRepository>
</pluginRepositories>


<!-- Uncomment to use staging repository -->
<repositories>
<repository>
<id>sonatype-nexus-staging</id>
<name>Sonatype Nexus staging</name>
<url>https://oss.sonatype.org/content/groups/staging</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>

<properties>

<!-- EDIT ME (or override on command line) -->
Expand Down Expand Up @@ -117,14 +133,26 @@
<scope>test</scope>
</dependency>

<!-- Just add one dependency on all EE 7 APIs -->
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>jakarta.batch</groupId>
<artifactId>jakarta.batch-api</artifactId>
<version>1.0.1</version>
</dependency>

<dependency>
<groupId>net.sf.expectit</groupId>
<artifactId>expectit-core</artifactId>
Expand Down Expand Up @@ -266,7 +294,7 @@
<configuration>
<assemblyArtifact>
<groupId>com.ibm.websphere.appserver.runtime</groupId>
<artifactId>wlp-javaee7</artifactId>
<artifactId>wlp-javaee8</artifactId>
<version>${libertyVersion}</version>
<type>zip</type>
</assemblyArtifact>
Expand Down
2 changes: 1 addition & 1 deletion src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<feature>appSecurity-2.0</feature>

<!-- This sample can work without CDI configured, but the use of CDI is always strongly encouraged with batch. -->
<feature>cdi-1.2</feature>
<feature>cdi-2.0</feature>

<!-- Admin Center Java Batch tool, don't download by default -->
<!--
Expand Down