orientechnologies / orientdb-gremlin

TinkerPop3 Graph Structure Implementation for OrientDB
Apache License 2.0
93 stars 32 forks source link

setting up rultor config #95

Closed mpollmeier closed 8 years ago

mpollmeier commented 8 years ago

@rultor release, tag=rultor-tests

rultor commented 8 years ago

@rultor release, tag=rultor-tests

@mpollmeier OK, I will release it now. Please check the progress here

rultor commented 8 years ago

@rultor release, tag=rultor-tests

@mpollmeier Oops, I failed. You can see the full log here (spent 1min)

[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientVertex.java:[137,70] VERTEX_CLASS_NAME in com.orientechnologies.orient.core.metadata.schema.OImmutableClass has been deprecated
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientVertex.java:[186,92] EDGE_CLASS_NAME in com.orientechnologies.orient.core.metadata.schema.OImmutableClass has been deprecated
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientVertex.java:[345,31] EDGE_CLASS_NAME in com.orientechnologies.orient.core.metadata.schema.OImmutableClass has been deprecated
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/strategy/optimization/OrientGraphStepStrategy.java:[28,40] unchecked method invocation: method replaceStep in class org.apache.tinkerpop.gremlin.process.traversal.util.TraversalHelper is applied to given types
  required: org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>,org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>,org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin<?,?>
  found: org.apache.tinkerpop.gremlin.process.traversal.Step<capture#1 of ?,capture#2 of ?>,org.apache.tinkerpop.gremlin.process.traversal.Step,org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin<capture#3 of ?,capture#4 of ?>
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/strategy/optimization/OrientGraphStepStrategy.java:[28,52] unchecked conversion
  required: org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
  found:    org.apache.tinkerpop.gremlin.process.traversal.Step
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/strategy/optimization/OrientGraphStepStrategy.java:[12,14] serializable class org.apache.tinkerpop.gremlin.orientdb.traversal.strategy.optimization.OrientGraphStepStrategy has no definition of serialVersionUID
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientIndexQuery.java:[10,18] found raw type: com.orientechnologies.orient.core.index.OIndex
  missing type arguments for generic class com.orientechnologies.orient.core.index.OIndex<T>
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientIndexQuery.java:[12,29] found raw type: com.orientechnologies.orient.core.index.OIndex
  missing type arguments for generic class com.orientechnologies.orient.core.index.OIndex<T>
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/step/sideEffect/OrientGraphStep.java:[44,54] unchecked cast
  required: java.util.Iterator<E>
  found:    java.util.Iterator<? extends org.apache.tinkerpop.gremlin.structure.Element>
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/step/sideEffect/OrientGraphStep.java:[93,93] unchecked method invocation: method apply in interface org.apache.tinkerpop.gremlin.util.function.TriFunction is applied to given types
  required: A,B,C
  found: org.apache.tinkerpop.gremlin.orientdb.OrientGraph,com.orientechnologies.orient.core.index.OIndex,java.util.Iterator<java.lang.Object>
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/step/sideEffect/OrientGraphStep.java:[93,111] unchecked conversion
  required: B
  found:    com.orientechnologies.orient.core.index.OIndex
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/step/sideEffect/OrientGraphStep.java:[93,93] unchecked conversion
  required: java.util.stream.Stream<? extends ElementType>
  found:    java.util.stream.Stream
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/step/sideEffect/OrientGraphStep.java:[127,39] unchecked call to forEach(java.util.function.Consumer<? super T>) as a member of the raw type java.lang.Iterable
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/step/sideEffect/OrientGraphStep.java:[166,107] VERTEX_CLASS_NAME in com.orientechnologies.orient.core.metadata.schema.OImmutableClass has been deprecated
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/step/sideEffect/OrientGraphStep.java:[166,143] EDGE_CLASS_NAME in com.orientechnologies.orient.core.metadata.schema.OImmutableClass has been deprecated
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/step/sideEffect/OrientGraphStep.java:[191,52] unchecked cast
  required: java.lang.Iterable<java.lang.Object>
  found:    java.lang.Object
[WARNING] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/traversal/step/sideEffect/OrientGraphStep.java:[37,8] serializable class org.apache.tinkerpop.gremlin.orientdb.traversal.step.sideEffect.OrientGraphStep has no definition of serialVersionUID
[INFO] 47 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientGraphFactory.java: warnings found and -Werror specified
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.872 s
[INFO] Finished at: 2016-10-14T22:10:52+00:00
[INFO] Final Memory: 35M/642M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project orientdb-gremlin: Compilation failure
[ERROR] /home/r/repo/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientGraphFactory.java: warnings found and -Werror specified
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
container 3088df8b0b6344659bd9f3d3c142d23766c01b86349f6f0304c542377b25e40f is dead
Fri Oct 14 22:11:40 UTC 2016
mpollmeier commented 8 years ago

@rultor release, tag=rultor-tests

rultor commented 8 years ago

@rultor release, tag=rultor-tests

@mpollmeier OK, I will release it now. Please check the progress here

rultor commented 8 years ago

@rultor release, tag=rultor-tests

@mpollmeier Oops, I failed. You can see the full log here (spent 2min)

[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ orientdb-gremlin ---
[INFO] Downloading: https://oss.sonatype.org/content/groups/public/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.pom (0 B at 0.0 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/groups/public/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[INFO] Downloading: https://oss.sonatype.org/content/groups/public/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar
[INFO] Downloading: https://oss.sonatype.org/content/groups/public/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar (0 B at 0.0 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.jar (0 B at 0.0 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar (0 B at 0.0 KB/sec)
[INFO] Installing /home/r/repo/driver/target/orientdb-gremlin-3.2.1.2-SNAPSHOT.jar to /root/.m2/repository/com/michaelpollmeier/orientdb-gremlin/3.2.1.2-SNAPSHOT/orientdb-gremlin-3.2.1.2-SNAPSHOT.jar
[INFO] Installing /home/r/repo/driver/pom.xml to /root/.m2/repository/com/michaelpollmeier/orientdb-gremlin/3.2.1.2-SNAPSHOT/orientdb-gremlin-3.2.1.2-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ orientdb-gremlin ---
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/3.2.1.2-SNAPSHOT/maven-metadata.xml
[INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/3.2.1.2-SNAPSHOT/orientdb-gremlin-3.2.1.2-20161014.222903-1.jar
[INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/3.2.1.2-SNAPSHOT/orientdb-gremlin-3.2.1.2-20161014.222903-1.jar (75 KB at 262.9 KB/sec)
[INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/3.2.1.2-SNAPSHOT/orientdb-gremlin-3.2.1.2-20161014.222903-1.pom
[INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/3.2.1.2-SNAPSHOT/orientdb-gremlin-3.2.1.2-20161014.222903-1.pom (12 KB at 66.6 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/maven-metadata.xml
[INFO] Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/maven-metadata.xml (377 B at 5.1 KB/sec)
[INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/3.2.1.2-SNAPSHOT/maven-metadata.xml
[INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/3.2.1.2-SNAPSHOT/maven-metadata.xml (792 B at 4.0 KB/sec)
[INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/maven-metadata.xml
[INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/com/michaelpollmeier/orientdb-gremlin/maven-metadata.xml (398 B at 2.5 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:01 min
[INFO] Finished at: 2016-10-14T22:29:04+00:00
[INFO] Final Memory: 44M/784M
[INFO] ------------------------------------------------------------------------
+ mv /home/r/repo .
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag rultor-tests -m 'rultor-tests: tagged by rultor.com'
+ git reset --hard
HEAD is now at 36b03fc dont error on warnings
+ git clean -fd
+ git checkout master
Switched to branch 'master'
+ git branch -D __rultor
Deleted branch __rultor (was 36b03fc).
+ git push --all origin
ERROR: Permission to mpollmeier/orientdb-gremlin.git denied to rultor.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
container 36f5402f260f495baece636e244a1d19ce9d03ee33d9eb319d3cbe08f432044a is dead
Fri Oct 14 22:30:15 UTC 2016
mpollmeier commented 8 years ago

@velo looking good, just awaiting for rultor to become a collaborator (they need to accept manually) and we should be good to go. not sure how it handles proper releases, I guess we just need to drop '-SNAPSHOT'...

mpollmeier commented 8 years ago

Ok I spent enough time on this... I'm giving up. I'll keep the current state in branch rultor and revert some commits in master to get us back into a green state. Here's what I tried and what went wrong, in case someone else wants to try fix rultor integration:

With all the described changes to the pom as described in http://www.yegor256.com/2014/08/19/how-to-release-to-maven-central.html WITHOUT inheriting from some parent pom, rultor did not find the provided gpg keys. I basically had the same issue as in https://github.com/yegor256/rultor/issues/915

As suggested in https://github.com/yegor256/rultor/issues/915 I then used jcapi-parent as the parent pom as it configures a few more things that rultor needs. Then it did find the gpg keys, but as it configures every plugin under the sun I then ran into loads of problems with travis (e.g. i had to unset some java compiler flags, reconfigure the maven failsafe forkCount etc.) and now I'm down to a NullPointerException that I have no idea how to fix.