Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit 8fc341d

Browse files
committed
moved to maven
1 parent fe2ea2a commit 8fc341d

19 files changed

+136
-0
lines changed

mavenMake.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mvn install:install-file -Dfile=lib/jchem3.jar -DgroupId=chemaxon -DartifactId=jchem -Dversion=3.0.0 -Dpackaging=jar

pom.xml

+124
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
6+
<modelVersion>4.0.0</modelVersion>
7+
<groupId>gov.nih.ncats</groupId>
8+
<artifactId>lychi</artifactId>
9+
<packaging>jar</packaging>
10+
<version>0.5.0</version>
11+
<name>Lychi</name>
12+
13+
<repositories>
14+
<repository>
15+
<id>jboss-repo</id>
16+
<url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
17+
</repository>
18+
</repositories>
19+
<properties>
20+
<java.version>1.8</java.version>
21+
<maven.compiler.plugin.version>2.3.2</maven.compiler.plugin.version>
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
<maven.compiler.source>1.8</maven.compiler.source>
24+
<maven.compiler.target>1.8</maven.compiler.target>
25+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26+
<commonsFileuploadVersion>1.2.1</commonsFileuploadVersion>
27+
<commonsIoVersion>2.3</commonsIoVersion>
28+
<junitVersion>3.8.2</junitVersion>
29+
<log4jVersion>1.2.16</log4jVersion>
30+
<commonsLang3Version>3.1</commonsLang3Version>
31+
<downloadLabel>Beta</downloadLabel>
32+
<gae.version>1.6.5</gae.version>
33+
<deploy.dir>binaries</deploy.dir>
34+
<sonatypeRepoId>sonatype-nexus-snapshots</sonatypeRepoId>
35+
<sonatypeUrl>http://oss.sonatype.org/content/repositories/snapshots</sonatypeUrl>
36+
<wikiSvnExec>true</wikiSvnExec>
37+
</properties>
38+
39+
<dependencies>
40+
<dependency>
41+
<groupId>chemaxon</groupId>
42+
<artifactId>jchem</artifactId>
43+
<version>3.0.0</version>
44+
</dependency>
45+
<dependency>
46+
<groupId>junit</groupId>
47+
<artifactId>junit</artifactId>
48+
<version>4.12</version>
49+
</dependency>
50+
</dependencies>
51+
52+
<build>
53+
54+
<finalName>${project.artifactId}-${project.version}</finalName>
55+
<outputDirectory>${deploy.dir}</outputDirectory>
56+
<plugins>
57+
<plugin>
58+
<groupId>org.apache.maven.plugins</groupId>
59+
<artifactId>maven-compiler-plugin</artifactId>
60+
<version>${maven.compiler.plugin.version}</version>
61+
<configuration>
62+
<source>${java.version}</source>
63+
<target>${java.version}</target>
64+
<compilerArgument>-proc:none</compilerArgument>
65+
</configuration>
66+
</plugin>
67+
<plugin>
68+
<artifactId>maven-assembly-plugin</artifactId>
69+
<executions>
70+
<execution>
71+
<phase>package</phase>
72+
<goals>
73+
<goal>single</goal>
74+
</goals>
75+
</execution>
76+
</executions>
77+
78+
<configuration>
79+
<archive>
80+
<manifest>
81+
<mainClass>tripod.molvec.ui.Viewer</mainClass>
82+
</manifest>
83+
</archive>
84+
<descriptorRefs>
85+
<descriptorRef>jar-with-dependencies</descriptorRef>
86+
</descriptorRefs>
87+
</configuration>
88+
</plugin>
89+
<!--
90+
<plugin>
91+
<groupId>org.apache.maven.plugins</groupId>
92+
<artifactId>maven-assembly-plugin</artifactId>
93+
<executions>
94+
<execution>
95+
<id>create-distribution</id>
96+
<phase>package</phase>
97+
<goals>
98+
<goal>single</goal>
99+
</goals>
100+
<configuration>
101+
<finalName>GSRSPull-${project.version}</finalName>
102+
<appendAssemblyId>false</appendAssemblyId>
103+
<descriptors>
104+
<descriptor>assembly/sample.xml</descriptor>
105+
</descriptors>
106+
</configuration>
107+
</execution>
108+
</executions>
109+
</plugin>
110+
-->
111+
</plugins>
112+
<resources>
113+
<resource>
114+
<directory>src/main/java</directory>
115+
<includes>
116+
<include>**/*.html</include>
117+
<include>**/*.js</include>
118+
<include>**/*.css</include>
119+
<include>**/*.png</include>
120+
</includes>
121+
</resource>
122+
</resources>
123+
</build>
124+
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/main/java/lychi/Version.java

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package lychi;
2+
public final class Version {
3+
public static final String VERSION = "20170222";
4+
public static final String COMMIT = "fe2ea2a";
5+
public static final String USER = "tyler";
6+
public static final String TIMESTAMP = "12/14/2018 at 14:53:34 EST";
7+
private Version () {}
8+
public static void main (String[] argv) {
9+
System.out.println("LyChI Version: commit="+COMMIT+" version="+VERSION+" timestamp="+TIMESTAMP+" user="+USER);
10+
}
11+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)