Maven Repository - POM file for XML xsdlib 2010.1 2010.1

Summary

MSV XML Schema Datatype Library.

XML Schema datatypes library.

Declaration

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

<dependency>
   <groupId>com.sun.msv.datatype.xsd</groupId>
   <artifactId>xsdlib</artifactId>
   <version>2010.1</version>
</dependency>

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

License

Name:BSD
URL: http://www.opensource.org/licenses/bsd-license.php.

Depends on

The xsdlib-2010.1 has 4 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
ParserxercesImpl 2.9.1
Xerces2 is the next generation of high performance, fully compliant XML parsers in the Apache Xerces family. This new version of Xerces introduces the Xerces Native Interface (XNI), a complete framework for building parser components and configurations that is extremely modular and easy...
97
JUnitjunit 4.4
JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
301
XMLjdom 1.1
JDOM is, quite simply, a Java representation of an XML document. JDOM provides a way to represent that document for easy and efficient reading, manipulation, and writing. It has a straightforward API, is a lightweight and fast, and is optimized for the Java programmer. It's an alternative t...
82




Plugin

The following plugins are used in the xsdlib-2010.1.jar

  1. build-helper-maven-plugin
  2. maven-bundle-plugin
  3. maven-compiler-plugin
  4. maven-eclipse-plugin
  5. maven-jar-plugin
  6. maven-javadoc-plugin
  7. maven-release-plugin
  8. maven-source-plugin
  9. maven-surefire-plugin




Packages

The following packages are defined in the xsdlib-2010.1.jar

com.sun.msv.datatype
com.sun.msv.datatype.regexp
com.sun.msv.datatype.xsd
com.sun.msv.datatype.xsd.datetime
com.sun.msv.datatype.xsd.ngimpl
com.sun.msv.datatype.xsd.regex
com.sun.xml.util

POM File Source

Here is the content of the POM file.

<?xml version="1.0"?>
<!--
Copyright (c) 2001-2009 Sun Microsystems, Inc. All Rights Reserved.

Redistribution and  use in  source and binary  forms, with  or without
modification, are permitted provided that the following conditions are
met:

- Redistributions  of  source code  must  retain  the above  copyright
  notice, this list of conditions and the following disclaimer.

- Redistribution  in binary  form must  reproduct the  above copyright
  notice, this list of conditions  and the following disclaimer in the
  documentation and/or other materials provided with the distribution.

Neither  the  name   of  Sun  Microsystems,  Inc.  or   the  names  of
contributors may be  used to endorse or promote  products derived from
this software without specific prior written permission.

This software is provided "AS IS," without a warranty of any kind. ALL
EXPRESS  OR   IMPLIED  CONDITIONS,  REPRESENTATIONS   AND  WARRANTIES,
INCLUDING  ANY  IMPLIED WARRANTY  OF  MERCHANTABILITY,  FITNESS FOR  A
PARTICULAR PURPOSE  OR NON-INFRINGEMENT, ARE HEREBY  EXCLUDED. SUN AND
ITS  LICENSORS SHALL  NOT BE  LIABLE  FOR ANY  DAMAGES OR  LIABILITIES
SUFFERED BY LICENSEE  AS A RESULT OF OR  RELATING TO USE, MODIFICATION
OR DISTRIBUTION OF  THE SOFTWARE OR ITS DERIVATIVES.  IN NO EVENT WILL
SUN OR ITS  LICENSORS BE LIABLE FOR ANY LOST  REVENUE, PROFIT OR DATA,
OR  FOR  DIRECT,   INDIRECT,  SPECIAL,  CONSEQUENTIAL,  INCIDENTAL  OR
PUNITIVE  DAMAGES, HOWEVER  CAUSED  AND REGARDLESS  OF  THE THEORY  OF
LIABILITY, ARISING  OUT OF  THE USE OF  OR INABILITY TO  USE SOFTWARE,
EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-->
<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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.sun.msv.datatype.xsd</groupId>
  <artifactId>xsdlib</artifactId>
  <version>2010.1</version>
  <name>MSV XML Schema Datatype Library</name>
  <description>XML Schema datatypes library</description>
  <packaging>bundle</packaging>
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>5</version>
  </parent>
  <licenses>
    <license>
      <name>BSD</name>
      <url>http://www.opensource.org/licenses/bsd-license.php</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <scm> 
<!--
    <connection>scm:svn:http://msv.dev.java.net/svn/msv/trunk/xsdlib</connection>
    <developerConnection>scm:svn:https://msv.dev.java.net/svn/msv/trunk/xsdlib</developerConnection>
-->
    <connection>scm:git:git@github.com:kohsuke/msv.git</connection>
    <developerConnection>scm:git:git@github.com:kohsuke/msv.git</developerConnection>
    <url>http://github.com/kohsuke/msv</url>
  </scm>
 <properties>
    <surefire.fork.mode>once</surefire.fork.mode>
    <surefire.format>brief</surefire.format>
    <surefire.usefile>false</surefire.usefile>
    <surefire.fork.vmargs>-ea</surefire.fork.vmargs>
<!-- lint when ready to work on this -->
<!--        <compile.flags>-Xlint:unchecked,deprecation,fallthrough,finally</compile.flags> -->
    <eclipse.outputDirectory>${basedir}/target/classes</eclipse.outputDirectory>
    <downloadSources>true</downloadSources>
  </properties>
  <prerequisites>
    <maven>2.2.1</maven>
  </prerequisites>

  <mailingLists>
    <mailingList>
      <name>Users List</name>
      <subscribe>users-subscribe@msv.dev.java.net</subscribe>
      <unsubscribe>users-unsubscribe@msv.dev.java.net</unsubscribe>
      <archive>https://msv.dev.java.net/servlets/SummarizeList?listName=users</archive>
    </mailingList>
  </mailingLists>
  
  <dependencies>
    <dependency>
      <groupId>xerces</groupId>
      <artifactId>xercesImpl</artifactId>
      <version>2.9.1</version>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>relaxngDatatype</groupId>
      <artifactId>relaxngDatatype</artifactId>
      <version>20020414</version>
    </dependency>

    <!-- Test dependencies -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.4</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jdom</groupId>
      <artifactId>jdom</artifactId>
      <version>1.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <resources>
      <resource>
        <directory>src/main/java</directory>
        <includes>
          <include>**/*.properties</include>
  </includes>
      </resource>
    </resources>
    <plugins>
      <!-- Compilation: require JDK 1.5 -->
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>  
        <configuration>
          <source>1.5</source>  
          <target>1.5</target>  
        </configuration>  
      </plugin>
      <!-- Also build source jar -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <!-- Ant test jar as well -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
  <executions>
    <execution>
      <goals>
        <goal>test-jar</goal>
      </goals>
    </execution>
  </executions>
        <configuration>
          <archive>
            <manifest>
              <mainClass>com.sun.msv.datatype.xsd.CommandLineTester</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>
      <!-- Need to provide javadocs -->
      <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.6</version>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                    <encoding>UTF-8</encoding>
                    <maxmemory>1g</maxmemory>
                    <links><!-- JDK 1.6 javadocs will remain longer -->
                        <link>http://java.sun.com/javase/6/docs/api/</link>
                    </links>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
      </plugin>

      <!-- Plus, let's make jars OSGi bundles as well  -->
      <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <extensions>true</extensions>
          <configuration>
            <instructions>
              <Bundle-Name>${project.name}</Bundle-Name>
              <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
              <Bundle-Description>${project.description}</Bundle-Description>
              <Import-Package>
org.relaxng.datatype,
org.relaxng.datatype.helpers
</Import-Package>
              <DynamicImport-Package>
org.apache.xerces.impl.xpath.regex
</DynamicImport-Package>
              <Private-Package>
com.sun.msv.datatype.regexp,
com.sun.xml.util
</Private-Package>
              <Export-Package>
com.sun.msv.datatype,
com.sun.msv.datatype.xsd*
</Export-Package>
            </instructions>
          </configuration>
      </plugin>
      <!-- Need GPG signatures for releases -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0</version>
        <configuration>
          <mavenExecutorId>forked-path</mavenExecutorId>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>add-source</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>add-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>src-apache</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-eclipse-plugin</artifactId>
          <configuration>
            <outputDirectory>${eclipse.outputDirectory}</outputDirectory>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <configuration>
            <includes>
              <include>**/*Test.java</include>
              <include>**/*TestCase.java</include>
              <include>**/*TestCases.java</include>
            </includes>
            <excludes>
              <exclude>**/*$*</exclude>
            </excludes>
            <reportFormat>${surefire.format}</reportFormat>
            <useFile>${surefire.usefile}</useFile>
            <forkMode>${surefire.fork.mode}</forkMode>
            <childDelegation>false</childDelegation>
            <argLine>${surefire.fork.vmargs}</argLine>
            <systemProperties>
              <property>
                <name>java.awt.headless</name>
                <value>${java.awt.headless}</value>
              </property>
              <property>
                <name>surefire.fork.vmargs</name>
                <value>${surefire.fork.vmargs}</value>
              </property>
            </systemProperties>
          </configuration>
        </plugin>
    </plugins>
  </build>
  <profiles>
        <profile>
            <id>release-sign-artifacts</id>
            <activation>
                <property>
                    <name>performRelease</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.1</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
  </profiles>

</project>