ViewVC logotype

Contents of /trunk/projects/dm/SpectralDM-2.0/code/speclib/pom.xml

Parent Directory Parent Directory | Revision Log Revision Log

Revision 2988 - (show annotations)
Fri Jun 5 17:32:11 2015 UTC (5 years, 5 months ago) by omarlaurino@gmail.com
File MIME type: text/xml
File size: 1646 byte(s)
  - modified pom.xml to take STIL from the CXC artifactory repo. You need to be inside the CXC HEAD network for it to work (or via VPN). When the service is opened to the public this limitation will disappear.
  - modified pom.xml to provide info regarding encoding and target Java VM (1.7).

  - the existing model factory was turned into a set of builders. Some trivial changes to VOTMapper and VOTableIO (and their tests) were required in order to make them work with the new infrastructure's API.
  - ModelMetadata interface was extracted from the Model interface so to make the "data" part independent from the "operations" part.
  - ModelTable now has a package private constructor that accepts a ModelTableBuilder builder. The ModelTableBuilder itself should probably be made a static nested class of ModelTable, except that I don't like the resulting API. We can do that at a later stage anyway.
  - clients can override the creation of a ModelTable class by providing its builder a ModelMetadata instance.
  - DACHS1.vot.xml now has spec2: utypes rather than spec:

The refactoring was tested by running all the tests and making sure they passed.
The new override functionality has a rather small test in VOTableIOTest::test_DACHS1 that simply checks you can access spec2:Target.Name. We will beef up the tests later.

 - I think my IDE also changed some imports. Sorry about that, I'll see if I can disable this.
 - Another non-functional change I made by mistake was reformatting the whole VOTableIOTest, rather than just the test I was working on. This adds noise to the diff.

1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>cfa.vao</groupId>
5 <artifactId>speclib</artifactId>
6 <version>1.0-SNAPSHOT</version>
7 <packaging>jar</packaging>
8 <name>speclib</name>
10 <properties>
11 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12 </properties>
14 <dependencies>
15 <dependency>
16 <groupId>junit</groupId>
17 <artifactId>junit</artifactId>
18 <version>4.0</version>
19 <scope>test</scope>
20 </dependency>
21 <dependency>
22 <groupId>stil</groupId>
23 <artifactId>stil</artifactId>
24 <version>3.0</version>
25 <classifier>6</classifier>
26 </dependency>
27 </dependencies>
28 <build>
29 <plugins>
30 <plugin>
31 <groupId>org.apache.maven.plugins</groupId>
32 <artifactId>maven-compiler-plugin</artifactId>
33 <version>3.3</version>
34 <configuration>
35 <source>1.7</source>
36 <target>1.7</target>
37 <encoding>UTF-8</encoding>
38 </configuration>
39 </plugin>
40 </plugins>
41 </build>
43 <repositories>
44 <repository>
45 <id>cxc-artifactory</id>
46 <url>http://artifactory.cfa.harvard.edu/artifactory/repo</url>
47 </repository>
48 </repositories>
49 </project>

ViewVC Help
Powered by ViewVC 1.1.26