Closed MarceloRuiz closed 4 years ago
I just took a look to the plugin's source code and the modes were recently converted to lowercase (commit 05bc56b334e1d99cad24521d788daa4a796eee7f).
you are right - looks like I have not tested that change good enough
This should be fixed by https://github.com/BestSolution-at/maven-osgi-plugin/pull/32
is pushed an update to use 0.0.3-SNAPSHOT (i published them this morning) and this should be fixed with that now. Otherwise please reopen.
Just a short notice @kenwenzel proposed to change the name of the plugins so most likely you'll be broken at some point when using the 0.0.3 snapshots - you might want to track https://github.com/BestSolution-at/maven-osgi-plugin/issues/30
Hi Tom, Thanks for letting me know about the upcoming change in plugin names. I am trying to clean up the sample app a little bit to make it easier to upgrade when a new version of efxclipse is released. I was able to run version 3.6.0 with no issues, and I was thinking of using properties to keep versions consistent through the whole application and reduce some of the warnings during build time. I tried to give the properties a name that will make it easy to identify them. I noticed the same version number is used for a group of properties (like 11.0.0 for many openfx versions). Does it make sense to have multiple properties or should they be replaced by a single one? Here is the draft I am using:
<properties>
<!-- General Project Properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- External Tools Properties -->
<bnd-bnd-maven-plugin-version>5.0.1</bnd-bnd-maven-plugin-version>
<m2e-lifecycle-mapping-version>1.0.0</m2e-lifecycle-mapping-version>
<!-- OSGi Properties -->
<osgi-org.osgi.service.component.annotations-version>1.3.0</osgi-org.osgi.service.component.annotations-version>
<osgi.qualifier>${maven.build.timestamp}</osgi.qualifier>
<!-- BestSolution/Efxclipse Properties -->
<bestsolution-maven-osgi-exec-plugin-version>0.0.3-SNAPSHOT</bestsolution-maven-osgi-exec-plugin-version>
<bestsolution-maven-osgi-package-plugin-version>0.0.3-SNAPSHOT</bestsolution-maven-osgi-package-plugin-version>
<efxclipse.rt-org.eclipse.equinox.executable-version>3.8.100-SNAPSHOT</efxclipse.rt-org.eclipse.equinox.executable-version>
<org.eclipse.fx.ui.workbench.fx.application-version>1.0.0</org.eclipse.fx.ui.workbench.fx.application-version>
<!-- OpenJFX Properties -->
<openjfx-javafx-controls-version>11</openjfx-javafx-controls-version>
<openjfx-openjfx.base-version>11.0.0</openjfx-openjfx.base-version>
<openjfx-openjfx.controls-version>11.0.0</openjfx-openjfx.controls-version>
<openjfx-openjfx.graphics.linux_64-version>11.0.0</openjfx-openjfx.graphics.linux_64-version>
<openjfx-openjfx.graphics.mac-version>11.0.0</openjfx-openjfx.graphics.mac-version>
<openjfx-openjfx.graphics.win32_64-version>11.0.0</openjfx-openjfx.graphics.win32_64-version>
<openjfx-openjfx.standard.feature-version>11.0.0</openjfx-openjfx.standard.feature-version>
<!-- Maven Properties -->
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
<maven.plugins-maven-compiler-plugin-version>3.8.0</maven.plugins-maven-compiler-plugin-version>
<maven.plugins-maven-compiler-plugin.source>11</maven.plugins-maven-compiler-plugin.source>
<maven.plugins-maven-compiler-plugin.target>11</maven.plugins-maven-compiler-plugin.target>
<maven.plugins-maven-jar-plugin.version>3.1.0</maven.plugins-maven-jar-plugin.version>
<!-- Tycho Properties -->
<tycho-target-platform-configuration-version>1.2.0</tycho-target-platform-configuration-version>
<tycho-tycho-maven-plugin-version>1.2.0</tycho-tycho-maven-plugin-version>
<tycho-tycho-p2-director-plugin-version>1.2.0</tycho-tycho-p2-director-plugin-version>
</properties>
I also created a sh script that automates initializing the maven repository. If you think this is a good idea and once we decide on the names of the properties, I will create a new branch for you to review it. Thanks!
Go forward and provide a PR that makes it easier to comment
Do you need to invite me as a contributor? I tried to create a new working branch and I get an error saying that git-receive-pack is not permitted.
Github workflow is to fork the repo to your own user account and do the work there and provide a PR
Hi Tom, I filed a different bug here because this problem seems more focused. After making the sample work on Eclipse, I got the following problem when running the example from the command line:
I tried the 0.0.3-SNAPSHOT version of the plugins, but I get exactly the same error. I also noticed the plugins do not compile with Java11. Should I file a bug? Thanks