Commit b63aacba authored by Fred Eisele's avatar Fred Eisele
Browse files

split out the examples that do not work as unit tests, added deploy to local nexus repo manager

parent c786f86a
Loading
Loading
Loading
Loading
+17 −10
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
    <modelVersion>4.0.0</modelVersion>
    <groupId>net.catdata</groupId>
    <artifactId>fql</artifactId>
    <version>0.9-SNAPSHOT-maven</version>
    <version>0.9-SNAPSHOT</version>
    <packaging>jar</packaging>
    <name>Categorical Data IDE</name>
    <url>http://categoricaldata.net/fql.html</url>
@@ -26,6 +26,10 @@
            <id>babeloff-snapshots</id>
            <url>https://github.com/babeloff/mvn-repo/raw/master/snapshots</url>
        </repository>
        <repository>
          <id>nexus</id>
          <url>http://immortals.isis.vanderbilt.edu:8081/repository/maven-snapshots/</url>
        </repository>
    </repositories>
    <build>
        <!-- Use non-standard src directory -->
@@ -43,7 +47,6 @@
        </testResources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <version>3.0.0-M1</version>
                <executions>
@@ -63,7 +66,6 @@
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-eclipse-plugin</artifactId>
                <version>2.10</version>
                <configuration>
@@ -73,7 +75,6 @@
            </plugin>
            <!-- Set a compiler level -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.6.2</version>
                <configuration>
@@ -83,7 +84,6 @@
            </plugin>
            <!-- Generate the jar manifest -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>3.0.2</version>
                <configuration>
@@ -97,6 +97,7 @@
            <!-- Build a standalone FQL jar containing all libraries when 'package' is executed. -->
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>3.1.0</version>
                <configuration>
                    <archive>
                        <manifest>
@@ -104,9 +105,10 @@
                            <!-- your further configuration here -->
                        </manifest>
                    </archive>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                    <descriptors>
                      <descriptor>src/assembly/bin.xml</descriptor>
                      <descriptor>src/assembly/jar-with-deps.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
@@ -120,7 +122,6 @@
            </plugin>
            <!--
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-dependency-plugin</artifactId>
              <version>3.0.2</version>
              <executions>
@@ -141,12 +142,18 @@
            </plugin>
            -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.21.0</version>
            </plugin>
        </plugins>
    </build>
    <distributionManagement>
      <repository>
        <id>nexus</id>
        <name>Snapshot</name>
        <url>http://immortals.isis.vanderbilt.edu:8081/repository/maven-snapshots/</url>
      </repository>
    </distributionManagement>
    <dependencies>
        <dependency>
            <groupId>net.sourceforge.collections</groupId>

src/assembly/bin.xml

0 → 100644
+32 −0
Original line number Diff line number Diff line
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
  <id>bin</id>
  <formats>
    <format>tar.gz</format>
    <format>tar.bz2</format>
    <format>zip</format>
  </formats>
  <fileSets>
    <fileSet>
      <directory>${project.basedir}</directory>
      <outputDirectory>/</outputDirectory>
      <includes>
        <include>README*</include>
        <include>LICENSE*</include>
        <include>NOTICE*</include>
      </includes>
    </fileSet>
    <fileSet>
      <directory>${project.build.directory}</directory>
      <outputDirectory>/</outputDirectory>
      <includes>
        <include>*.jar</include>
      </includes>
    </fileSet>
    <fileSet>
      <directory>${project.build.directory}/site</directory>
      <outputDirectory>docs</outputDirectory>
    </fileSet>
  </fileSets>
</assembly>
+17 −0
Original line number Diff line number Diff line
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
  <id>jar-with-deps</id>
  <formats>
    <format>jar</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <dependencySets>
    <dependencySet>
      <outputDirectory>/</outputDirectory>
      <useProjectArtifact>true</useProjectArtifact>
      <unpack>true</unpack>
      <scope>runtime</scope>
    </dependencySet>
  </dependencySets>
</assembly>