GithubHelp home page GithubHelp logo

homebrew-jcgay's People

Contributors

jcgay avatar vlatombe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebrew-jcgay's Issues

"NoClassDefFoundError: org/slf4j/event/LoggingEvent" error with maven-deluxe, but not manual maven install

I have maven-deluxe 3.3.9 installed via Homebrew. When I run my build, I get this error:

Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.5:execute (determine-foo-version) on project foo-suite: java.lang.NoClassDefFoundError: org/slf4j/event/LoggingEvent: org.slf4j.event.LoggingEvent -> [Help 1]

I do not get this error when I run my build pointing M2_HOME and PATH at a manual Maven 3.3.9 installation. I also do not get the error when I use v3.3.9 of the "maven" Homebrew keg.

`maven-deluxe` warns `Warning: Calling bottle :unneeded is deprecated!`

Hi,

I saw this message when upgrading:

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the jcgay/jcgay tap (not Homebrew/brew or Homebrew/core):
/usr/local/Homebrew/Library/Taps/jcgay/homebrew-jcgay/maven-deluxe.rb:14

I can see the same warning via brew info:

$ brew info maven-deluxe

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the jcgay/jcgay tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/jcgay/homebrew-jcgay/maven-deluxe.rb:14

jcgay/jcgay/maven-deluxe: stable 3.8.2-1
Java-based project management with awesomeness
https://github.com/jcgay/homebrew-jcgay#maven-deluxe
Conflicts with:
  mvnvm (because also installs a 'mvn' executable)
/usr/local/Cellar/maven-deluxe/3.8.2-1 (90 files, 24.4MB) *
  Built from source on 2021-08-21 at 11:52:31
From: https://github.com/jcgay/homebrew-jcgay/blob/HEAD/maven-deluxe.rb
==> Dependencies
Required: openjdk โœ”

Brew upgrade displays: "Warning: Calling depends_on :java is deprecated!"

Seems a minor issue but I got this warning when trying to upgrade maven-deluxe:

$ brew upgrade maven-deluxe
Warning: Calling depends_on :java is deprecated! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.
Please report this issue to the jcgay/jcgay tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/jcgay/homebrew-jcgay/maven-deluxe.rb:11

Compilation failure bootstrap class path not set in conjunction with -source 1.7

I am having the following problem in one of my projects.
Vanilla mvn works, but not maven-deluxe

$ java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

$ mvn clean install -D skipTests
[...]
Reactor Summary:

Hibernate OGM Bill of Materials .................... SUCCESS [  0.094 s]
Hibernate OGM Aggregator ........................... SUCCESS [  0.881 s]
Hibernate Object Grid Mapper Core .................. FAILURE [  2.003 s]
Hibernate OGM for Ehcache .......................... SKIPPED
Hibernate OGM for Infinispan ....................... SKIPPED
Hibernate OGM for MongoDB .......................... SKIPPED
Hibernate OGM for Neo4j ............................ SKIPPED
Hibernate OGM for CouchDB .......................... SKIPPED
Hibernate OGM for Cassandra ........................ SKIPPED
Hibernate OGM for Redis ............................ SKIPPED
Hibernate OGM JBoss Modules ........................ SKIPPED
Hibernate OGM WildFly Module ....................... SKIPPED
Hibernate Object Grid Mapper Performance tests ..... SKIPPED
Hibernate OGM Integration and performance Tests .... SKIPPED
Hibernate OGM Integration Test case ................ SKIPPED
Hibernate OGM Integration Tests for MongoDB ........ SKIPPED
Hibernate OGM Integration Tests for CouchDB ........ SKIPPED
Hibernate OGM Integration Tests for Neo4j .......... SKIPPED
Hibernate OGM Integration Tests for Redis .......... SKIPPED
Hibernate OGM Manual ............................... SKIPPED
Hibernate OGM Documentation ........................ SKIPPED
Hibernate OGM Examples ............................. SKIPPED
Hibernate OGM Getting Started ...................... SKIPPED
Hibernate OGM Javadoc .............................. SKIPPED
Hibernate OGM Distribution ......................... SKIPPED
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 3.923 s
Finished at: 2015-09-19T09:04:19+02:00
Final Memory: 36M/434M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project hibernate-ogm-core: Compilation failure
bootstrap class path not set in conjunction with -source 1.7
-> [Help 1]
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
bootstrap class path not set in conjunction with -source 1.7

        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:915) ~[na:na]
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) ~[na:na]
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ~[maven-core-3.3.3.jar:3.3.3]
        ... 20 common frames omitted
Wrapped by: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project hibernate-ogm-core: Compilation failure
bootstrap class path not set in conjunction with -source 1.7

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) [maven-embedder-3.3.3.jar:3.3.3]
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) [maven-embedder-3.3.3.jar:3.3.3]
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) [maven-embedder-3.3.3.jar:3.3.3]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_51]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_51]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51]
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) [plexus-classworlds-2.5.2.jar:na]
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) [plexus-classworlds-2.5.2.jar:na]
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) [plexus-classworlds-2.5.2.jar:na]
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [plexus-classworlds-2.5.2.jar:na]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project hibernate-ogm-core: Compilation failure
bootstrap class path not set in conjunction with -source 1.7

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) [maven-embedder-3.3.3.jar:3.3.3]
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) [maven-embedder-3.3.3.jar:3.3.3]
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) [maven-embedder-3.3.3.jar:3.3.3]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_51]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_51]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51]
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) [plexus-classworlds-2.5.2.jar:na]
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) [plexus-classworlds-2.5.2.jar:na]
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) [plexus-classworlds-2.5.2.jar:na]
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [plexus-classworlds-2.5.2.jar:na]
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
bootstrap class path not set in conjunction with -source 1.7

        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:915) ~[na:na]
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) ~[na:na]
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ~[maven-core-3.3.3.jar:3.3.3]
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ~[maven-core-3.3.3.jar:3.3.3]
        ... 20 common frames omitted

Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

After correcting the problems, you can resume the build with the command
  mvn <goals> -rf :hibernate-ogm-core

Any clue?
We need Java 8 to build but force the source to 7 for backward compatibility.
I suspect it has to do with the extra JVM forking maven-deluxe does.

Work with mvnvm

It'd be great if there was a way for maven-deluxe to work with mvnvm so that I could still get colored maven output when using mvnvm. I don't understand all the tool A calls tool B details yet to suggest how this would work, though. Hopefully someone else does?

Cannot install `send-notification`: `Failed to download resource "send-notification"`

Hello,

I cannot install send-notification:

$ brew install send-notification
==> Downloading https://bintray.com/artifact/download/jcgay/maven/fr/jcgay/send-notification/send-notification-cli/0.15.1/send-notification-cli-0.15.1-binaries.zip
#=#=-#  #
curl: (22) The requested URL returned error: 403 Forbidden
Error: send-notification: Failed to download resource "send-notification"
Download failed: https://bintray.com/artifact/download/jcgay/maven/fr/jcgay/send-notification/send-notification-cli/0.15.1/send-notification-cli-0.15.1-binaries.zip

This issue seems related to the service end for bintray (๐Ÿ‘‹):
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.