Comments (2)
I have found the source of the problem.
Lines 153, 154, 155 of POM.xml:
<configuration>
<classifier>3.5</classifier>
</configuration>
Which are within the maven-jar-plugin definition. Comment these out (as per https://stackoverflow.com/questions/30672460/using-the-maven-jar-plugin-with-maven-shade-plugin) and the build finished, producing "rdkit-index-1.0.0.jar".
I don't know enough (or any) Java to claim that this is an actual fix or other problems doing this might casue, but it seems to solve the problem and the rdkit commands are showing up in my neo4j database.
from neo4j-rdkit.
+1 on this from me.
Completely clean install of maven and Java via Anaconda. I've not used maven/java before (I work in Python) so could be missing something obvious.
Cloned the repo, ran the two install commands in the readme followed by "mvn package".
Ubuntu 20.04 running under WSL on Windows 11
Apache Maven 3.8.1
Java version: 11.0.13
I think my error is exactly the same.
[INFO] --- maven-shade-plugin:3.2.4:shade (default) @ rdkit-index ---
[ERROR] The project main artifact does not exist. This could have the following
[ERROR] reasons:
[ERROR] - You have invoked the goal directly from the command line. This is not
[ERROR] supported. Please add the goal to the default lifecycle via an
[ERROR] <execution> element in your POM and use "mvn package" to have it run.
[ERROR] - You have bound the goal to a lifecycle phase before "package". Please
[ERROR] remove this binding from your POM such that the goal will be run in
[ERROR] the proper phase.
[ERROR] - You removed the configuration of the maven-jar-plugin that produces the main artifact.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.440 s
[INFO] Finished at: 2022-06-09T15:34:06+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project rdkit-index: Failed to create shaded artifact, project main artifact does not exist. -> [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/MojoExecutionException
from neo4j-rdkit.
Related Issues (13)
- on startup display plugin version and version of intgerated RDKit in log HOT 7
- integration of current RDKit version (Release_2020.09.1) HOT 1
- modification of behaviour when a new structure node is created and output of a structure search ("preferred name" / "name"))
- change node creation behaviour ("luri") HOT 1
- error on CALL org.rdkit.search.createIndex(['Structure', 'Chemical']) HOT 2
- error with docker ne4j / community edition HOT 3
- neo4j-rdkit plugin : org.rdkit.neo4j.bin.LibraryLoaderLifecycle@6094de13' failed to initialize
- Creating a mol from inchi (String)
- Is there native libraries that work with all java versions? HOT 1
- Release for Neo4j 5.x
- XCode10 CI tests are failing HOT 1
- add support for sanitize=false in MolFromSmiles
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo4j-rdkit.