You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ak...@apache.org on 2008/08/26 21:48:27 UTC

svn commit: r689184 - in /mina/sandbox/akarasulu/xbean: ./ pom.xml src/ src/main/ src/main/java/

Author: akarasulu
Date: Tue Aug 26 12:48:27 2008
New Revision: 689184

URL: http://svn.apache.org/viewvc?rev=689184&view=rev
Log:
first try at generating an XML schema for Xbean support: taken from example originally produced by David Jencks for Apache Directory

Added:
    mina/sandbox/akarasulu/xbean/   (with props)
    mina/sandbox/akarasulu/xbean/pom.xml   (with props)
    mina/sandbox/akarasulu/xbean/src/
    mina/sandbox/akarasulu/xbean/src/main/
    mina/sandbox/akarasulu/xbean/src/main/java/

Propchange: mina/sandbox/akarasulu/xbean/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Aug 26 12:48:27 2008
@@ -0,0 +1,14 @@
+target
+.clover
+.wtpmodules
+.settings
+.deployables
+.metadata
+*.md5
+*.log
+*.iml
+*.ipr
+*.iws
+.project
+.classpath
+nbproject

Added: mina/sandbox/akarasulu/xbean/pom.xml
URL: http://svn.apache.org/viewvc/mina/sandbox/akarasulu/xbean/pom.xml?rev=689184&view=auto
==============================================================================
--- mina/sandbox/akarasulu/xbean/pom.xml (added)
+++ mina/sandbox/akarasulu/xbean/pom.xml Tue Aug 26 12:48:27 2008
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  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.
+-->
+
+<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>
+    <artifactId>build</artifactId>
+    <groupId>org.apache.mina</groupId>
+    <version>2.0.0-M4-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.mina</groupId>
+  <artifactId>mina-xbean</artifactId>
+  <name>Mina Xbean Spring</name>
+
+  <url>http://maven.apache.org</url>
+  <dependencies>
+      <dependency>
+        <groupId>org.apache.mina</groupId>
+        <artifactId>mina-core</artifactId>
+        <version>2.0.0-M4-SNAPSHOT</version>
+        <classifier>sources</classifier>
+      </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.xbean</groupId>
+        <artifactId>maven-xbean-plugin</artifactId>
+        <executions>
+          <execution>
+            <configuration>
+              <namespace>http://mina.org/config/1.0</namespace>
+              <schema>target/xbean/${pom.artifactId}.xsd</schema>
+            </configuration>
+            <goals>
+              <goal>mapping</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!--  lets ensure that the XSD gets deployed  -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-artifacts</id>
+            <phase>package</phase>
+            <goals>
+              <goal>attach-artifact</goal>
+            </goals>
+            <configuration>
+              <artifacts>
+                <artifact>
+                  <file>${basedir}/target/xbean/${pom.artifactId}.xsd</file>
+                  <type>xsd</type>
+                </artifact>
+                <artifact>
+                  <file>${basedir}/target/xbean/${pom.artifactId}.xsd.html</file>
+                  <type>xsd.html</type>
+                </artifact>
+              </artifacts>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: mina/sandbox/akarasulu/xbean/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native