WebSocket-Resources
WebSocket-Resources copied to clipboard
Failed to collect dependencies, missing artifact parent
I tried to package the TextSecure Server and maven says
[ERROR] Failed to execute goal on project TextSecureServer:
Could not resolve dependencies for project org.whispersystems.textsecure:TextSecureServer:jar:0.75:
Failed to collect dependencies at org.whispersystems:websocket-resources:jar:0.3.2:
Failed to read artifact descriptor for org.whispersystems:websocket-resources:jar:0.3.2:
Could not find artifact org.whispersystems:parent:pom:0.3.2 in gcm-server-repository (https://raw.github.com/whispersystems/maven/master/gcm-server/releases/) -> [Help 1]
and
Downloading: https://raw.github.com/whispersystems/maven/master/gcm-server/releases/org/whispersystems/parent/0.3.2/parent-0.3.2.pom
I'm new to maven, so i'm not sure if it is unique to me.
Hello there Are you able to resolve this issue .. I am getting same problem .. Please Help me if you got any solution thanks
Look here: https://github.com/WhisperSystems/TextSecure-Server/issues/44
Hi there,
I knew it will work that way (i.e. by manually downloading and registering it) but I rather get it working with maven as that's the point actually! There is a package management tool for a reason mate :)
So can you please tell me the actual reason why it is not working? It seems like this url https://raw.github.com/whispersystems/maven/master/gcm-server/releases/ is not a valid one!!!
Many thanks
@omid7791 +1 cannot build either with maven
same problem
+1 for me too.
From here: https://github.com/lucaconte/BeatTheMeddler
git clone --depth 1 https://github.com/lucaconte/WebSocked-Resources.git
cd ../WebSocker-Resource
mvn clean install
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (attach-javadocs) on project websocket-resources: MavenReportException: Error while creating archive: [ERROR] Exit code: 1 - javadoc: error - invalid flag: -Xdoclint:none
but anyway the artifact we need has been built: ./library/targer/websocket-resources-0.3.2.jar Now it's necessary to install it into our local Maven repository with correct "names":
mvn install:install-file -Dfile=./library/target/websocket-resources-0.3.2.jar -DgroupId=org.whispersystems -DartifactId=websocket-resources -Dversion=0.3.2 -Dpackaging=jar
It's a workaround but the problem persists and, imho, should be fixed by OWS
I'm having this issue as well.
After installing the jar locally I also had to add the following to my pom:
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-api</artifactId>
<version>9.4.0.v20161208</version>
</dependency>
And also:
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-servlet</artifactId>
<version>9.4.0.v20161208</version>
</dependency>