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

Unstable build? #949

Open
pehel opened this issue Jan 5, 2017 · 4 comments
Open

Unstable build? #949

pehel opened this issue Jan 5, 2017 · 4 comments

Comments

@pehel
Copy link

pehel commented Jan 5, 2017

After following all the steps I'm getting this error.

[INFO] ------------------------------------------------------------------------
[INFO] Building tatami 4.0.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:8.1.13.v20130916:run (default-cli) > test-compile
@ tatami >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-versions) @ tatami ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.1:create (default) @ tatami ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=7 HEAD"
[INFO] Working directory: C:\AW\app\tatami-master
[INFO] Storing buildNumber: 04741e6 at timestamp: 1483463004101
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=7 HEAD"
[INFO] Working directory: C:\AW\app\tatami-master
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.4.201502262128:prepare-agent (pre-unit-tests)
@ tatami ---
[INFO] surefireArgLine set to -javaagent:C:\Users\maheshwarirx.m2\repositor
y\org\jacoco\org.jacoco.agent\0.7.4.201502262128\org.jacoco.agent-0.7.4.201
502262128-runtime.jar=destfile=C:\AW\app\tatami-master\target\test-results
\coverage\jacoco\jacoco.exec
[INFO]
[INFO] <<< jetty-maven-plugin:8.1.13.v20130916:run (default-cli) < test-compile
@ tatami <<<
[INFO]
[INFO] --- jetty-maven-plugin:8.1.13.v20130916:run (default-cli) @ tatami ---
[INFO] Configuring Jetty for project: tatami
[INFO] webAppSourceDirectory not set. Defaulting to C:\AW\app\tatami-master\src
main\webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes directory C:\AW\app\tatami-master\target\classes does not exist
[INFO] Context path = /
[INFO] Tmp directory = C:\AW\app\tatami-master\target\tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = null
[INFO] Webapp directory = C:\AW\app\tatami-master\src\main\webapp
[INFO] jetty-8.1.13.v20130916
[INFO] No Transaction manager found - if your webapp requires one, please config
ure one.
[INFO] No Spring WebApplicationInitializer types detected on classpath
[WARNING] !RequestLog
[INFO] Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 1 seconds.

@hegek87
Copy link
Contributor

hegek87 commented Jan 6, 2017

Hello @pehel,

At what step in the installation do you see this? I'm assuming install worked (everything was successful)? I'm also assuming this is happening during mvn jetty:run. Also, make sure you have changed to the web directory, you should see build steps that look like:

>>> jetty-maven-plugin:8.1.13.v20130916:run (default-cli) > test-compile
@ web >>>

and not

>>> jetty-maven-plugin:8.1.13.v20130916:run (default-cli) > test-compile
@ tatami >>>

@pehel
Copy link
Author

pehel commented Mar 6, 2017

Hello @hegek87 you're right - install worked fine. This error only popped at mvn jetty:run. I ran the mvn jetty:run from Tatami-master folder and not web - while running from web I get the below error.

C:\AW\myApp\tatami-master\web>mvn jetty:run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building web 4.0.5
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven
-remote-resources-plugin/1.5/maven-remote-resources-plugin-1.5.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
remote-resources-plugin/1.5/maven-remote-resources-plugin-1.5.pom (14 KB at 16.1
KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven
-remote-resources-plugin/1.5/maven-remote-resources-plugin-1.5.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
remote-resources-plugin/1.5/maven-remote-resources-plugin-1.5.jar (68 KB at 333.
7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-p
lugin/1.2.1/exec-maven-plugin-1.2.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-pl
ugin/1.2.1/exec-maven-plugin-1.2.1.pom (8 KB at 72.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-p
lugin/1.2.1/exec-maven-plugin-1.2.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-pl
ugin/1.2.1/exec-maven-plugin-1.2.1.jar (37 KB at 236.8 KB/sec)
[INFO]
[INFO] >>> jetty-maven-plugin:8.1.13.v20130916:run (default-cli) > test-compile
@ web >>>
Downloading: http://oss.sonatype.org/content/repositories/releases/fr/ippon/tata
mi/services/4.0.5/services-4.0.5.pom
Downloading: https://repo.maven.apache.org/maven2/fr/ippon/tatami/services/4.0.5
/services-4.0.5.pom
[WARNING] The POM for fr.ippon.tatami:services:jar:4.0.5 is missing, no dependen
cy information available
[WARNING] The POM for fr.ippon.tatami:services:jar:tests:4.0.5 is missing, no de
pendency information available
Downloading: http://oss.sonatype.org/content/repositories/releases/fr/ippon/tata
mi/services/4.0.5/services-4.0.5.jar
Downloading: http://oss.sonatype.org/content/repositories/releases/fr/ippon/tata
mi/services/4.0.5/services-4.0.5-tests.jar
Downloading: https://repo.maven.apache.org/maven2/fr/ippon/tatami/services/4.0.5
/services-4.0.5.jar
Downloading: https://repo.maven.apache.org/maven2/fr/ippon/tatami/services/4.0.5
/services-4.0.5-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.175 s
[INFO] Finished at: 2017-03-06T10:36:15+00:00
[INFO] Final Memory: 16M/175M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project web: Could not resolve dependencies fo
r project fr.ippon.tatami:web:war:4.0.5: The following artifacts could not be re
solved: fr.ippon.tatami:services:jar:4.0.5, fr.ippon.tatami:services:jar:tests:4
.0.5: Could not find artifact fr.ippon.tatami:services:jar:4.0.5 in sonatype-rel
eases (http://oss.sonatype.org/content/repositories/releases/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

@aktasfatih
Copy link

Were you able to find a solution? I'm having the same problem.

@DRogozenski
Copy link

It seems we all had the same idea to try and get this working on our own xD

This could probably be solved with a question on stack overflow, I suspect it may have something to do with the main pom.xml; maven submodules arrangement/packaging, or the maven-war-plugin not being used there. I don't have enough maven experience to easily tell

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

4 participants