build fails on linux

42 views
Skip to first unread message

conor...@gmail.com

unread,
Dec 18, 2015, 9:49:45 AM12/18/15
to membrane-monitor
Having issues building on Linux. Has anybody succeeded in getting membrane-monitor running under Linux(Specifically Linux Mint/Ubuntu)?

Steps to reproduce: 
1 ) Clone  repo. 
2) Build using:
      mvn install

Building with openjdk 8 on linux mint

Relevant parts are at [1]..Full output from 'mvn install' is at [2]:

[1]
[ERROR] Path to dependency:
[ERROR] 1) org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9
[ERROR] 2) org.membrane-soa.service-proxy:service-proxy-core:jar:4.0.13-SNAPSHOT
[ERROR] 
[ERROR] ----------
[ERROR] 2 required artifacts are missing.


[2]
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.membrane-soa.service-proxy:com.predic8.plugin.membrane:4.0.9 @ /home/cgd/git/monitor/plugin/pom.xml
[WARNING] Missing POM for org.membrane-soa.service-proxy:com.predic8.membrane.osgi:jar:4.0.9
[WARNING] Missing POM for org.membrane-soa.service-proxy:service-proxy-core:jar:4.0.13-SNAPSHOT
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve project dependencies: Missing:
[ERROR] ----------
[ERROR] 1) org.membrane-soa.service-proxy:com.predic8.membrane.osgi:jar:4.0.9
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=com.predic8.membrane.osgi -Dversion=4.0.9 -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=com.predic8.membrane.osgi -Dversion=4.0.9 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] Path to dependency:
[ERROR] 1) org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9
[ERROR] 2) org.membrane-soa.service-proxy:com.predic8.membrane.osgi:jar:4.0.9
[ERROR] 
[ERROR] 2) org.membrane-soa.service-proxy:service-proxy-core:jar:4.0.13-SNAPSHOT
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=service-proxy-core -Dversion=4.0.13-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=service-proxy-core -Dversion=4.0.13-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] Path to dependency:
[ERROR] 1) org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9
[ERROR] 2) org.membrane-soa.service-proxy:service-proxy-core:jar:4.0.13-SNAPSHOT
[ERROR] 
[ERROR] ----------
[ERROR] 2 required artifacts are missing.
[ERROR] 
[ERROR] for artifact:
[ERROR] org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR] predic8-releases (http://repository.membrane-soa.org/content/groups/public, releases=true, snapshots=true),
[ERROR] eclipse-juno (http://download.eclipse.org/releases/juno, releases=false, snapshots=false),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not resolve project dependencies
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.RuntimeException: Could not resolve project dependencies
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addPomDependenciesToTargetPlatform(P2TargetPlatformResolver.java:284)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:197)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:100)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 more
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) org.membrane-soa.service-proxy:com.predic8.membrane.osgi:jar:4.0.9

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=com.predic8.membrane.osgi -Dversion=4.0.9 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=com.predic8.membrane.osgi -Dversion=4.0.9 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  1) org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9
  2) org.membrane-soa.service-proxy:com.predic8.membrane.osgi:jar:4.0.9

2) org.membrane-soa.service-proxy:service-proxy-core:jar:4.0.13-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=service-proxy-core -Dversion=4.0.13-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=service-proxy-core -Dversion=4.0.13-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  1) org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9
  2) org.membrane-soa.service-proxy:service-proxy-core:jar:4.0.13-SNAPSHOT

----------
2 required artifacts are missing.

for artifact: 
  org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9

from the specified remote repositories:
  predic8-releases (http://repository.membrane-soa.org/content/groups/public, releases=true, snapshots=true),
  eclipse-juno (http://download.eclipse.org/releases/juno, releases=false, snapshots=false),
  central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)

at org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71)
at org.apache.maven.DefaultProjectDependenciesResolver.resolveImpl(DefaultProjectDependenciesResolver.java:162)
at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:75)
at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:59)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addPomDependenciesToTargetPlatform(P2TargetPlatformResolver.java:271)
... 16 more
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:

julia...@gmail.com

unread,
Dec 21, 2015, 8:38:46 AM12/21/15
to membrane-monitor
Hi Conor,

the Membrane Monitor build is not maintained anymore.

Please checkout Membrane Service Proxy from https://github.com/membrane/service-proxy .
Membrane Service Proxy has an "adminConsole" feature displaying a grapical UI within a browser.

Please note that adminConsole's features are not 1:1 what Membrane Monitor offers. Please let us known if you are missing anything.

Best, Tobias

PS. In case you really want to continue with Membrane Monitor, it depends on Membrane Service Proxy 4.0.9, which should be extracteable and buildable from the git mentioned above.

Conor G Daly

unread,
Dec 22, 2015, 10:05:10 AM12/22/15
to membrane-monitor, julia...@gmail.com
Hi Tobias,

Thanks for that.  I'll check out Service Proxy.

Cheers,
Conor
Reply all
Reply to author
Forward
0 new messages