You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by sc...@apache.org on 2004/12/03 18:23:34 UTC
svn commit: r109711 - in incubator/apollo/trunk/jndi-config: . schema
Author: scamp
Date: Fri Dec 3 09:23:33 2004
New Revision: 109711
URL: http://svn.apache.org/viewcvs?view=rev&rev=109711
Log:
added subproject for building the jndi-config
Added:
incubator/apollo/trunk/jndi-config/
incubator/apollo/trunk/jndi-config/maven.xml
incubator/apollo/trunk/jndi-config/project.properties
incubator/apollo/trunk/jndi-config/project.xml
incubator/apollo/trunk/jndi-config/schema/
incubator/apollo/trunk/jndi-config/schema/jndi-schema.xsd
Added: incubator/apollo/trunk/jndi-config/maven.xml
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/jndi-config/maven.xml?view=auto&rev=109711
==============================================================================
--- (empty file)
+++ incubator/apollo/trunk/jndi-config/maven.xml Fri Dec 3 09:23:33 2004
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+
+<!--
+ For the definitions of Jelly tags, see these as reference
+ * http://jakarta.apache.org/commons/jelly/libs/
+ * http://jakarta.apache.org/commons/jelly/tags.html
+-->
+
+<project default="jars"
+ xmlns:maven="jelly:maven">
+ <property environment="env" />
+ <property name="gen.src.dir" location="${maven.build.dir}/generated" />
+ <postGoal name="java:compile">
+ <attainGoal name="generate" />
+ </postGoal>
+
+ <goal name="generate"
+ description="Generates Axis-specific types for all spec WSDLs and produces a jar">
+
+ <taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean">
+ <classpath>
+ <path refid="maven.dependency.classpath" />
+ </classpath>
+ </taskdef>
+ <xmlbean schema="${basedir}/schema/jndi-schema.xsd" destfile="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar" srcgendir="${gen.src.dir}">
+ <classpath>
+ <path refid="maven.dependency.classpath" />
+ </classpath>
+ </xmlbean>
+ </goal>
+
+ <goal name="jars" prereqs="java:compile">
+ <jar jarfile="${maven.build.dir}/${pom.artifactId}-src-${pom.currentVersion}.jar" basedir="${gen.src.dir}" />
+ </goal>
+
+</project>
Added: incubator/apollo/trunk/jndi-config/project.properties
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/jndi-config/project.properties?view=auto&rev=109711
==============================================================================
--- (empty file)
+++ incubator/apollo/trunk/jndi-config/project.properties Fri Dec 3 09:23:33 2004
@@ -0,0 +1,11 @@
+# -----------------------------------------------------------------------------
+# Default properties for the Maven build. You can override these properties
+# either by defining a build.properties file with the overriden properties
+# or by passing them on the command line as system parameters (-D).
+# -----------------------------------------------------------------------------
+
+# MAVEN CORE
+##############
+# URL of JAR repository
+maven.repo.remote = http://www.apache.org/dist/java-repository/, http://cvs.apache.org/repository/, http://mirrors.sunsite.dk/maven/
+
Added: incubator/apollo/trunk/jndi-config/project.xml
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/jndi-config/project.xml?view=auto&rev=109711
==============================================================================
--- (empty file)
+++ incubator/apollo/trunk/jndi-config/project.xml Fri Dec 3 09:23:33 2004
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+
+<!-- Apollo JNDI-CONFIG Project Descriptor - defines Project Object Model (POM) -->
+
+<!-- Schema for this file is at: http://maven.apache.org/xsd/maven-project-3.0.0.xsd -->
+<!-- Reference for this file is at: http://maven.apache.org/reference/project-descriptor.html -->
+
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://maven.apache.org/xsd/maven-project-3.0.0.xsd">
+
+ <pomVersion>3</pomVersion>
+ <name>JNDI-Config XmlBean Generation</name>
+ <id>jndi-config</id>
+ <groupId>apollo</groupId>
+ <currentVersion>SNAPSHOT</currentVersion>
+ <organization>
+ <name>Apache Software Foundation</name>
+ <url>http://apache.org/</url>
+ </organization>
+
+ <repository>
+ <connection>scm|svn|http://svn.apache.org/repos/asf/incubator/apollo/trunk/</connection>
+ <developerConnection>scm|svn|https://svn.apache.org/repos/asf/incubator/apollo/trunk/</developerConnection>
+ <url>http://svn.apache.org/viewcvs.cgi/incubator/apollo/trunk/</url>
+ </repository>
+
+ <versions>
+ <version>
+ <id>1_0-beta1</id>
+ <name>1.0-beta1</name>
+ <tag>HEAD</tag>
+ </version>
+ </versions>
+
+ <developers>
+
+ <developer>
+ <name>Sal Campana</name>
+ <id>ips</id>
+ <email>sal DOT campana AT hp DOT com</email>
+ <organization>Hewlett-Packard Company</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>-5</timezone>
+ </developer>
+
+ </developers>
+
+ <dependencies>
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean</artifactId>
+ <version>20040804.171500</version>
+ <url>http://xml.apache.org/xmlbeans/</url>
+ <properties>
+ <war.bundle>true</war.bundle>
+ <usage>Needed for handling Xml Types in a platform agnostic way.</usage>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean_xpath</artifactId>
+ <version>1.0.3</version>
+ <url>http://xml.apache.org/xmlbeans/</url>
+ <properties>
+ <war.bundle>true</war.bundle>
+ <usage>Needed for XmlBeans.</usage>
+ </properties>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>${basedir}/schema</directory>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ </build>
+
+</project>
Added: incubator/apollo/trunk/jndi-config/schema/jndi-schema.xsd
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/jndi-config/schema/jndi-schema.xsd?view=auto&rev=109711
==============================================================================
--- (empty file)
+++ incubator/apollo/trunk/jndi-config/schema/jndi-schema.xsd Fri Dec 3 09:23:33 2004
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://www.apache.org/wsfx/wsrf/jndi/config" xmlns:tns="http://www.apache.org/wsfx/wsrf/jndi/config">
+ <xs:element name="global">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:resource" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:resourceLink" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:environment" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:service" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="jndiConfig">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:global" maxOccurs="1" minOccurs="0"/>
+ <xs:element ref="tns:service" maxOccurs="unbounded" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="name" type="xs:string"/>
+ <xs:element name="parameter">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:name" maxOccurs="1" minOccurs="1" />
+ <xs:element ref="tns:value" maxOccurs="1" minOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="resource">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:resourceParams"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="type" type="xs:string" use="required"/>
+ <xs:attribute name="scope" type="xs:string" />
+ <xs:attribute name="auth" type="xs:string" />
+ <xs:attribute name="description" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="resourceLink">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="target" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="resourceParams">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:parameter" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="service">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:resourceLink" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:resource" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:environment" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="value" type="xs:string"/>
+ <xs:element name="environment">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="type" type="xs:string" use="required"/>
+ <xs:attribute name="value" type="xs:string" use="required"/>
+ <xs:attribute name="description" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
---------------------------------------------------------------------
To unsubscribe, e-mail: apollo-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: apollo-dev-help@ws.apache.org