Skip to content
Snippets Groups Projects
Commit 3ae8ff6f authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Reformated all the code.

parent c2685527
No related branches found
No related tags found
No related merge requests found
Showing
with 76 additions and 91 deletions
...@@ -16,10 +16,11 @@ ...@@ -16,10 +16,11 @@
* Philadelphia, PA 19148 * * Philadelphia, PA 19148 *
******************************************************************************* *******************************************************************************
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.syncleus.maven.plugins</groupId> <groupId>com.syncleus.maven.plugins</groupId>
<artifactId>maven-mongodb-plugin</artifactId> <artifactId>maven-mongodb-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
......
/** /**
* Copyright: (c) Syncleus, Inc. * Copyright: (c) Syncleus, Inc.
* * <p/>
* You may redistribute and modify this source code under the terms and * You may redistribute and modify this source code under the terms and
* conditions of the Open Source Community License - Type C version 1.0 * conditions of the Open Source Community License - Type C version 1.0
* or any later version as published by Syncleus, Inc. at www.syncleus.com. * or any later version as published by Syncleus, Inc. at www.syncleus.com.
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* otherwise use this file except through a legal and valid license. You * otherwise use this file except through a legal and valid license. You
* should also contact Syncleus, Inc. at the information below if you cannot * should also contact Syncleus, Inc. at the information below if you cannot
* find a license: * find a license:
* * <p/>
* Syncleus, Inc. * Syncleus, Inc.
* 2604 South 12th Street * 2604 South 12th Street
* Philadelphia, PA 19148 * Philadelphia, PA 19148
......
/** /**
* Copyright: (c) Syncleus, Inc. * Copyright: (c) Syncleus, Inc.
* * <p/>
* You may redistribute and modify this source code under the terms and * You may redistribute and modify this source code under the terms and
* conditions of the Open Source Community License - Type C version 1.0 * conditions of the Open Source Community License - Type C version 1.0
* or any later version as published by Syncleus, Inc. at www.syncleus.com. * or any later version as published by Syncleus, Inc. at www.syncleus.com.
...@@ -9,47 +9,20 @@ ...@@ -9,47 +9,20 @@
* otherwise use this file except through a legal and valid license. You * otherwise use this file except through a legal and valid license. You
* should also contact Syncleus, Inc. at the information below if you cannot * should also contact Syncleus, Inc. at the information below if you cannot
* find a license: * find a license:
* * <p/>
* Syncleus, Inc. * Syncleus, Inc.
* 2604 South 12th Street * 2604 South 12th Street
* Philadelphia, PA 19148 * Philadelphia, PA 19148
*/ */
package com.syncleus.maven.plugins.mongodb; package com.syncleus.maven.plugins.mongodb;
import static java.util.Collections.*;
import java.io.File;
import java.io.IOException;
import java.net.Authenticator;
import java.net.InetSocketAddress;
import java.net.PasswordAuthentication;
import java.net.Proxy;
import java.net.ProxySelector;
import java.net.SocketAddress;
import java.net.URI;
import java.net.UnknownHostException;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.project.MavenProject;
import com.syncleus.maven.plugins.mongodb.log.Loggers; import com.syncleus.maven.plugins.mongodb.log.Loggers;
import com.syncleus.maven.plugins.mongodb.log.Loggers.LoggingStyle; import com.syncleus.maven.plugins.mongodb.log.Loggers.LoggingStyle;
import de.flapdoodle.embed.mongo.Command; import de.flapdoodle.embed.mongo.Command;
import de.flapdoodle.embed.mongo.MongodExecutable; import de.flapdoodle.embed.mongo.MongodExecutable;
import de.flapdoodle.embed.mongo.MongodProcess; import de.flapdoodle.embed.mongo.MongodProcess;
import de.flapdoodle.embed.mongo.MongodStarter; import de.flapdoodle.embed.mongo.MongodStarter;
import de.flapdoodle.embed.mongo.config.ArtifactStoreBuilder; import de.flapdoodle.embed.mongo.config.*;
import de.flapdoodle.embed.mongo.config.DownloadConfigBuilder;
import de.flapdoodle.embed.mongo.config.IMongodConfig;
import de.flapdoodle.embed.mongo.config.MongodConfigBuilder;
import de.flapdoodle.embed.mongo.config.Net;
import de.flapdoodle.embed.mongo.config.RuntimeConfigBuilder;
import de.flapdoodle.embed.mongo.config.Storage;
import de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion; import de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion;
import de.flapdoodle.embed.mongo.distribution.Version; import de.flapdoodle.embed.mongo.distribution.Version;
import de.flapdoodle.embed.mongo.distribution.Versions; import de.flapdoodle.embed.mongo.distribution.Versions;
...@@ -62,6 +35,18 @@ import de.flapdoodle.embed.process.exceptions.DistributionException; ...@@ -62,6 +35,18 @@ import de.flapdoodle.embed.process.exceptions.DistributionException;
import de.flapdoodle.embed.process.runtime.ICommandLinePostProcessor; import de.flapdoodle.embed.process.runtime.ICommandLinePostProcessor;
import de.flapdoodle.embed.process.runtime.Network; import de.flapdoodle.embed.process.runtime.Network;
import de.flapdoodle.embed.process.store.IArtifactStore; import de.flapdoodle.embed.process.store.IArtifactStore;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.project.MavenProject;
import java.io.File;
import java.io.IOException;
import java.net.*;
import java.util.List;
import java.util.concurrent.TimeUnit;
import static java.util.Collections.singletonList;
/** /**
* When invoked, this goal starts an instance of mongo. The required binaries * When invoked, this goal starts an instance of mongo. The required binaries
...@@ -70,7 +55,7 @@ import de.flapdoodle.embed.process.store.IArtifactStore; ...@@ -70,7 +55,7 @@ import de.flapdoodle.embed.process.store.IArtifactStore;
* @goal start * @goal start
* @phase pre-integration-test * @phase pre-integration-test
* @see <a * @see <a
* href="http://github.com/flapdoodle-oss/embedmongo.flapdoodle.de">http://github.com/flapdoodle-oss/embedmongo.flapdoodle.de</a> * href="http://github.com/flapdoodle-oss/embedmongo.flapdoodle.de">http://github.com/flapdoodle-oss/embedmongo.flapdoodle.de</a>
*/ */
public class StartMongoMojo extends AbstractMojo { public class StartMongoMojo extends AbstractMojo {
...@@ -155,14 +140,14 @@ public class StartMongoMojo extends AbstractMojo { ...@@ -155,14 +140,14 @@ public class StartMongoMojo extends AbstractMojo {
/** /**
* @parameter expression="${mongodb.logFile}" * @parameter expression="${mongodb.logFile}"
* default-value="mongodb.log" * default-value="mongodb.log"
* @since 1.0.0 * @since 1.0.0
*/ */
private String logFile; private String logFile;
/** /**
* @parameter expression="${mongodb.logFileEncoding}" * @parameter expression="${mongodb.logFileEncoding}"
* default-value="utf-8" * default-value="utf-8"
* @since 1.0.0 * @since 1.0.0
*/ */
private String logFileEncoding; private String logFileEncoding;
...@@ -171,7 +156,7 @@ public class StartMongoMojo extends AbstractMojo { ...@@ -171,7 +156,7 @@ public class StartMongoMojo extends AbstractMojo {
* The base URL to be used when downloading MongoDB * The base URL to be used when downloading MongoDB
* *
* @parameter expression="${mongodb.downloadPath}" * @parameter expression="${mongodb.downloadPath}"
* default-value="http://fastdl.mongodb.org/" * default-value="http://fastdl.mongodb.org/"
* @since 1.0.0 * @since 1.0.0
*/ */
private String downloadPath; private String downloadPath;
...@@ -257,11 +242,11 @@ public class StartMongoMojo extends AbstractMojo { ...@@ -257,11 +242,11 @@ public class StartMongoMojo extends AbstractMojo {
} }
IRuntimeConfig runtimeConfig = new RuntimeConfigBuilder() IRuntimeConfig runtimeConfig = new RuntimeConfigBuilder()
.defaults(Command.MongoD) .defaults(Command.MongoD)
.processOutput(getOutputConfig()) .processOutput(getOutputConfig())
.artifactStore(getArtifactStore()) .artifactStore(getArtifactStore())
.commandLinePostProcessor(commandLinePostProcessor) .commandLinePostProcessor(commandLinePostProcessor)
.build(); .build();
if (randomPort) { if (randomPort) {
port = PortUtils.allocateRandomPort(); port = PortUtils.allocateRandomPort();
...@@ -269,10 +254,10 @@ public class StartMongoMojo extends AbstractMojo { ...@@ -269,10 +254,10 @@ public class StartMongoMojo extends AbstractMojo {
savePortToProjectProperties(); savePortToProjectProperties();
IMongodConfig config = new MongodConfigBuilder() IMongodConfig config = new MongodConfigBuilder()
.version((getVersion() == null || getVersion().equals("") ? Version.Main.PRODUCTION : getVersion())) .version((getVersion() == null || getVersion().equals("") ? Version.Main.PRODUCTION : getVersion()))
.net(new Net(bindIp, port, Network.localhostIsIPv6())) .net(new Net(bindIp, port, Network.localhostIsIPv6()))
.replication(new Storage(getDataDirectory(), replSet, oplogSize)) .replication(new Storage(getDataDirectory(), replSet, oplogSize))
.build(); .build();
executable = MongodStarter.getInstance(runtimeConfig).prepare(config); executable = MongodStarter.getInstance(runtimeConfig).prepare(config);
} catch (UnknownHostException e) { } catch (UnknownHostException e) {
...@@ -324,7 +309,7 @@ public class StartMongoMojo extends AbstractMojo { ...@@ -324,7 +309,7 @@ public class StartMongoMojo extends AbstractMojo {
return Loggers.none(); return Loggers.none();
default: default:
throw new MojoFailureException("Unexpected logging style encountered: \"" + logging + "\" -> " + throw new MojoFailureException("Unexpected logging style encountered: \"" + logging + "\" -> " +
loggingStyle); loggingStyle);
} }
} }
......
/** /**
* Copyright: (c) Syncleus, Inc. * Copyright: (c) Syncleus, Inc.
* * <p/>
* You may redistribute and modify this source code under the terms and * You may redistribute and modify this source code under the terms and
* conditions of the Open Source Community License - Type C version 1.0 * conditions of the Open Source Community License - Type C version 1.0
* or any later version as published by Syncleus, Inc. at www.syncleus.com. * or any later version as published by Syncleus, Inc. at www.syncleus.com.
...@@ -9,23 +9,22 @@ ...@@ -9,23 +9,22 @@
* otherwise use this file except through a legal and valid license. You * otherwise use this file except through a legal and valid license. You
* should also contact Syncleus, Inc. at the information below if you cannot * should also contact Syncleus, Inc. at the information below if you cannot
* find a license: * find a license:
* * <p/>
* Syncleus, Inc. * Syncleus, Inc.
* 2604 South 12th Street * 2604 South 12th Street
* Philadelphia, PA 19148 * Philadelphia, PA 19148
*/ */
package com.syncleus.maven.plugins.mongodb; package com.syncleus.maven.plugins.mongodb;
import de.flapdoodle.embed.mongo.MongodProcess;
import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugin.MojoFailureException;
import de.flapdoodle.embed.mongo.MongodProcess;
/** /**
* When invoked, this goal stops an instance of mojo that was started by this * When invoked, this goal stops an instance of mojo that was started by this
* plugin. * plugin.
* *
* @goal stop * @goal stop
* @phase post-integration-test * @phase post-integration-test
*/ */
...@@ -41,8 +40,8 @@ public class StopMongoMojo extends AbstractMojo { ...@@ -41,8 +40,8 @@ public class StopMongoMojo extends AbstractMojo {
if (skip) { if (skip) {
return; return;
} }
MongodProcess mongod = (MongodProcess)getPluginContext().get(StartMongoMojo MongodProcess mongod = (MongodProcess) getPluginContext().get(StartMongoMojo
.MONGOD_CONTEXT_PROPERTY_NAME); .MONGOD_CONTEXT_PROPERTY_NAME);
if (mongod != null) { if (mongod != null) {
......
/** /**
* Copyright: (c) Syncleus, Inc. * Copyright: (c) Syncleus, Inc.
* * <p/>
* You may redistribute and modify this source code under the terms and * You may redistribute and modify this source code under the terms and
* conditions of the Open Source Community License - Type C version 1.0 * conditions of the Open Source Community License - Type C version 1.0
* or any later version as published by Syncleus, Inc. at www.syncleus.com. * or any later version as published by Syncleus, Inc. at www.syncleus.com.
...@@ -9,19 +9,19 @@ ...@@ -9,19 +9,19 @@
* otherwise use this file except through a legal and valid license. You * otherwise use this file except through a legal and valid license. You
* should also contact Syncleus, Inc. at the information below if you cannot * should also contact Syncleus, Inc. at the information below if you cannot
* find a license: * find a license:
* * <p/>
* Syncleus, Inc. * Syncleus, Inc.
* 2604 South 12th Street * 2604 South 12th Street
* Philadelphia, PA 19148 * Philadelphia, PA 19148
*/ */
package com.syncleus.maven.plugins.mongodb.log; package com.syncleus.maven.plugins.mongodb.log;
import de.flapdoodle.embed.process.io.IStreamProcessor;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStreamWriter; import java.io.OutputStreamWriter;
import de.flapdoodle.embed.process.io.IStreamProcessor;
public class FileOutputStreamProcessor implements IStreamProcessor { public class FileOutputStreamProcessor implements IStreamProcessor {
private static OutputStreamWriter stream; private static OutputStreamWriter stream;
......
/** /**
* Copyright: (c) Syncleus, Inc. * Copyright: (c) Syncleus, Inc.
* * <p/>
* You may redistribute and modify this source code under the terms and * You may redistribute and modify this source code under the terms and
* conditions of the Open Source Community License - Type C version 1.0 * conditions of the Open Source Community License - Type C version 1.0
* or any later version as published by Syncleus, Inc. at www.syncleus.com. * or any later version as published by Syncleus, Inc. at www.syncleus.com.
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* otherwise use this file except through a legal and valid license. You * otherwise use this file except through a legal and valid license. You
* should also contact Syncleus, Inc. at the information below if you cannot * should also contact Syncleus, Inc. at the information below if you cannot
* find a license: * find a license:
* * <p/>
* Syncleus, Inc. * Syncleus, Inc.
* 2604 South 12th Street * 2604 South 12th Street
* Philadelphia, PA 19148 * Philadelphia, PA 19148
...@@ -23,17 +23,13 @@ import de.flapdoodle.embed.process.io.NamedOutputStreamProcessor; ...@@ -23,17 +23,13 @@ import de.flapdoodle.embed.process.io.NamedOutputStreamProcessor;
public class Loggers { public class Loggers {
public enum LoggingStyle {
FILE, CONSOLE, NONE
}
public static ProcessOutput file(String logFile, String encoding) { public static ProcessOutput file(String logFile, String encoding) {
FileOutputStreamProcessor file = new FileOutputStreamProcessor(logFile, encoding); FileOutputStreamProcessor file = new FileOutputStreamProcessor(logFile, encoding);
return new ProcessOutput( return new ProcessOutput(
new NamedOutputStreamProcessor("[mongod output]", file), new NamedOutputStreamProcessor("[mongod output]", file),
new NamedOutputStreamProcessor("[mongod error]", file), new NamedOutputStreamProcessor("[mongod error]", file),
new NamedOutputStreamProcessor("[mongod commands]", file)); new NamedOutputStreamProcessor("[mongod commands]", file));
} }
public static ProcessOutput console() { public static ProcessOutput console() {
...@@ -44,4 +40,8 @@ public class Loggers { ...@@ -44,4 +40,8 @@ public class Loggers {
NoopStreamProcessor noop = new NoopStreamProcessor(); NoopStreamProcessor noop = new NoopStreamProcessor();
return new ProcessOutput(noop, noop, noop); return new ProcessOutput(noop, noop, noop);
} }
public enum LoggingStyle {
FILE, CONSOLE, NONE
}
} }
/** /**
* Copyright: (c) Syncleus, Inc. * Copyright: (c) Syncleus, Inc.
* * <p/>
* You may redistribute and modify this source code under the terms and * You may redistribute and modify this source code under the terms and
* conditions of the Open Source Community License - Type C version 1.0 * conditions of the Open Source Community License - Type C version 1.0
* or any later version as published by Syncleus, Inc. at www.syncleus.com. * or any later version as published by Syncleus, Inc. at www.syncleus.com.
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* otherwise use this file except through a legal and valid license. You * otherwise use this file except through a legal and valid license. You
* should also contact Syncleus, Inc. at the information below if you cannot * should also contact Syncleus, Inc. at the information below if you cannot
* find a license: * find a license:
* * <p/>
* Syncleus, Inc. * Syncleus, Inc.
* 2604 South 12th Street * 2604 South 12th Street
* Philadelphia, PA 19148 * Philadelphia, PA 19148
......
/** /**
* Copyright: (c) Syncleus, Inc. * Copyright: (c) Syncleus, Inc.
* * <p/>
* You may redistribute and modify this source code under the terms and * You may redistribute and modify this source code under the terms and
* conditions of the Open Source Community License - Type C version 1.0 * conditions of the Open Source Community License - Type C version 1.0
* or any later version as published by Syncleus, Inc. at www.syncleus.com. * or any later version as published by Syncleus, Inc. at www.syncleus.com.
...@@ -9,13 +9,16 @@ ...@@ -9,13 +9,16 @@
* otherwise use this file except through a legal and valid license. You * otherwise use this file except through a legal and valid license. You
* should also contact Syncleus, Inc. at the information below if you cannot * should also contact Syncleus, Inc. at the information below if you cannot
* find a license: * find a license:
* * <p/>
* Syncleus, Inc. * Syncleus, Inc.
* 2604 South 12th Street * 2604 South 12th Street
* Philadelphia, PA 19148 * Philadelphia, PA 19148
*/ */
package com.syncleus.maven.plugins.mongodb; package com.syncleus.maven.plugins.mongodb;
import org.junit.After;
import org.junit.Test;
import java.io.IOException; import java.io.IOException;
import java.net.ServerSocket; import java.net.ServerSocket;
import java.util.Random; import java.util.Random;
...@@ -24,9 +27,6 @@ import java.util.concurrent.Executors; ...@@ -24,9 +27,6 @@ import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import org.junit.After;
import org.junit.Test;
public class PortUtilsTest { public class PortUtilsTest {
private final ScheduledExecutorService testPooledExecutor = Executors.newScheduledThreadPool(20); private final ScheduledExecutorService testPooledExecutor = Executors.newScheduledThreadPool(20);
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
* Philadelphia, PA 19148 * * Philadelphia, PA 19148 *
******************************************************************************* *******************************************************************************
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
* Philadelphia, PA 19148 * * Philadelphia, PA 19148 *
******************************************************************************* *******************************************************************************
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
...@@ -54,10 +54,10 @@ ...@@ -54,10 +54,10 @@
</goals> </goals>
<configuration> <configuration>
<port>37017</port> <port>37017</port>
<version>2.1.1</version> <version>2.1.1</version>
<databaseDirectory>.</databaseDirectory> <databaseDirectory>.</databaseDirectory>
<logging>file</logging> <logging>file</logging>
<bindIp>127.0.0.1</bindIp> <bindIp>127.0.0.1</bindIp>
<authEnabled>false</authEnabled> <authEnabled>false</authEnabled>
</configuration> </configuration>
</execution> </execution>
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
* Philadelphia, PA 19148 * * Philadelphia, PA 19148 *
******************************************************************************* *******************************************************************************
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
* Philadelphia, PA 19148 * * Philadelphia, PA 19148 *
******************************************************************************* *******************************************************************************
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
* Philadelphia, PA 19148 * * Philadelphia, PA 19148 *
******************************************************************************* *******************************************************************************
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
......
/** /**
* Copyright: (c) Syncleus, Inc. * Copyright: (c) Syncleus, Inc.
* * <p/>
* You may redistribute and modify this source code under the terms and * You may redistribute and modify this source code under the terms and
* conditions of the Open Source Community License - Type C version 1.0 * conditions of the Open Source Community License - Type C version 1.0
* or any later version as published by Syncleus, Inc. at www.syncleus.com. * or any later version as published by Syncleus, Inc. at www.syncleus.com.
...@@ -9,18 +9,18 @@ ...@@ -9,18 +9,18 @@
* otherwise use this file except through a legal and valid license. You * otherwise use this file except through a legal and valid license. You
* should also contact Syncleus, Inc. at the information below if you cannot * should also contact Syncleus, Inc. at the information below if you cannot
* find a license: * find a license:
* * <p/>
* Syncleus, Inc. * Syncleus, Inc.
* 2604 South 12th Street * 2604 South 12th Street
* Philadelphia, PA 19148 * Philadelphia, PA 19148
*/ */
package com.syncleus.maven.plugins.mongodb; package com.syncleus.maven.plugins.mongodb;
import java.net.Socket;
import org.junit.After; import org.junit.After;
import org.junit.Test; import org.junit.Test;
import java.net.Socket;
public class MongoIT { public class MongoIT {
private Socket mongoSocket; private Socket mongoSocket;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment