Request for push to local maven repo #143

Closed
fatlazycat opened this Issue Jan 16, 2012 · 7 comments

2 participants

@fatlazycat

Noticed you have switched to ivy, any chance of a push to the local maven repo in the build ?

I don't really know ivy, perhaps there is some other way.

Thanks

@aslakhellesoy aslakhellesoy added a commit that closed this issue Jan 16, 2012
@aslakhellesoy aslakhellesoy Publish local artifacts to local m2 repo so they can be picked up by …
…Maven projects. Closes #143 Use userOrigin=true. Fixes #141.
1bf2e8c
@fatlazycat

Top level package seems to be combined i.e. in my maven repo i have info.cukes rather than info/cukes. Also no poms.

@dkowis dkowis pushed a commit to dkowis/cucumber-jvm that referenced this issue Jan 17, 2012
@aslakhellesoy aslakhellesoy Fixes #143 2562373
@fatlazycat

Thanks for moving the local publish to maven repo. currently getting

compile-main:
[mkdir] Created dir: /Users/graham/Development/code/external/github/cucumber-jvm/core/target/classes
[javac] Compiling 75 source files to /Users/graham/Development/code/external/github/cucumber-jvm/core/target/classes
[javac] /Users/graham/Development/code/external/github/cucumber-jvm/core/src/main/java/cucumber/formatter/HTMLFormatter.java:16: package org.json.simple does not exist
[javac] import org.json.simple.JSONValue;
[javac] ^
[javac] /Users/graham/Development/code/external/github/cucumber-jvm/core/src/main/java/cucumber/formatter/HTMLFormatter.java:110: cannot find symbol
[javac] symbol : variable JSONValue
[javac] location: class cucumber.formatter.HTMLFormatter
[javac] writeToJsReport(functionName, JSONValue.toJSONString(statement.toMap()).replaceAll("\'", "\\'"));
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors

From a clean build

@aslakhellesoy
Cucumber member

That should be fixed by 4b3648b

@fatlazycat

Sorry now

compile-test:
[mkdir] Created dir: /Users/graham/Development/code/external/github/cucumber-jvm/guice/target/test-classes
[javac] Compiling 10 source files to /Users/graham/Development/code/external/github/cucumber-jvm/guice/target/test-classes
[javac] /Users/graham/Development/code/external/github/cucumber-jvm/guice/src/test/java/cucumber/runtime/java/guice/loadguicemodule/FirstSteps.java:6: package javax.inject does not exist
[javac] import javax.inject.Inject;
[javac] ^
[javac] /Users/graham/Development/code/external/github/cucumber-jvm/guice/src/test/java/cucumber/runtime/java/guice/loadguicemodule/SecondSteps.java:6: package javax.inject does not exist
[javac] import javax.inject.Inject;
[javac] ^
[javac] /Users/graham/Development/code/external/github/cucumber-jvm/guice/src/test/java/cucumber/runtime/java/guice/loadguicemodule/FirstSteps.java:12: cannot find symbol
[javac] symbol : class Inject
[javac] location: class cucumber.runtime.java.guice.loadguicemodule.FirstSteps
[javac] @Inject
[javac] ^
[javac] /Users/graham/Development/code/external/github/cucumber-jvm/guice/src/test/java/cucumber/runtime/java/guice/loadguicemodule/SecondSteps.java:15: cannot find symbol
[javac] symbol : class Inject
[javac] location: class cucumber.runtime.java.guice.loadguicemodule.SecondSteps
[javac] @Inject
[javac] ^
[javac] 4 errors

@aslakhellesoy
Cucumber member

Dupe of #144. My first comment in that ticket should fix the issue, but I'm waiting for someone to confirm.

@fatlazycat

That allowed a completed build, though no poms. Info.cukes directory has been corrected.

@aslakhellesoy
Cucumber member

I'm fixing this so you get poms locally too...

@aslakhellesoy aslakhellesoy added a commit that referenced this issue Jan 17, 2012
@aslakhellesoy aslakhellesoy Make sure poms are published to local repo. You should probably delet…
…e rm -Rf ~/.m2/repository ~/.ivy2/cache - see #143 and #144.
08ad99e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment