Revision 381

View differences:

org.gvsig.xmlschema/library/trunk/org.gvsig.xmlschema/org.gvsig.xmlschema.lib/org.gvsig.xmlschema.lib.spi/pom.xml
2 2

  
3 3

  
4 4
<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/xsd/maven-4.0.0.xsd">
5
	<modelVersion>4.0.0</modelVersion>
6
	<artifactId>org.gvsig.xmlschema.lib.spi</artifactId>
7
	<packaging>jar</packaging>
8
	<name>org.gvsig.xmlschema.lib.spi</name>
9
	<description>SPI Schema library Implementation</description>
10
	<parent>
11
		<groupId>org.gvsig</groupId>
12
		<artifactId>org.gvsig.xmlschema.lib</artifactId>	
13
		<version>2.0.2-SNAPSHOT</version>			
14
	</parent>
15
	<dependencies>
16
		<dependency>
17
			<groupId>org.gvsig</groupId>
18
			<artifactId>org.gvsig.xmlschema.lib.api</artifactId>
19
			<version>2.0.2-SNAPSHOT</version>
20
		</dependency>
21
	</dependencies>
22
	<build>		
23
		<plugins>
24
			<plugin>
25
				<groupId>org.apache.maven.plugins</groupId>
26
				<artifactId>maven-jar-plugin</artifactId>
27
				<configuration>
28
				</configuration>
29
				<executions>
30
				<!--
31
					Generates a jar file only with the test classes
32
				-->
33
					<execution>
34
						<goals>
35
							<goal>test-jar</goal>
36
						</goals>
37
						<configuration>								
38
						</configuration>
39
					</execution>
40
				</executions>
41
			</plugin>	 
42
		</plugins>
43
	</build>
5
    <modelVersion>4.0.0</modelVersion>
6
    <artifactId>org.gvsig.xmlschema.lib.spi</artifactId>
7
    <packaging>jar</packaging>
8
    <name>org.gvsig.xmlschema.lib.spi</name>
9
    <description>SPI Schema library Implementation</description>
10
    <parent>
11
        <groupId>org.gvsig</groupId>
12
        <artifactId>org.gvsig.xmlschema.lib</artifactId>	
13
        <version>2.0.2-SNAPSHOT</version>			
14
    </parent>
15
    <dependencies>
16
        <dependency>
17
            <groupId>org.gvsig</groupId>
18
            <artifactId>org.gvsig.xmlschema.lib.api</artifactId>
19
            <version>2.0.2-SNAPSHOT</version>
20
        </dependency>
21
                
22
        <dependency>
23
            <groupId>org.gvsig</groupId>
24
            <artifactId>org.gvsig.tools.lib</artifactId>
25
        </dependency>                
26
    </dependencies>
27
    <build>		
28
        <plugins>
29
            <plugin>
30
                <groupId>org.apache.maven.plugins</groupId>
31
                <artifactId>maven-jar-plugin</artifactId>
32
                <configuration>
33
                </configuration>
34
                <executions>
35
                    <!--
36
                            Generates a jar file only with the test classes
37
                    -->
38
                    <execution>
39
                        <goals>
40
                            <goal>test-jar</goal>
41
                        </goals>
42
                        <configuration>								
43
                        </configuration>
44
                    </execution>
45
                </executions>
46
            </plugin>	 
47
        </plugins>
48
    </build>
44 49
</project>
org.gvsig.xmlschema/library/trunk/org.gvsig.xmlschema/org.gvsig.xmlschema.lib/org.gvsig.xmlschema.lib.impl/pom.xml
22 22
			<artifactId>org.gvsig.xmlschema.lib.spi</artifactId>
23 23
			<version>2.0.2-SNAPSHOT</version>
24 24
		</dependency>
25
            <dependency>
26
                <groupId>org.gvsig</groupId>
27
                <artifactId>org.gvsig.tools.lib</artifactId>
28
            </dependency>                
25 29
	</dependencies>	
26 30
	<build>
27 31
		<plugins>
org.gvsig.xmlschema/library/trunk/org.gvsig.xmlschema/org.gvsig.xmlschema.lib/org.gvsig.xmlschema.lib.impl/src/main/java/org/gvsig/xmlschema/lib/impl/DefaultXMLSchemaLibrary.java
67 67
		schemaManager.addParserDataType(XMLSimpleType.DATE, DataTypes.DATE);
68 68
		schemaManager.addParserDataType(XMLSimpleType.SHORT, DataTypes.INT);
69 69
		schemaManager.addParserDataType(XMLSimpleType.DATETIME, DataTypes.DATE);
70
                
71
                schemaManager.addParserDataType(XMLSimpleType.REAL, DataTypes.FLOAT);
72
                schemaManager.addParserDataType(XMLSimpleType.CHARACTER, DataTypes.STRING);
70 73
	}
71 74
}
org.gvsig.xmlschema/library/trunk/org.gvsig.xmlschema/org.gvsig.xmlschema.lib/org.gvsig.xmlschema.lib.impl/src/main/java/org/gvsig/xmlschema/lib/impl/XMLSimpleType.java
93 93
	public static final String DATE = "xs:date";
94 94
	public static final String SHORT = "xs:short";
95 95
	public static final String DATETIME = "xs:dateTime";
96
        
97
        public static final String REAL = "xs:real";
98
        public static final String CHARACTER = "xs:character";
96 99
}
org.gvsig.xmlschema/library/trunk/org.gvsig.xmlschema/org.gvsig.xmlschema.prov/org.gvsig.xmlschema.prov.kxml/src/main/java/org/gvsig/xmlschema/prov/kxml/XmlSchemaKxmlLibrary.java
28 28
	protected void doPostInitialize() throws LibraryException {
29 29
		XmlSchemaProviderManager xmlSchemaProviderManager = XmlSchemaProviderLocator
30 30
				.getXMLSchemaProviderManager();
31
		xmlSchemaProviderManager
32
				.addProviderFactory(new XmlSchemaKxmlProviderFactory());
31
		xmlSchemaProviderManager.addProviderFactory(new XmlSchemaKxmlProviderFactory());
33 32
	}
34 33
}
org.gvsig.xmlschema/library/trunk/org.gvsig.xmlschema/org.gvsig.xmlschema.prov/org.gvsig.xmlschema.prov.kxml/pom.xml
2 2

  
3 3

  
4 4
<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/xsd/maven-4.0.0.xsd">
5
	<modelVersion>4.0.0</modelVersion>
6
	<artifactId>org.gvsig.xmlschema.prov.kxml</artifactId>
7
	<packaging>jar</packaging>
8
	<name>org.gvsig.xmlschema.prov.kxml</name>
9
	<description>xmlschema provider based on kxml</description>
10
	<parent>
11
		<groupId>org.gvsig</groupId>
12
		<artifactId>org.gvsig.xmlschema.prov</artifactId>	
13
		<version>2.0.2-SNAPSHOT</version>			
14
	</parent>
15
	<dependencies>
5
    <modelVersion>4.0.0</modelVersion>
6
    <artifactId>org.gvsig.xmlschema.prov.kxml</artifactId>
7
    <packaging>jar</packaging>
8
    <name>org.gvsig.xmlschema.prov.kxml</name>
9
    <description>xmlschema provider based on kxml</description>
10
    <parent>
11
        <groupId>org.gvsig</groupId>
12
        <artifactId>org.gvsig.xmlschema.prov</artifactId>	
13
        <version>2.0.2-SNAPSHOT</version>			
14
    </parent>
15
    <dependencies>
16 16
	
17
	    <dependency>
18
    		<groupId>org.gvsig</groupId>
19
      		<artifactId>org.gvsig.tools.lib</artifactId>
20
    	</dependency>
21
    	<dependency>
22
      		<groupId>org.gvsig</groupId>
23
      		<artifactId>org.gvsig.tools.lib</artifactId>
24
      		<type>test-jar</type>
25
    	</dependency>  
17
        <dependency>
18
            <groupId>org.gvsig</groupId>
19
            <artifactId>org.gvsig.tools.lib</artifactId>
20
        </dependency>
21
        <dependency>
22
            <groupId>org.gvsig</groupId>
23
            <artifactId>org.gvsig.tools.lib</artifactId>
24
            <type>test-jar</type>
25
        </dependency>  
26 26
	
27
		<dependency>
28
			<groupId>org.gvsig</groupId>
29
			<artifactId>org.gvsig.compat.api</artifactId>					
30
		</dependency>
31
		<dependency>
32
			<groupId>org.gvsig</groupId>
33
			<artifactId>org.gvsig.compat.se</artifactId>			
34
		</dependency>
35
		<dependency>
36
			<groupId>org.gvsig</groupId>
37
			<artifactId>org.gvsig.xmlschema.lib.api</artifactId>
38
			<version>2.0.2-SNAPSHOT</version>
39
		</dependency>
40
		<dependency>
41
			<groupId>org.gvsig</groupId>
42
			<artifactId>org.gvsig.xmlschema.lib.spi</artifactId>
43
			<version>2.0.2-SNAPSHOT</version>
44
		</dependency>
45
		<dependency>
46
			<groupId>org.gvsig</groupId>
47
			<artifactId>org.gvsig.xmlschema.lib.spi</artifactId>
48
			<version>2.0.2-SNAPSHOT</version>
49
			<classifier>tests</classifier>
50
			<scope>test</scope>
51
		</dependency>
52
		<dependency>
53
			<groupId>org.gvsig</groupId>
54
			<artifactId>org.gvsig.xmlschema.lib.impl</artifactId>
55
			<version>2.0.2-SNAPSHOT</version>
56
			<scope>runtime</scope>
57
		</dependency>
58
		<dependency>
59
			<groupId>org.gvsig</groupId>
60
			<artifactId>org.gvsig.xmlpull.lib.impl</artifactId>
61
			<version>2.0.1</version>
62
			<scope>runtime</scope>
63
		</dependency>
64
		<dependency>
65
			<groupId>org.gvsig</groupId>
66
			<artifactId>org.gvsig.xmlpull.prov.kxml</artifactId>
67
			<version>2.0.1</version>
68
			<scope>runtime</scope>
69
		</dependency>
27
        <dependency>
28
            <groupId>org.gvsig</groupId>
29
            <artifactId>org.gvsig.compat.api</artifactId>					
30
        </dependency>
31
        <dependency>
32
            <groupId>org.gvsig</groupId>
33
            <artifactId>org.gvsig.compat.se</artifactId>			
34
        </dependency>
35
        <dependency>
36
            <groupId>org.gvsig</groupId>
37
            <artifactId>org.gvsig.xmlschema.lib.api</artifactId>
38
            <version>2.0.2-SNAPSHOT</version>
39
        </dependency>
40
        <dependency>
41
            <groupId>org.gvsig</groupId>
42
            <artifactId>org.gvsig.xmlschema.lib.spi</artifactId>
43
            <version>2.0.2-SNAPSHOT</version>
44
        </dependency>
45
        <dependency>
46
            <groupId>org.gvsig</groupId>
47
            <artifactId>org.gvsig.xmlschema.lib.spi</artifactId>
48
            <version>2.0.2-SNAPSHOT</version>
49
            <classifier>tests</classifier>
50
            <scope>test</scope>
51
        </dependency>
52
        <dependency>
53
            <groupId>org.gvsig</groupId>
54
            <artifactId>org.gvsig.xmlschema.lib.impl</artifactId>
55
            <version>2.0.2-SNAPSHOT</version>
56
            <scope>runtime</scope>
57
        </dependency>
58
        <dependency>
59
            <groupId>org.gvsig</groupId>
60
            <artifactId>org.gvsig.xmlpull.lib.impl</artifactId>
61
            <version>2.0.1</version>
62
            <scope>runtime</scope>
63
        </dependency>
64
        <dependency>
65
            <groupId>org.gvsig</groupId>
66
            <artifactId>org.gvsig.xmlpull.prov.kxml</artifactId>
67
            <version>2.0.1</version>
68
            <scope>runtime</scope>
69
        </dependency>
70 70
		
71 71

  
72
		<dependency>
73
			<groupId>org.gvsig</groupId>
74
			<artifactId>org.gvsig.xmlpull.lib.api</artifactId>
75
			<version>2.0.1</version>
76
		</dependency>
77
	</dependencies>
78
	<build>
79
		<plugins>
80
			<plugin>
81
				<groupId>org.apache.maven.plugins</groupId>
82
				<artifactId>maven-compiler-plugin</artifactId>
83
				<configuration>
84
					<source>1.4</source>
85
					<target>1.5</target>
86
				</configuration>
87
			</plugin>
88
			<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
89
			<plugin>
90
				<groupId>org.apache.maven.plugins</groupId>
91
				<artifactId>maven-surefire-plugin</artifactId>
92
				<configuration>
93
					<skipTests>true</skipTests>
94
				</configuration>
95
			</plugin>
96
		</plugins>
97
	</build>
98
	<profiles>
99
		<profile>
100
			<id>cdc</id>
101
			<build>
102
				<plugins>
103
					<plugin>
104
						<groupId>org.apache.maven.plugins</groupId>
105
						<artifactId>maven-compiler-plugin</artifactId>
106
						<configuration>
107
							<source>1.4</source>
108
							<target>1.4</target>
109
						</configuration>
110
					</plugin>
111
				</plugins>
112
			</build>
113
		</profile>
114
	</profiles>
72
        <dependency>
73
            <groupId>org.gvsig</groupId>
74
            <artifactId>org.gvsig.xmlpull.lib.api</artifactId>
75
            <version>2.0.1</version>
76
        </dependency>
77
    </dependencies>
78
    <build>
79
        <plugins>
80
            <plugin>
81
                <groupId>org.apache.maven.plugins</groupId>
82
                <artifactId>maven-compiler-plugin</artifactId>
83
                <configuration>
84
                    <source>1.4</source>
85
                    <target>1.5</target>
86
                </configuration>
87
            </plugin>
88
            <!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
89
            <plugin>
90
                <groupId>org.apache.maven.plugins</groupId>
91
                <artifactId>maven-surefire-plugin</artifactId>
92
                <configuration>
93
                    <skipTests>true</skipTests>
94
                </configuration>
95
            </plugin>
96
        </plugins>
97
    </build>
98
    <profiles>
99
        <profile>
100
            <id>cdc</id>
101
            <build>
102
                <plugins>
103
                    <plugin>
104
                        <groupId>org.apache.maven.plugins</groupId>
105
                        <artifactId>maven-compiler-plugin</artifactId>
106
                        <configuration>
107
                            <source>1.4</source>
108
                            <target>1.4</target>
109
                        </configuration>
110
                    </plugin>
111
                </plugins>
112
            </build>
113
        </profile>
114
    </profiles>
115 115
</project>
org.gvsig.xmlschema/library/trunk/org.gvsig.xmlschema/pom.xml
13 13
  <parent>
14 14
      <groupId>org.gvsig</groupId>
15 15
      <artifactId>org.gvsig.desktop.library</artifactId>
16
      <version>2.0.21</version>
16
      <version>2.0.39</version>
17 17
  </parent>
18 18
  
19 19
  <scm>

Also available in: Unified diff