Skip to content
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

Force Maven to build with H2 version 1.4.200 #112

Closed
MichaelErichsen opened this issue Apr 20, 2019 · 7 comments
Closed

Force Maven to build with H2 version 1.4.200 #112

MichaelErichsen opened this issue Apr 20, 2019 · 7 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed wontfix This will not be worked on

Comments

@MichaelErichsen
Copy link
Owner

No description provided.

@MichaelErichsen MichaelErichsen added enhancement New feature or request help wanted Extra attention is needed labels Apr 20, 2019
@MichaelErichsen
Copy link
Owner Author

[WARNING] Some problems were encountered while building the effective model for net.myerichsen.hremvp:net.myerichsen.hremvp.update:eclipse-repository:0.2.2-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.h2database:h2:jar should use a variable instead of a hard-coded path C:\Program Files\HRE\Other jars\h2-1.4.197.jar @ net.myerichsen.hremvp:net.myerichsen.hremvp.releng:[unknown-version], C:\Users\michael\git\MVP\HRE MVP\releng\pom.xml, line 26, column 16
[WARNING]
[WARNING] Some problems were encountered while building the effective model for net.myerichsen.hremvp:net.myerichsen.hremvp.product:eclipse-repository:0.2.2-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.h2.database:h2:jar should use a variable instead of a hard-coded path C:\Program Files\HRE\Other jars\h2-1.4.197.jar @ net.myerichsen.hremvp:net.myerichsen.hremvp.product:[unknown-version], C:\Users\michael\git\MVP\HRE MVP\releng\net.myerichsen.hremvp.product\pom.xml, line 52, column 16
[WARNING]
[WARNING] Some problems were encountered while building the effective model for net.myerichsen.hremvp:net.myerichsen.hremvp.releng:pom:0.2.2-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.h2database:h2:jar should use a variable instead of a hard-coded path C:\Program Files\HRE\Other jars\h2-1.4.197.jar @ net.myerichsen.hremvp:net.myerichsen.hremvp.releng:[unknown-version], C:\Users\michael\git\MVP\HRE MVP\releng\pom.xml, line 26, column 16

@MichaelErichsen MichaelErichsen self-assigned this Jun 25, 2019
@MichaelErichsen
Copy link
Owner Author

net.myerichsen.hremvp.configuration.pom.xml:

<h2.version>1.4.197</h2.version>
<h2.path>C:\Program Files\HRE\Other jars\h2-1.4.197.jar</h2.path>

Others:
${h2.version}
${h2.path}

@MichaelErichsen
Copy link
Owner Author

Trying to use H2 source from Github instead of a jar file,

!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-07-01 15:39:14.082
!MESSAGE Unable to create class 'net.myerichsen.hremvp.project.parts.SexTypeView' from bundle '16'
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: org/h2/jdbcx/JdbcConnectionPool

Caused by: java.lang.NoClassDefFoundError: org/h2/jdbcx/JdbcConnectionPool
at net.myerichsen.hremvp.HreH2ConnectionPool.getConnection(HreH2ConnectionPool.java:96)

Caused by: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcConnectionPool cannot be found by net.myerichsen.hremvp_0.2.2.qualifier

@MichaelErichsen MichaelErichsen changed the title Force Maven to build with H2 version 1.4.198 Force Maven to build with H2 version 1.4.199 Jul 2, 2019
@MichaelErichsen MichaelErichsen changed the title Force Maven to build with H2 version 1.4.199 Force Maven to build with H2 version 1.4.200 Jul 2, 2019
@MichaelErichsen
Copy link
Owner Author

Tycho's interpretation of the target definition file format differs from the PDE in the following aspects:

The location types "Directory", "Installation", and "Features" are not supported.
The selection on the Content tab of the Target Editor is ignored. See below for an alternative way to remove individual bundles from the target platform.
The option "Include source if available" is by default ignored. To make Tycho take the value of that flag into account, set the target-platform-configuration parameter targetDefinitionIncludeSource to honor (since Tycho 0.22.0).

@MichaelErichsen
Copy link
Owner Author

javax.inject issue:

I could find a workaround.

The problem is triggered by the latest org.eclipse.update.configurator.
I re-added the version 3.3.400 to the targetplatform, all other plugins are from Eclipse 4.8.

@MichaelErichsen MichaelErichsen pinned this issue Jul 9, 2019
@MichaelErichsen
Copy link
Owner Author

There are times, unfortunately, when a project cannot be downloaded from the central Maven repository. For example, a project may depend upon a jar that has a closed-source license which prevents it from being in a central repository. There are three methods for dealing with this scenario.

Install the dependency locally using the install plugin. The method is the simplest recommended method. For example:

mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -DartifactId=non-maven-proj -Dversion=1 -Dpackaging=jar

Notice that an address is still required, only this time you use the command line and the install plugin will create a POM for you with the given address.

@MichaelErichsen MichaelErichsen added the wontfix This will not be worked on label May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant