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

grunt stop maven package #5

Closed
Merguez22 opened this issue Nov 22, 2013 · 14 comments
Closed

grunt stop maven package #5

Merguez22 opened this issue Nov 22, 2013 · 14 comments

Comments

@Merguez22
Copy link

I use Windows 7, Maven 3.0.5 and Yeoman-maven-plugin 0.2-SNAPSHOT.
When i do a "mvn clean package" on the "yeoman-maven-samples" the packaging is blocked after "karma:unit" is completed. The WAR is not generated.

The java process is still running.

@trecloux
Copy link
Owner

Could you please :

  • Provide me you node version
  • Test a direct launch of "grunt test" and "grunt build" from the "yo" folder ?

@Merguez22
Copy link
Author

nodeJS version : v0.10.22

direct launch of "grunt test" and "grunt build" pass with success

@tomikat
Copy link

tomikat commented Nov 25, 2013

I'm having the same issue with node v0.10.20, Windows 8.1 and Maven 3.0.4. Maven build hangs right after "grunt build" phase. Edit: Using yeoman-maven-plugin v0.1.

Running "grunt test" and "grunt build" on command line exists successfully.

@ojacquemart
Copy link

Same problem here.
Node version: v0.10.20
Karma version: v0.10.5

After '←[32mDone, without errors.←[39m', it seems like the node process used to launch the tests is not killed.

@trecloux
Copy link
Owner

Are you running windows too ?

On Tue, Nov 26, 2013 at 3:05 PM, Olivier Jacquemart <
notifications@github.com> wrote:

Same problem here.
Node version: v0.10.20
Karma version: v0.10.5

After '←[32mDone, without errors.←[39m', it seems like the node process
used to launch the tests is not killed.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-29294310
.

Thomas Recloux

@ojacquemart
Copy link

Yep, running on windows at work, unfortunately.

@trecloux
Copy link
Owner

trecloux commented Dec 2, 2013

Hi Guys,

Sorry for the delay.

I tested it on a Windows VM running Windows 7, Java 1.7.0_45, Node 10.0.22
=> No issue

Did you run it from windows command line ?

@ojacquemart
Copy link

I can't reproduce the issue anymore 👍
It was maybe a windows issue and yes I ran it from the command line.

@jmiddleton
Copy link

I'm facing the same issue on a Macbook with Java 1.7.0_45, Node 10.0.23. If I run grunt install, it works but from maven it gets blocked after the following:

Done, without errors.

Execution Time (2013-12-15 03:54:18 UTC)
concurrent:test 1s ▇▇▇▇▇▇▇▇▇▇▇ 24%
autoprefixer:dist 85ms ▇ 2%
concurrent:dist 2s ▇▇▇▇▇▇▇▇▇▇▇▇▇ 30%
autoprefixer:dist 77ms ▇ 1%
copy:dist 181ms ▇▇ 3%
uglify:generated 2s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 37%
Total 5s

@jdubois
Copy link

jdubois commented Dec 15, 2013

Same issue here...
Mac OS X, Java 1.7.0_45, Node 10.0.23, Maven 3.1.1

This is really strange:

  • Everything was working perfectly yesterday
  • @jmiddleton submitted the bug on JHipster, so I created a new test project
  • And now it's all broken :-(

At least I can confirm the issue...

If you want to test it's easy:

npm install -g generator-jhipster
yo jhipster
mvn jetty:run -Pprod

@trecloux
Copy link
Owner

I can reproduce it with a jhipster generated app, headlamp switched on.

@trecloux
Copy link
Owner

The issue can be reproduced by launching grunt directly with the --no-color option.

Temporary workaround : do not use the time-grunt task, the issue seems to be caused by the combination of --no-color and time-grunt.

@trecloux
Copy link
Owner

I submited a pull request to the time-grunt project. sindresorhus/time-grunt#20

@jdubois
Copy link

jdubois commented Dec 15, 2013

So the issue is with time-grunt 0.2.4 which was released last night... which explains why it was working yesterday!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants