r1004 - in trunk: . eugene/src/main/resources/xsd
Author: tchemit Date: 2010-11-27 23:09:33 +0100 (Sat, 27 Nov 2010) New Revision: 1004 Url: http://nuiton.org/repositories/revision/eugene/1004 Log: Evolution #1110: Expose dtd and xsd of objectmodel on site Fix objectmodel xsd (add targetNamespace attribute) Modified: trunk/eugene/src/main/resources/xsd/objectmodel.xsd trunk/pom.xml Modified: trunk/eugene/src/main/resources/xsd/objectmodel.xsd =================================================================== --- trunk/eugene/src/main/resources/xsd/objectmodel.xsd 2010-11-27 17:50:05 UTC (rev 1003) +++ trunk/eugene/src/main/resources/xsd/objectmodel.xsd 2010-11-27 22:09:33 UTC (rev 1004) @@ -1,4 +1,4 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <!-- #%L EUGene :: EUGene @@ -24,7 +24,7 @@ #L% --> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://nuiton.org/eugene/objectModel/v1"> <xsd:complexType name="objectModel" mixed="true"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-11-27 17:50:05 UTC (rev 1003) +++ trunk/pom.xml 2010-11-27 22:09:33 UTC (rev 1004) @@ -389,6 +389,14 @@ <build> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh-external</artifactId> + <version>1.0-beta-7</version> + </extension> + + </extensions> <pluginManagement> <plugins> @@ -444,4 +452,50 @@ <url>http://www.nuiton.org/repositories/browse/eugene/trunk</url> </scm> + <profiles> + <profile> + <id>reporting</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + + <build> + <plugins> + <plugin> + <!-- copy object model xsd to site --> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + + <execution> + <id>xsd-to-site</id> + <phase>pre-site</phase> + <configuration> + <tasks> + <copy todir="target/site/xsd/v1" verbose="${maven.verbose}" + failonerror="false" overwrite="true"> + <fileset dir="${basedir}/eugene/src/main/resources/xsd"> + <include name="**/*.xsd"/> + </fileset> + </copy> + <copy todir="target/site/dtd/v1" verbose="${maven.verbose}" + failonerror="false" overwrite="true"> + <fileset dir="${basedir}/eugene/src/main/resources/dtd"> + <include name="**/*.dtd"/> + </fileset> + </copy> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
participants (1)
-
tchemit@users.nuiton.org