Maven Repository - POM file for Inversion of Control hk2 1.0.0 1.0.0

Summary

HK2 module of HK2 itself.

This is so that other modules can depend on HK2 as an HK2 module..

Declaration

Here is the list of declaration for hk2. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>com.sun.enterprise</groupId>
   <artifactId>hk2</artifactId>
   <version>1.0.0</version>
</dependency>

If you think this Maven repository POM file listing for hk2 is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Plugin

The following plugins are used in the hk2-1.0.0.jar

  1. hk2-maven-plugin
  2. maven-source-plugin




POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <parent>
        <groupId>com.sun.enterprise</groupId>
        <artifactId>hk2-parent</artifactId>
        <version>1.0.0</version>
        <relativePath>../pom.xml</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>hk2</artifactId>
    <packaging>hk2-jar</packaging>
    <name>HK2 module of HK2 itself</name>
    <description>This is so that other modules can depend on HK2 as an HK2 module.</description>

    <build>
        <plugins>
            <plugin>
                <groupId>com.sun.enterprise</groupId>
                <artifactId>hk2-maven-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <generateOSGiHeaders>true</generateOSGiHeaders>
                    <visibility>reexport</visibility>
                    <archive>
                        <manifest>
                            <mainClass>com.sun.enterprise.module.bootstrap.Main</mainClass>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>2.1</version>
            <configuration>
                <includePom>true</includePom>
                <includes>
                    <include>pom.xml</include>
                </includes>
            </configuration>
          </plugin>            
        </plugins>
    </build>
    <dependencies>
        <!-- These dependencies are mentioned so that proper 
             Require-Bundle header can be generated by hk2-maven-plugin
        -->
        <dependency>
            <groupId>com.sun.enterprise</groupId>
            <artifactId>hk2-core</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>com.sun.enterprise</groupId>
            <artifactId>config</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>com.sun.enterprise</groupId>
            <artifactId>auto-depends</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

</project>