Skip to content

Commit 5b6dd56

Browse files
committed
Update to metafacture-core 4.0.0
Since support for visualisation of Morph scripts has been removed from metafacture-core, the corresponding command line tool is also removed.
1 parent 8aea930 commit 5b6dd56

File tree

5 files changed

+24
-102
lines changed

5 files changed

+24
-102
lines changed

pom.xml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<archive>
102102
<manifest>
103103
<addClasspath>true</addClasspath>
104-
<!-- Configures the classpath prefix. This configuration option is
104+
<!-- Configures the classpath prefix. This configuration option is
105105
used to specify that all needed libraries are found under lib/ directory. -->
106106
<classpathPrefix>lib/</classpathPrefix>
107107
<!-- Specifies the main class of the application -->
@@ -113,13 +113,13 @@
113113
</archive>
114114
</configuration>
115115
</plugin>
116-
116+
117117
<plugin>
118118
<groupId>org.apache.maven.plugins</groupId>
119119
<artifactId>maven-surefire-plugin</artifactId>
120120
<version>2.10</version>
121121
</plugin>
122-
122+
123123
<plugin>
124124
<groupId>org.codehaus.mojo</groupId>
125125
<artifactId>buildnumber-maven-plugin</artifactId>
@@ -161,9 +161,9 @@
161161
<artifactId>maven-assembly-plugin</artifactId>
162162
<version>2.4</version>
163163
<dependencies>
164-
<!-- Pin the versions of plexus-archiver and plexus-io as
165-
there are apparently two bugs in the versions on which
166-
maven-assembly-plugin depends on by default. See
164+
<!-- Pin the versions of plexus-archiver and plexus-io as
165+
there are apparently two bugs in the versions on which
166+
maven-assembly-plugin depends on by default. See
167167
http://www.misanthropicgeek.net/?p=1303 for details. -->
168168
<dependency>
169169
<groupId>org.codehaus.plexus</groupId>
@@ -206,27 +206,27 @@
206206
<groupId>org.apache.maven.plugins</groupId>
207207
<artifactId>maven-release-plugin</artifactId>
208208
<version>2.4</version><!--$NO-MVN-MAN-VER$ -->
209-
<!-- m2e complains about a different plugin version being specified in
210-
the parent pom. However, this is not actually problem for maven. So, we can
209+
<!-- m2e complains about a different plugin version being specified in
210+
the parent pom. However, this is not actually problem for maven. So, we can
211211
ignore the warning. -->
212212
</plugin>
213213

214214
</plugins>
215215
</build>
216216

217217
<dependencies>
218-
218+
219219
<dependency>
220220
<groupId>org.culturegraph</groupId>
221221
<artifactId>metafacture-core</artifactId>
222-
<version>3.1.2</version>
222+
<version>4.0.0</version>
223223
</dependency>
224224

225225
<!-- In a perfect world the slf4j binding would be a
226226
provided dependency so that the user can replace
227227
it easily with a different binding. However, slf4j
228228
does not use the context class loader for loading
229-
its binding but the same class loader which was
229+
its binding but the same class loader which was
230230
used to load the classes of the slf4j-api. Until
231231
a solution is found for this problem, the binding
232232
need to be placed on the class path. -->
@@ -239,24 +239,24 @@
239239
<!-- The following dependencies are placed in the "provided"
240240
scope to prevent them from being included in the class
241241
path but still have them available for building the
242-
distribution assembly.
243-
The reason for this is that an appropriate implementation
244-
for jndi depends on the runtime environment and
245-
should be chosen by the user of the package and not the
242+
distribution assembly.
243+
The reason for this is that an appropriate implementation
244+
for jndi depends on the runtime environment and
245+
should be chosen by the user of the package and not the
246246
package implementer. However, we also attempt to build
247-
a distribution package which should include everything
248-
that is required for metafacture-runner/Flux to work out
247+
a distribution package which should include everything
248+
that is required for metafacture-runner/Flux to work out
249249
of the box. By including the dependencies in the assembly
250-
without putting them on the class path, the user can
251-
replace them easily with other implementations if
250+
without putting them on the class path, the user can
251+
replace them easily with other implementations if
252252
necessary. -->
253253
<dependency>
254254
<groupId>simple-jndi</groupId>
255255
<artifactId>simple-jndi</artifactId>
256256
<version>0.11.4.1</version>
257257
<scope>provided</scope>
258258
</dependency>
259-
259+
260260
<dependency>
261261
<!-- Required for connection pooling with simple-jndi -->
262262
<groupId>commons-dbcp</groupId>

src/main/java/org/culturegraph/mf/runner/Flux.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
import java.util.regex.Pattern;
2424

2525
import org.antlr.runtime.RecognitionException;
26+
import org.culturegraph.mf.commons.ResourceUtil;
2627
import org.culturegraph.mf.flux.FluxCompiler;
2728
import org.culturegraph.mf.flux.parser.FluxProgramm;
2829
import org.culturegraph.mf.runner.util.DirectoryClassLoader;
29-
import org.culturegraph.mf.util.ResourceUtil;
3030

3131
/**
3232
* @author Markus Michael Geipel
@@ -103,4 +103,4 @@ private static void setClassLoader(final ClassLoader classLoader) {
103103
Thread.currentThread().setContextClassLoader(classLoader);
104104
}
105105

106-
}
106+
}

src/main/java/org/culturegraph/mf/runner/MorphVis.java

Lines changed: 0 additions & 62 deletions
This file was deleted.

src/main/java/org/culturegraph/mf/runner/util/DirectoryClassLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import java.net.URL;
2222
import java.net.URLClassLoader;
2323

24-
import org.culturegraph.mf.exceptions.MetafactureException;
24+
import org.culturegraph.mf.framework.MetafactureException;
2525

2626
/**
2727
* A class loader which allows adding directories to the class
@@ -59,4 +59,4 @@ public void addDirectory(final File dir) {
5959
}
6060
}
6161

62-
}
62+
}

src/main/scripts/visualizeMorphDefs.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)