Building Graylog from source


(Jake Smith) #1

Hi All,

I believe I have built Graylog correctly from source on Ubuntu 16.04

Here is what I did

Installed Oracle Java 8
Installed maven

git clone https://github.com/Graylog2/graylog2-server.git
mvn package.

I have uploaded the output from the build process, it says it build sucessfully at the end but there was a large number of warning and unmet dependancies within the react portion of the build.

Here is the last portion of the log

[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ integration-tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ integration-tests ---
[INFO] No sources to compile
[INFO] 
[INFO] --- forbiddenapis:2.4.1:check (forbidden-apis-src) @ integration-tests ---
[INFO] Scanning for classes to check...
[WARNING] No classes found in '/home/sigma/graylog2-server/integration-tests/target/classes' (includes=[**/*.class], excludes=null), forbiddenapis check skipped.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ integration-tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 52 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ integration-tests ---
[INFO] Compiling 28 source files to /home/sigma/graylog2-server/integration-tests/target/test-classes
[WARNING] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/util/mongodb/JsonReader.java:[23,24] com.mongodb.util.JSON in com.mongodb.util has been deprecated
[WARNING] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/util/mongodb/JsonReader.java:[23,24] com.mongodb.util.JSON in com.mongodb.util has been deprecated
[WARNING] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/util/mongodb/JsonReader.java:[23,24] com.mongodb.util.JSON in com.mongodb.util has been deprecated
[WARNING] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/RestAssuredSetupRule.java:[43,52] [StringSplitter] Prefer Splitter to String.split
    (see http://errorprone.info/bugpattern/StringSplitter)
  Did you mean 'List<String> userInfo = Splitter.on(":").splitToList(uri.getUserInfo());'?
[WARNING] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/util/mongodb/JsonReader.java:[49,64] com.mongodb.util.JSON in com.mongodb.util has been deprecated
[WARNING] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/IntegrationTestsConfig.java:[52,65] [StringSplitter] Prefer Splitter to String.split
    (see http://errorprone.info/bugpattern/StringSplitter)
  Did you mean 'final List<String> userInfo = Splitter.on(":").splitToList(result.getUserInfo());'?
[WARNING] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/util/mongodb/MongodbSeed.java:[42,36] getDB(java.lang.String) in com.mongodb.Mongo has been deprecated
[INFO] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/BaseRestTestHelper.java:[-1,-1] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/BaseRestTestHelper.java uses unchecked or unsafe operations.
[INFO] /home/sigma/graylog2-server/integration-tests/src/test/java/integration/BaseRestTestHelper.java:[-1,-1] Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- forbiddenapis:2.4.1:testCheck (forbidden-apis-test) @ integration-tests ---
[INFO] Scanning for classes to check...
[INFO] Reading bundled API signatures: jdk-unsafe-1.8
[INFO] Reading bundled API signatures: jdk-deprecated-1.8
[INFO] Reading bundled API signatures: jdk-reflection
[INFO] Reading bundled API signatures: commons-io-unsafe-2.5
[INFO] Reading API signatures: /home/sigma/graylog2-server/integration-tests/../config/forbidden-apis/netty3.txt
[INFO] Reading API signatures: /home/sigma/graylog2-server/integration-tests/../config/forbidden-apis/signatures.txt
[INFO] Loading classes to check...
[INFO] Scanning classes for violations...
[INFO] Scanned 34 class file(s) for forbidden API invocations (in 0.42s), 0 error(s).
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ integration-tests ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ integration-tests ---
[INFO] Building jar: /home/sigma/graylog2-server/integration-tests/target/integration-tests-3.0.0-SNAPSHOT.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Graylog Plugin Parent POM 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Graylog Plugin with Web support Parent POM 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- frontend-maven-plugin:1.6:install-node-and-yarn (install node and yarn) @ graylog-plugin-web-parent ---
[INFO] Installing node version v8.9.1
[INFO] Unpacking /home/sigma/.m2/repository/com/github/eirslett/node/8.9.1/node-8.9.1-linux-x64.tar.gz into /home/sigma/graylog2-server/graylog-plugin-parent/graylog-plugin-web-parent/node/tmp
[INFO] Copying node binary from /home/sigma/graylog2-server/graylog-plugin-parent/graylog-plugin-web-parent/node/tmp/node-v8.9.1-linux-x64/bin/node to /home/sigma/graylog2-server/graylog-plugin-parent/graylog-plugin-web-parent/node/node
[INFO] Installed node locally.
[INFO] Installing Yarn version v1.3.2
[INFO] Unpacking /home/sigma/.m2/repository/com/github/eirslett/yarn/1.3.2/yarn-1.3.2.tar.gz into /home/sigma/graylog2-server/graylog-plugin-parent/graylog-plugin-web-parent/node/yarn
[INFO] Installed Yarn locally.
[INFO] 
[INFO] --- frontend-maven-plugin:1.6:yarn (yarn install) @ graylog-plugin-web-parent ---
[INFO] Running 'yarn install' in /home/sigma/graylog2-server/graylog-plugin-parent/graylog-plugin-web-parent
[INFO] yarn install v1.3.2
[INFO] info No lockfile found.
[INFO] [1/4] Resolving packages...
[INFO] [2/4] Fetching packages...
[INFO] [3/4] Linking dependencies...
[INFO] [4/4] Building fresh packages...
[INFO] info Lockfile not saved, no dependencies.
[INFO] Done in 0.29s.
[INFO] 
[INFO] --- frontend-maven-plugin:1.6:yarn (yarn run build) @ graylog-plugin-web-parent ---
[INFO] Running 'yarn run build' in /home/sigma/graylog2-server/graylog-plugin-parent/graylog-plugin-web-parent
[INFO] yarn run v1.3.2
[INFO] $ echo 'Dummy build script for graylog-plugin-web-parent'
[INFO] Dummy build script for graylog-plugin-web-parent
[INFO] Done in 0.21s.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building graylog-plugin-archetype 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/3.0.1/maven-archetype-plugin-3.0.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/3.0.1/maven-archetype-plugin-3.0.1.pom (10 KB at 311.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/3.0.1/maven-archetype-plugin-3.0.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/3.0.1/maven-archetype-plugin-3.0.1.jar (94 KB at 1666.2 KB/sec)
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ graylog-plugin-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] 
[INFO] --- forbiddenapis:2.4.1:check (forbidden-apis-src) @ graylog-plugin-archetype ---
[INFO] Scanning for classes to check...
[WARNING] No classes found in '/home/sigma/graylog2-server/graylog-plugin-archetype/target/classes' (includes=[**/*.class], excludes=null), forbiddenapis check skipped.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ graylog-plugin-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/sigma/graylog2-server/graylog-plugin-archetype/src/test/resources
[INFO] 
[INFO] --- forbiddenapis:2.4.1:testCheck (forbidden-apis-test) @ graylog-plugin-archetype ---
[INFO] Scanning for classes to check...
[WARNING] Classes directory does not exist, forbiddenapis check skipped: /home/sigma/graylog2-server/graylog-plugin-archetype/target/test-classes
[INFO] 
[INFO] --- maven-archetype-plugin:3.0.1:jar (default-jar) @ graylog-plugin-archetype ---
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/3.0.1/archetype-catalog-3.0.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/3.0.1/archetype-catalog-3.0.1.pom (2 KB at 44.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-models/3.0.1/archetype-models-3.0.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-models/3.0.1/archetype-models-3.0.1.pom (3 KB at 83.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/3.0.1/archetype-descriptor-3.0.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/3.0.1/archetype-descriptor-3.0.1.pom (2 KB at 31.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/3.0.1/archetype-common-3.0.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/3.0.1/archetype-common-3.0.1.pom (19 KB at 463.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.pom
Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.pom (2 KB at 46.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom
Downloaded: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom (7 KB at 213.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.pom
Downloaded: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.pom (2 KB at 27.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-invoker/2.2/maven-invoker-2.2.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-invoker/2.2/maven-invoker-2.2.pom (6 KB at 119.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-artifact-transfer/0.9.0/maven-artifact-transfer-0.9.0.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-artifact-transfer/0.9.0/maven-artifact-transfer-0.9.0.pom (8 KB at 161.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.0/maven-common-artifact-filters-3.0.0.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.0/maven-common-artifact-filters-3.0.0.pom (5 KB at 87.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.pom (2 KB at 45.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.15/plexus-components-1.1.15.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.15/plexus-components-1.1.15.pom (3 KB at 84.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.3/plexus-2.0.3.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.3/plexus-2.0.3.pom (16 KB at 444.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.7/velocity-1.7.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.7/velocity-1.7.pom (11 KB at 230.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.pom (14 KB at 568.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.8/wagon-provider-api-2.8.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.8/wagon-provider-api-2.8.pom (2 KB at 62.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.8/wagon-2.8.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.8/wagon-2.8.pom (19 KB at 513.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.pom (32 KB at 545.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.pom
Downloaded: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.pom (632 B at 14.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.pom (264 B at 7.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-parent/3.2/asm-parent-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-parent/3.2/asm-parent-3.2.pom (5 KB at 125.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-commons/3.2/asm-commons-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-commons/3.2/asm-commons-3.2.pom (415 B at 15.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.pom (404 B at 14.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-util/3.2/asm-util-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-util/3.2/asm-util-3.2.pom (409 B at 9.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.pom (417 B at 11.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.pom (726 B at 29.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity/1.0-alpha-6/plexus-interactivity-1.0-alpha-6.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity/1.0-alpha-6/plexus-interactivity-1.0-alpha-6.pom (2 KB at 24.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.pom (3 KB at 79.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-script-interpreter/1.0/maven-script-interpreter-1.0.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-script-interpreter/1.0/maven-script-interpreter-1.0.pom (4 KB at 110.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/17/maven-shared-components-17.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/17/maven-shared-components-17.pom (9 KB at 314.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/21/maven-parent-21.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/21/maven-parent-21.pom (26 KB at 780.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom (15 KB at 352.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.pom (9 KB at 171.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.8.1/ant-parent-1.8.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.8.1/ant-parent-1.8.1.pom (5 KB at 123.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/3.0.1/archetype-catalog-3.0.1.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/3.0.1/archetype-common-3.0.1.jar
Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/3.0.1/archetype-descriptor-3.0.1.jar
Downloading: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/3.0.1/archetype-catalog-3.0.1.jar (19 KB at 157.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.jar
Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.jar (26 KB at 259.8 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/3.0.1/archetype-descriptor-3.0.1.jar (24 KB at 193.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.7/velocity-1.7.jar
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar (8 KB at 48.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
Downloaded: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.jar (150 KB at 613.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.8/wagon-provider-api-2.8.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.8/wagon-provider-api-2.8.jar (52 KB at 152.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar
Downloaded: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar (307 KB at 780.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/3.0.1/archetype-common-3.0.1.jar (324 KB at 808.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.jar (256 KB at 575.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-commons/3.2/asm-commons-3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-commons/3.2/asm-commons-3.2.jar (33 KB at 61.4 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/asm/asm/3.2/asm-3.2.jar (43 KB at 80.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.jar
Downloading: https://repo.maven.apache.org/maven2/asm/asm-util/3.2/asm-util-3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.7/velocity-1.7.jar (439 KB at 804.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.jar
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-util/3.2/asm-util-3.2.jar (36 KB at 60.7 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.2/asm-analysis-3.2.jar (18 KB at 29.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-invoker/2.2/maven-invoker-2.2.jar
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-tree/3.2/asm-tree-3.2.jar (22 KB at 34.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-artifact-transfer/0.9.0/maven-artifact-transfer-0.9.0.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar (12 KB at 17.8 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-invoker/2.2/maven-invoker-2.2.jar (30 KB at 45.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.0/maven-common-artifact-filters-3.0.0.jar
Downloading: https://repo.maven.apache.org/maven2/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.0/maven-common-artifact-filters-3.0.0.jar (56 KB at 72.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-script-interpreter/1.0/maven-script-interpreter-1.0.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-artifact-transfer/0.9.0/maven-artifact-transfer-0.9.0.jar (121 KB at 154.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-script-interpreter/1.0/maven-script-interpreter-1.0.jar (21 KB at 24.2 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar (435 KB at 517.7 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar (562 KB at 495.5 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.jar (1479 KB at 901.1 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar (5394 KB at 1997.4 KB/sec)
[INFO] Building archetype jar: /home/sigma/graylog2-server/graylog-plugin-archetype/target/graylog-plugin-archetype-3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Graylog Parent POM ................................. SUCCESS [  0.003 s]
[INFO] Graylog Project Parent POM ......................... SUCCESS [  1.213 s]
[INFO] Graylog ............................................ SUCCESS [36:10 min]
[INFO] integration-tests .................................. SUCCESS [ 17.387 s]
[INFO] Graylog Plugin Parent POM .......................... SUCCESS [  0.001 s]
[INFO] Graylog Plugin with Web support Parent POM ......... SUCCESS [  4.846 s]
[INFO] graylog-plugin-archetype ........................... SUCCESS [  6.149 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36:56 min
[INFO] Finished at: 2018-01-23T18:05:06+00:00
[INFO] Final Memory: 77M/396M
[INFO] -----------------------------------------------------------

I want to build from source so that I can make a couple of UI changes.

Cheers Jake


(Jake Smith) #2

Dear All,

I have a complete log of the build output but there is now way to upload to forum as it is a forbidden file type.

Can i just copy and paste entire build? It seems a touch excessive, I was hoping to use pastebin or similar?

Any suggestions

Cheers

Jake


(Jochen) #3

You can use whatever PasteBin service you want to use and share the URL to the uploaded file.

Since the build was successful, what problem do you have exactly?
FWIW, you can build a distribution tar-ball with the following Maven command:

mvn assembly:single

(Jake Smith) #4

Hi Jochen,

I saw that in the pom.xml I think.

Is there a way to build a .deb file using maven, I have seen that there are some plugins. Is there any that you can recommend?

Alternatively, I am assuming you could install from the source tarball or use it to make said .deb file?

Is there an documentation that you could point me to apart the graylog docs at http://docs.graylog.org/en/2.4/pages/installation/manual_setup.html#configuration

On the pastebin front, the file is > 512k which is the limit for free pastebin. I might upload to Google drive, I’ll let you know.

Kind Regards

Jake


(Jochen) #5

We’re using jdeb for that in some of our plugins but not for Graylog itself.


(Jake Smith) #6

Hi Jochen,

Could I ask is there some information you could share on the process from building a deb from source tarball?

I suppose I could look at the deb in my systems apt cache to look at how that was built.

Kind Regards

Jake


(Jochen) #7

You can find the package definitions for Graylog and the Collector Sidecar on GitHub:


(system) #8

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.