HV. CDI portable extension as OSGi bundle

Validation API (JSR 380) version 2.0.1.Final, Hibernate Validator CDI portable extension version 6.0.10.Final and its dependencies repackaged as OSGi bundle

License

License

Categories

Categories

GlassFish Container Application Servers
GroupId

GroupId

org.glassfish.main.bean-validator-cdi
ArtifactId

ArtifactId

bean-validator-cdi
Last Version

Last Version

5.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

HV. CDI portable extension as OSGi bundle
Validation API (JSR 380) version 2.0.1.Final, Hibernate Validator CDI portable extension version 6.0.10.Final and its dependencies repackaged as OSGi bundle
Project URL

Project URL

https://projects.eclipse.org/projects/ee4j.glassfish/bean-validator-cdi
Project Organization

Project Organization

Eclipse Foundation

Download bean-validator-cdi

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.hibernate.validator : hibernate-validator-cdi Optional jar 6.0.10.Final

test (1)

Group / Artifact Type Version
junit : junit Optional jar 4.12

Project Modules

There are no modules declared in this project.

Eclipse GlassFish

About

Eclipse GlassFish is a Jakarta EE compatible implementation sponsored by the Eclipse Foundation. Eclipse GlassFish 5.1 is also Java EE 8 Compatible.

Building

Prerequisites:

  • JDK8+
  • Maven 3.0.3+

Currently in the master branch artifacts are being pulled from OSSRH staging.

Run the full build:

mvn -Pstaging install

Locate the Zip distributions:

  • appserver/distributions/glassfish/target/glassfish.zip
  • appserver/distributions/web/target/web.zip

Locate staged distributions:

  • appserver/distributions/glassfish/target/stage
  • appserver/distributions/web/target/stage

Testing

Testing QuickLook directly

Running Eclipse GlassFish QuickLook tests:

mvn -f appserver/tests/quicklook/pom.xml test -Dglassfish.home=appserver/distributions/glassfish/target/stage/glassfish6/glassfish

For more details, see QuickLook_Test_Instructions

Testing Full

Build Eclipse GlassFish using the gfbuild.sh script, OR build as stated above and copy the distributions to the bundles folder using:

./gfbuild.sh archive_bundles

This will result in:

bundles
   glassfish.zip	
   nucleus-new.zip
   web.zip

Run tests using:

./gftest [name of test]

Where [name of test] is one or more off:

       "deployment_all" 
       "ejb_group_1" 
       "ejb_group_2" 
       "ejb_group_3" 
       "ejb_web_all" 
       "cdi_all" 
       "ql_gf_full_profile_all" 
       "ql_gf_nucleus_all" 
       "ql_gf_web_profile_all"
       "nucleus_admin_all"
       "jdbc_all"
       "batch_all"
       "persistence_all"
       "connector_group_1"
       "connector_group_2"
       "connector_group_3"
       "connector_group_4"

(note the project contains more than these tests, but they may not be up to date)

E.g.

./gftest deployment_all

Starting Eclipse GlassFish

glassfish6/bin/asadmin start-domain

Stopping Eclipse GlassFish

glassfish6/bin/asadmin stop-domain

org.glassfish.main.bean-validator-cdi

Eclipse EE4J

The Eclipse EE4J Project

Versions

Version
5.1.0
5.1.0-RC2
5.1.0-RC1
5.0.1