-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChartFactory.newChart is not API #264
Comments
There is something weird in your configuration with a reference to maven module jzy3d-api:1.0.3-SNAPSHOT. This module has disappeared as of 2.0. Also, if you are willing to work with the current SNAPSHOT version, you should not see JOGL 2.3.2 in your configuration but rather JOGL 2.4-rc4. You should probably re-generate your Eclipse project files (or check if your Maven pom as consistent references to Jzy3D) |
Removing the <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="generate" type="Maven">
<dependencies>
<dependency>
<groupId>org.jzy3d</groupId>
<artifactId>jzy3d-native-jogl-swt</artifactId>
<version>2.0.0</version>
<type>jar</type>
</dependency>
</dependencies>
<repositories>
<repository>
<id>jzy3d-releases</id>
<url>https://maven.jzy3d.org/releases/</url>
</repository>
</repositories>
</location>
<location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="generate" type="Maven">
<dependencies>
<dependency>
<groupId>org.jzy3d</groupId>
<artifactId>jzy3d-core</artifactId>
<version>2.0.0</version>
<type>jar</type>
</dependency>
</dependencies>
<repositories>
<repository>
<id>jzy3d-releases</id>
<url>https://maven.jzy3d.org/releases/</url>
</repository>
</repositories>
</location>
<location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="generate" type="Maven">
<dependencies>
<dependency>
<groupId>org.jzy3d</groupId>
<artifactId>jzy3d-core-swt</artifactId>
<version>2.0.0</version>
<type>jar</type>
</dependency>
</dependencies>
<repositories>
<repository>
<id>jzy3d-releases</id>
<url>https://maven.jzy3d.org/releases/</url>
</repository>
</repositories>
</location>
<location includeDependencyDepth="none" includeSource="true" missingManifest="generate" type="Maven">
<dependencies>
<dependency>
<groupId>org.jogamp.jogl</groupId>
<artifactId>jogl-all</artifactId>
<version>2.3.2</version>
<type>jar</type>
</dependency>
</dependencies>
</location> reveals the same error:
I don't understand why it is this particular function and nothing else. |
The method really is part of the API in 2.0.0 (and 2.0.1). This fix looks weird but is worth trying. Maybe Eclipse did no rebuilt things since you remove references to 1.0.3? |
I was hoping for something like jamesmudd/jhdf#367 but I don't see where you export packages and create this metadata. |
I haven't done this. Reading the discussion you mentioned shows that the proposal finally was implemented somewhere else. The Maven Jar Plugin is already in the main pom file. Maybe we can use it to add the key/values required by OSGi in the manifest file? |
I tried to follow the instructions at https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html but that so far only lead to unit tests fail. |
Describe the bug
When importing via @eclipse-m2e I get an error at this line
It seems that an OSGi environment requires this to be exported.
Reproducibility
Add this to your
.target
platform:This won't compile:
Versions (please complete the following information):
Additional context
#89
The text was updated successfully, but these errors were encountered: