Maven Repository - POM file for Spring xbean-spring 3.6 3.6

Summary

Apache XBean :: Spring.

xbean-spring provides a schema-driven proprietary namespace handler for spring contexts.

Declaration

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

<dependency>
   <groupId>org.apache.xbean</groupId>
   <artifactId>xbean-spring</artifactId>
   <version>3.6</version>
</dependency>

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

License

Apache License.





Plugin

The following plugins are used in the xbean-spring-3.6.jar

  1. maven-antrun-plugin
  2. maven-bundle-plugin
  3. maven-surefire-plugin

Packages

The following packages are defined in the xbean-spring-3.6.jar

org.apache.xbean.spring.context
org.apache.xbean.spring.context.impl
org.apache.xbean.spring.context.v2
org.apache.xbean.spring.context.v2c
org.apache.xbean.spring.generator
org.apache.xbean.spring.jndi
org.apache.xbean.spring.util




POM File Source

Here is the content of the POM file.

<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">

    <!--

        Licensed to the Apache Software Foundation (ASF) under one or more
        contributor license agreements.  See the NOTICE file distributed with
        this work for additional information regarding copyright ownership.
        The ASF licenses this file to You under the Apache License, Version 2.0
        (the "License"); you may not use this file except in compliance with
        the License.  You may obtain a copy of the License at

           http://www.apache.org/licenses/LICENSE-2.0

        Unless required by applicable law or agreed to in writing, software
        distributed under the License is distributed on an "AS IS" BASIS,
        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        See the License for the specific language governing permissions and
        limitations under the License.

    -->

    <!-- $Rev: 432962 $ $Date: 2006-08-20 03:47:39 -0700 (Sun, 20 Aug 2006) $ -->

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <artifactId>xbean</artifactId>
        <groupId>org.apache.xbean</groupId>
        <version>3.6</version>
    </parent>

    <artifactId>xbean-spring</artifactId>
    <packaging>bundle</packaging>
    <name>Apache XBean :: Spring</name>

    <description>xbean-spring provides a schema-driven proprietary namespace handler for spring contexts</description>

    <properties>
        <xbean.osgi.import.pkg>
            com.thoughtworks.qdox*;resolution:=optional,
            org.apache.tools.ant*;resolution:=optional,
            org.springframework.core;resolution:=optional,
            org.springframework.web*;resolution:=optional,
            *
        </xbean.osgi.import.pkg>
    </properties>

    <dependencies>

        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <optional>true</optional>
        </dependency>

        <dependency>
            <groupId>com.thoughtworks.qdox</groupId>
            <artifactId>qdox</artifactId>
            <optional>true</optional>
        </dependency>

        <dependency>
            <groupId>ant</groupId>
            <artifactId>ant</artifactId>
            <optional>true</optional>
        </dependency>

    </dependencies>

    <build>
        <testResources>
            <testResource>
                <directory>src/test/resources</directory>
            </testResource>
            <testResource>
                <directory>target/test-generated</directory>
            </testResource>
        </testResources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>**/BeerUsingXBeanNSTest.java</exclude>
                    </excludes>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <taskdef classname="org.apache.xbean.spring.generator.MappingGeneratorTask" name="mapping">
                                    <classpath>
                                        <pathelement path="${basedir}/target/classes" />
                                        <pathelement path="${basedir}/target/test-classes" />
                                        <path refid="maven.runtime.classpath" />
                                    </classpath>
                                </taskdef>
                                <mapping namespace="http://xbean.apache.org/schemas/pizza" srcdir="src/test/java" destFile="target/restaurant.xsd" metaInfDir="${basedir}/target/test-generated/" />
                                <copy todir="${basedir}/target/test-classes">
                                    <fileset dir="${basedir}/target/test-generated" />
                                </copy>
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Import-Package>
                            com.thoughtworks.qdox*;resolution:=optional,
                            org.apache.tools.ant*;resolution:=optional,
                            org.springframework.core;resolution:=optional,
                            org.springframework.web*;resolution:=optional,
                            *
                        </Import-Package>
                        <DynamicImport-Package>META-INF.services.org.apache.xbean.spring.*,META-INF.services.org.xbean.spring</DynamicImport-Package>
                        <_failok>true</_failok>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>