PFL Test

GMBAL- Java EE Primative Function Library

License

License

Categories

Categories

GlassFish Container Application Servers
GroupId

GroupId

org.glassfish.pfl
ArtifactId

ArtifactId

pfl-test
Last Version

Last Version

4.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

PFL Test
GMBAL- Java EE Primative Function Library
Project Organization

Project Organization

Eclipse Foundation

Download pfl-test

How to add to project

<!-- https://jarcasting.com/artifacts/org.glassfish.pfl/pfl-test/ -->
<dependency>
    <groupId>org.glassfish.pfl</groupId>
    <artifactId>pfl-test</artifactId>
    <version>4.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.glassfish.pfl/pfl-test/
implementation 'org.glassfish.pfl:pfl-test:4.1.2'
// https://jarcasting.com/artifacts/org.glassfish.pfl/pfl-test/
implementation ("org.glassfish.pfl:pfl-test:4.1.2")
'org.glassfish.pfl:pfl-test:jar:4.1.2'
<dependency org="org.glassfish.pfl" name="pfl-test" rev="4.1.2">
  <artifact name="pfl-test" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.glassfish.pfl', module='pfl-test', version='4.1.2')
)
libraryDependencies += "org.glassfish.pfl" % "pfl-test" % "4.1.2"
[org.glassfish.pfl/pfl-test "4.1.2"]

Dependencies

compile (3)

Group / Artifact Type Version
junit : junit jar 4.13.1
org.glassfish.pfl : pfl-basic-tools jar 4.1.2
org.glassfish.pfl : pfl-basic jar 4.1.2

test (5)

Group / Artifact Type Version
org.glassfish.pfl : pfl-tf jar 4.1.2
org.glassfish.pfl : pfl-tf-tools jar 4.1.2
org.glassfish.pfl : pfl-dynamic jar 4.1.2
jakarta.ejb : jakarta.ejb-api jar 3.2.3
org.hamcrest : hamcrest-all jar 1.3

Project Modules

There are no modules declared in this project.

This is the gmbal-pfl project.

Java EE Primitive Function Library

As of Java 9, pfl-basic produces a multi-release jar. The main code is compiled in JDK 1.7 or 1.8, and additional code is compiled using Java 9. For this to work, the code uses the toolchains plugin to select different compilers. You will need a toolchains.xml in your .m2 directory.

See https://maven.apache.org/guides/mini/guide-using-toolchains.html

To build: mvn clean install

To test: mvn test

TODO: TfTest us failing, and is excluded in pom file. Fix it and add it back.

Tests in error: twoAnnotations(tf.TfTest) testSync(tf.TfTest): Could not initialize class tf.TfTest singleMethodInfoCall(tf.TfTest): Could not initialize class tf.TfTest singleMethodThrowsException(tf.TfTest): Could not initialize class tf.TfTest singleMethodNoReturn(tf.TfTest): Could not initialize class tf.TfTest singleMethodReturn(tf.TfTest): Could not initialize class tf.TfTest testSimple(tf.TfTest): Could not initialize class tf.TfTest twoCalls(tf.TfTest): Could not initialize class tf.TfTest twoCallsException(tf.TfTest): Could not initialize class tf.TfTest

Releasing

  • Make sure gpg-agent is running.
  • Execute mvn -B release:prepare release:perform

For publishing the site do the following:

cd target/checkout
mvn -Psite verify site site:stage scm-publish:publish-scm

====================================================

org.glassfish.pfl

Java EE

Java Enterprise Edition

Versions

Version
4.1.2
4.1.1
4.1.0
4.0.1
4.0.1-b003
4.0.1-b002
4.0.1-b001
4.0.0
4.0.0-b009
4.0.0-b008
4.0.0-b007
4.0.0-b006
4.0.0-b005
4.0.0-b004
4.0.0-b003
3.2.0-b001
1.0.0-b001