Ads
Ads
In this section developers will find the maven dependency for jboss, jboss-j2ee version 4.2.2.GA.. Learn to use jboss-j2ee version 4.2.2.GA dependency with Maven, Gradle, SBT, Ivy, Grape, Leiningen and Buildr build tools.
In this section we will see the dependency code that can be added to Maven, Gradle, SBT, Ivy, Grape, Leiningen and Buildr based project in order to get jboss-j2ee version 4.2.2.GA dependency in the project.
The jboss-j2ee version 4.2.2.GA is released on DATE and its available on the remote repositories such as maven central repositories, which can be used used by developer in their projects. They just have to add the dependency code of jboss-j2ee version 4.2.2.GA given here.
Java project using maven can easily download jboss-j2ee version 4.2.2.GA dependency in your project once you add this dependency in your project. You can add following code in your pom.xml file to get jboss-j2ee version 4.2.2.GA version maven dependency in your project.
<dependency> <groupId>jboss-j2ee</groupId> <artifactId>jboss-j2ee</artifactId> <version>4.2.2.GA</version> </dependency>
Above dependency code will download the necessary jar files along with all the dependent packages if any from the remote repositions in your project and you will be able to use the jboss-j2ee version 4.2.2.GA in your project. Maven makes it very easy to quickly download jboss-j2ee dependency packages of specified version e.g. version 4.2.2.GA in this case.
Maven comes with the handy command for finding the dependent libraries in maven based Java projects and this will help us in getting the dependencies tree of jboss-j2ee version 4.2.2.GA. To check the dependency of jboss-j2ee version 4.2.2.GA you can run following maven command into your project:
mvn dependency:tree
Above command gives the list of all the dependent libraries. In case of jboss-j2ee version 4.2.2.GA following is the dependency tree:
DEPENDENCY TREE
Here is the screen shot of the command:
IMAGE_DEPENDENCY TREE
The jboss-j2ee can also be used with the other build tools such as Gradle, SBT, Ivy, Grape, Leiningen and Buildr. Let's see the dependency code to be added in the project using these build tools.
Here is the Gradle dependency for jboss-j2ee version 4.2.2.GA:
implementation group: 'jboss-j2ee', name: 'jboss-j2ee', version: '4.2.2.GA'
Here is the SBT dependency for jboss-j2ee version 4.2.2.GA:
libraryDependencies += "jboss-j2ee" % "jboss-j2ee" % "4.2.2.GA"
Here is the Ivy dependency for jboss-j2ee version 4.2.2.GA:
<dependency org="jboss-j2ee" name="jboss-j2ee" rev="4.2.2.GA"/>
Here is the Gradle dependency for jboss-j2ee version 4.2.2.GA:
@Grapes( @Grab(group='jboss-j2ee', module='jboss-j2ee', version='4.2.2.GA') )
Here is the Leiningen dependency for jboss-j2ee version 4.2.2.GA:
[jboss-j2ee/jboss-j2ee "4.2.2.GA"]
Here is the Buildr dependency for jboss-j2ee version 4.2.2.GA:
'jboss-j2ee:jboss-j2ee:jar:4.2.2.GA'
In this section we have explored jboss-j2ee version 4.2.2.GA dependency and learned how to use this dependency in Java projects.