Forums

Maven2 can't find build dependencies for PlayOnLinux 5

Auteur Réponses
MTres19 Jeudi 17 Décembre 2015 à 3:37
MTres19Anonymous

Hi. When I try to build PlayOnLinux 5 to try it out, I get the following errors:

[INFO] ------------------------------------------------------------------------                                     
[ERROR] BUILD ERROR                                                                                                 
[INFO] ------------------------------------------------------------------------                                     
[INFO] Failed to resolve artifact.                                                                                  
                                                                                                                    
Missing:                                                                                                            
----------                                                                                                          
1) com.playonlinux:phoenicis-injection:jar:5.0-SNAPSHOT                                                             
                                                                                                                    
  Try downloading the file manually from the project website.                                                       
                                                                                                                    
  Then, install it using the command:                                                                               
      mvn install:install-file -DgroupId=com.playonlinux -DartifactId=phoenicis-injection -Dversion=5.0-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=com.playonlinux -DartifactId=phoenicis-injection -Dversion=5.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]                                                     
                                                                                                                    
  Path to dependency:                                                                                               
        1) com.playonlinux:phoenicis-core:jar:5.0-SNAPSHOT                                                          
        2) com.playonlinux:phoenicis-injection:jar:5.0-SNAPSHOT                                                     
                                                                                                                    
2) com.playonlinux:phoenicis-win32:jar:5.0-SNAPSHOT                                                                 
                                                                                                                    
  Try downloading the file manually from the project website.                                                       
                                                                                                                    
  Then, install it using the command:                                                                               
      mvn install:install-file -DgroupId=com.playonlinux -DartifactId=phoenicis-win32 -Dversion=5.0-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=com.playonlinux -DartifactId=phoenicis-win32 -Dversion=5.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]                                                         
                                                                                                                    
  Path to dependency:                                                                                               
        1) com.playonlinux:phoenicis-core:jar:5.0-SNAPSHOT                                                          
        2) com.playonlinux:phoenicis-win32:jar:5.0-SNAPSHOT                                                         
                                                                                                                    
----------
2 required artifacts are missing.

for artifact:
  com.playonlinux:phoenicis-core:jar:5.0-SNAPSHOT

from the specified remote repositories:
  central (https://repo1.maven.org/maven2)

Does anyone know where I can download these?

Thanks.

Quentin PÂRIS Jeudi 17 Décembre 2015 à 10:51
Quentin PÂRISAnonymous

What command have you typed?
 

MTres19 Vendredi 18 Décembre 2015 à 0:23
MTres19Anonymous

I'm pretty sure I used mvn assembly:assembly, with the maven2 package installed. I'm on Kubuntu 15.10.

Quentin PÂRIS Vendredi 18 Décembre 2015 à 15:31
Quentin PÂRISAnonymous

Try mv clean, mvn install, then mvn assembly:assembly  (with maven 3)

MTres19 Vendredi 18 Décembre 2015 à 21:29
MTres19Anonymous

Thanks. That built it. Unfortunately, when I run it, I get the following error: (I'm using OpenJDK 8 JRE)

Error: Could not find or load main class com.playonlinux.app.PlayOnLinuxApp
MTres19 Vendredi 18 Décembre 2015 à 21:33
MTres19Anonymous

I think this is the problem:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] playonlinux ........................................ SUCCESS [ 20.047 s]
[INFO] phoenicis-injection ................................ SKIPPED
[INFO] phoenicis-win32 .................................... SKIPPED
[INFO] phoenicis-core ..................................... SKIPPED
[INFO] phoenicis-integration .............................. SKIPPED
[INFO] phoenicis-qt ....................................... SKIPPED
[INFO] phoenicis-javafx ................................... SKIPPED
[INFO] phoenicis-wine ..................................... SKIPPED
[INFO] phoenicis-javafx-wine .............................. SKIPPED
[INFO] phoenicis-bash ..................................... SKIPPED
[INFO] phoenicis-app ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.939 s
[INFO] Finished at: 2015-12-18T15:22:26-05:00
[INFO] Final Memory: 26M/248M
[INFO] ------------------------------------------------------------------------

I have OpenJFX installed...

Quentin PÂRIS Mardi 22 Décembre 2015 à 0:34
Quentin PÂRISAnonymous

Even with Maven3?

We are doing a big refactoring at the moment, we do not have the problem

MTres19 Mercredi 23 Décembre 2015 à 3:09
MTres19Anonymous

Now with the latest git version, here is what I get at the end...

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] playonlinux ........................................ FAILURE [ 23.718 s]
[INFO] phoenicis-injection ................................ SKIPPED
[INFO] phoenicis-win32 .................................... SKIPPED
[INFO] phoenicis-core ..................................... SKIPPED
[INFO] phoenicis-integration .............................. SKIPPED
[INFO] phoenicis-qt ....................................... SKIPPED
[INFO] phoenicis-javafx ................................... SKIPPED
[INFO] phoenicis-wine ..................................... SKIPPED
[INFO] phoenicis-javafx-wine .............................. SKIPPED
[INFO] phoenicis-bash ..................................... SKIPPED
[INFO] phoenicis-app ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.903 s
[INFO] Finished at: 2015-12-22T21:03:40-05:00
[INFO] Final Memory: 27M/272M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly (default-cli) on project playonlinux: Error reading assemblies: No assembly descriptors found. -> [Help 1]
[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:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

It looks like you removed the <descripterRefs> section in commit b0fa72dae44fc518d30ff6360a44fcb0c1693545. Perhaps that's the problem?

Tomahna Vendredi 25 Décembre 2015 à 10:15
TomahnaAnonymous

That was indeed the problem. It has been fixed in commit 1c7f293f6cd7c5eaa4434f2686bc6ba3273a5869. You can now package the project by doing mvn clean package. You'll find the packaged project as a zip in phoenicis-dist/target.

Edité par Tomahna

MTres19 Samedi 26 Décembre 2015 à 18:12
MTres19Anonymous

Thanks, that worked. The UI looks nice, by the way.

inukaze Vendredi 21 Octobre 2016 à 11:31
inukaze

Some how to / Tutorial under Debian Jessie ???

I try the follow :
1 ) Enable the backports repository
2 ) Update avalaible packages
3)  Install openjdk-8, openjfx, and maven3

 

[code]sudo su
echo 'deb http://httpredir.debian.org/debian jessie-backports main contrib non-free' >> /etc/apt/sources.list
apt-get update
apt-get install -y openjdk-8-jdk openjfx libopenjfx-jni libopenjfx-java maven maven-repo-helper
mkdir -p /opt/PlayOnPosix
chmod 777 -R /opt/PlayOnPosix
exit
cd /opt/PlayOnPosix
git clone https://github.com/PlayOnLinux/POL-POM-5/ 5
cd 5
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
mvn clean

mvn install
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] playonlinux ....................................... SUCCESS [1.683s]
[INFO] phoenicis-injection ............................... SUCCESS [3.562s]
[INFO] phoenicis-win32 ................................... SUCCESS [1.890s]
[INFO] phoenicis-core .................................... SUCCESS [16.462s]
[INFO] phoenicis-integration ............................. SUCCESS [1.306s]
[INFO] phoenicis-apps .................................... SUCCESS [6.263s]
[INFO] phoenicis-ui ...................................... SUCCESS [1.222s]
[INFO] phoenicis-qt ...................................... SUCCESS [1.307s]
[INFO] phoenicis-javafx .................................. SUCCESS [1.963s]
[INFO] phoenicis-wine .................................... SUCCESS [2.947s]
[INFO] phoenicis-javafx-wine ............................. SUCCESS [1.260s]
[INFO] phoenicis-bash .................................... SUCCESS [1.734s]
[INFO] phoenicis-app ..................................... SUCCESS [1.307s]
[INFO] phoenicis-dist .................................... SUCCESS [4.685s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48.065s
[INFO] Finished at: Fri Oct 21 05:30:52 BOT 2016
[INFO] Final Memory: 23M/273M
[INFO] ------------------------------------------------------------------------[/code]

 

But ever :

[code]mvn assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] playonlinux ....................................... FAILURE [45.500s]
[INFO] phoenicis-injection ............................... SKIPPED
[INFO] phoenicis-win32 ................................... SKIPPED
[INFO] phoenicis-core .................................... SKIPPED
[INFO] phoenicis-integration ............................. SKIPPED
[INFO] phoenicis-apps .................................... SKIPPED
[INFO] phoenicis-ui ...................................... SKIPPED
[INFO] phoenicis-qt ...................................... SKIPPED
[INFO] phoenicis-javafx .................................. SKIPPED
[INFO] phoenicis-wine .................................... SKIPPED
[INFO] phoenicis-javafx-wine ............................. SKIPPED
[INFO] phoenicis-bash .................................... SKIPPED
[INFO] phoenicis-app ..................................... SKIPPED
[INFO] phoenicis-dist .................................... SKIPPED
[INFO] ------------------------------------------------------------------------[/code]

 

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com