Coder Social home page Coder Social logo

Comments (13)

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

ok, checking

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024
  1. so far can not reproduce

  2. please confirm you can re-produce this issue with JDK-8

  3. please report you encoding, i.e. in powershell eval of

[Console]::InputEncoding
[Console]::OutputEncoding

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

so far builds fine on

  1. windows-8 in appveyor
    https://github.com/random-maven/scalor-maven-plugin/blob/develop/appveyor.yml

  2. windows-10 in virtualbox
    https://github.com/random-maven/scalor-maven-plugin/blob/develop/note/windows-setup.md

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

resolved https://github.com/random-maven/scalor-maven-plugin/releases/tag/1.4.0.20180329174003

from scalor-maven-plugin.

m50d avatar m50d commented on June 23, 2024

I'm still seeing this - seems like the scope somehow gets corrupted as part of the flattening process:

main[1] where
  [1] com.carrotgarden.maven.flatten.FlattenMojo.execute (FlattenMojo.java:466)
  [2] org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
  [3] org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
  [4] org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
  [5] org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
  [6] org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
  [7] org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
  [8] org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
  [9] org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
  [10] org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
  [11] org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
  [12] org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
  [13] org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
  [14] org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
  [15] org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
  [16] jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (native method)
  [17] jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  [18] jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  [19] java.lang.reflect.Method.invoke (Method.java:564)
  [20] org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
  [21] org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
  [22] org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
  [23] org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
main[1] dump flatModel.dependencies.elementData[2]
 flatModel.dependencies.elementData[2] = {
    groupId: "com.github.klieber"
    artifactId: "phantomjs-maven-plugin"
    version: "0.7"
    type: "jar"
    classifier: null
    scope: "compile�[36m"
    systemPath: null
    exclusions: null
    optional: null
    locations: null
    managementKey: null
}
main[1] dump project.getModel().dependencies.elementData[9]
 project.getModel().dependencies.elementData[9] = {
    groupId: "com.github.klieber"
    artifactId: "phantomjs-maven-plugin"
    version: "0.7"
    type: "jar"
    classifier: null
    scope: "compile"
    systemPath: null
    exclusions: instance of java.util.ArrayList(id=5449)
    optional: null
    locations: instance of java.util.LinkedHashMap(id=5450)
    managementKey: "com.github.klieber:phantomjs-maven-plugin:jar"
}
main[1]

That weird compile�[36m contains a character that's considered invalid for XML output.

from scalor-maven-plugin.

m50d avatar m50d commented on June 23, 2024

How do I make scalor plugin use a new version of the flatten plugin? I have a branch where I've changed the version to a 1.4.x in .mvn/pom.xml, but whenever I try to install that parent pom or do anything with it the version somehow turns back into the current 1.3.x version?

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

please verify if resolved in fresh 1.4.1
https://bintray.com/random-maven/maven/scalor-maven-plugin_2.12

from scalor-maven-plugin.

m50d avatar m50d commented on June 23, 2024

Looks like the 1.4 release is somehow unavailable? https://travis-ci.org/m50d/tierney/builds/361796725?utm_source=github_status&utm_medium=notification

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

need to keep updating to live version, they change after each commit and by cron
https://bintray.com/random-maven/maven/scalor-maven-plugin_2.12
https://travis-ci.org/random-maven/scalor-maven-plugin/builds

from scalor-maven-plugin.

m50d avatar m50d commented on June 23, 2024

Have you got a branch I can pull from? This was an error in the build of the scalor plugin itself, not when using the plugin.

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

use develop
https://github.com/random-maven/scalor-maven-plugin/tree/develop

please kill repo first and clone fresh, since I squash commits and simple pull will not work
basically, treating it as private branch

from scalor-maven-plugin.

m50d avatar m50d commented on June 23, 2024

Issue is resolved on develop, thanks again.

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

resolved by https://github.com/random-maven/scalor-maven-plugin/releases/tag/1.4.1.20180403213227

from scalor-maven-plugin.

Related Issues (20)

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.