Giter Site home page Giter Site logo

Comments (4)

tbroyer avatar tbroyer commented on May 25, 2024

Could you please do a diff of C:\App\tmp\gwt-maven- archetypes\modular-webapp\target\test-classes\projects\basic-webapp\reference\pom.xml vs. C:\App\tmp\gwt-maven-archetypes\mo dular-webapp\target\test-classes\projects\basic-webapp\project\basic-webapp\pom.xml?

I bet this is about line endings, in which case I'd suggest tweaking your git configuration so that the reference/pom.xml is cloned with the same line endings as what Maven will generate, or simply skipping tests (they're run on BuildHive already, we know they're green).

from gwt-maven-archetypes.

kospiotr avatar kospiotr commented on May 25, 2024

Thank you Thomas for the replay.
You are right that those files were diffrent beceuse of line endings.
I've tried to build it without tests with the following commands:

mvn clean install -DskipTests

and

mvn clean install -Dmaven.test.skip=true

but it did't work.

I've tried also to clone it again after changing my configuration:

git config --global core.autocrlf false

so:

git config core.autocrlf
false

and after cloning again I have same error, even when diff returns no changes this time:

C:\App\tmp\gwt-maven-archetypes>git diff C:\App\tmp\gwt-maven-archetypes\modular
-webapp\target\test-classes\projects\basic-webapp\reference\pom.xml C:\App\tmp\g
wt-maven-archetypes\modular-webapp\target\test-classes\projects\basic-webapp\pro
ject\basic-webapp\pom.xml

I downloaded zip copy of the project but situation is similar.

I'm gonna to dig more into comparing process. I will share with the result of my investigation if I will find anything.

from gwt-maven-archetypes.

kospiotr avatar kospiotr commented on May 25, 2024

I think this issue can be closed because Jenkins compiles it properly. I must have broken my environment somehow.

from gwt-maven-archetypes.

tbroyer avatar tbroyer commented on May 25, 2024

Ah you're right there doesn't seem to be a way to skip archetype:integration-test.

BTW, this is not the first time someone reports that the tests fail on Windows, it seems to be a known issue. I'll add a note on the README.

In the mean time, you can download the latest artifacts from the BuildHive job or delete the tests in your local clone so you can mvn install without error.

from gwt-maven-archetypes.

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.