According build instruction you should use Apache Maven (minimum) 3.2.1. http://openmeetings.apache.org/BuildInstructions.html#
Vasiliy On 16.06.2016 10:20, 李佳霖Jerry Lee wrote:
Hi, Vasiliy: I use maven 3.0.5 to run "mvn clean install". Bit I got the same error. -----Original Message----- From: Vasiliy Degtyarev [mailto:[email protected]] Sent: Thursday, June 16, 2016 12:04 PM To: [email protected] Subject: Re: mvn build error: apache-rat-plugin-0.12-SNAPSHOT Please try to build branch 3.1.x from this repo - https://svn.apache.org/repos/asf/openmeetings/application/branches/3.1.x Thanks, Vasiliy On 16.06.2016 9:37, 李佳霖Jerry Lee wrote:Hi, Vasiliy: I have tries maven 3.0.5 and 3.3.9 both. I got the sam error. The java version is openjdk-1.7.0_101. Maven 3.0.5 [root@e-meeting om-3.1.x]# mvn -version Apache Maven 3.0.5 (Red Hat 3.0.5-16) Maven home: /usr/share/maven Java version: 1.7.0_101, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre Default locale: zh_TW, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-327.18.2.el7.x86_64", arch: "amd64", family: "unix" [root@e-meeting om-3.1.x]# Maven 3.3.9 [root@e-meeting om-3.1.x]# mvn -version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00) Maven home: /u1/maven Java version: 1.7.0_101, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre Default locale: zh_TW, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-327.18.2.el7.x86_64", arch: "amd64", family: "unix" [root@e-meeting om-3.1.x]# Jerry -----Original Message----- From: Vasiliy Degtyarev [mailto:[email protected]] Sent: Thursday, June 16, 2016 11:15 AM To: [email protected] Subject: Re: mvn build error: apache-rat-plugin-0.12-SNAPSHOT What version maven and java you use? Thanks, Vasiliy On 16.06.2016 8:22, 李佳霖Jerry Lee wrote:Hi, I am a newer for openmeetings. As I Install penmeetings-3.1.1 completed, I want to build source code. But I got the same error by trying many times. 1. svn checkout https://svn.apache.org/repos/asf/openmeetings/application/trunk/ /u1/om-3.1.x/ 2. mvn clean install I have tried the releases that I remembered: 1747155,1748348, 1748496, 1748538, 1748647 I got the same error: Downloading: https://repository.apache.org/content/groups/snapshots/org/apache/rat / apache-rat-plugin/0.12-SNAPSHOT/apache-rat-plugin-0.12-SNAPSHOT.pom [WARNING] The POM for org.apache.rat:apache-rat-plugin:jar:0.12-SNAPSHOT is missing, no dependency information available [INFO] --------------------------------------------------------------------- - -- [INFO] Reactor Summary: [INFO] [INFO] Openmeetings ...................................... FAILURE [8.961s] [INFO] Openmeetings Util ................................. SKIPPED [INFO] Openmeetings DB ................................... SKIPPED [INFO] Openmeetings Core ................................. SKIPPED [INFO] Openmeetings Install .............................. SKIPPED [INFO] Openmeetings Service .............................. SKIPPED [INFO] Openmeetings Webservices .......................... SKIPPED [INFO] Openmeetings Web .................................. SKIPPED [INFO] Openmeetings Flash ................................ SKIPPED [INFO] Openmeetings Screen Sharing applet ................ SKIPPED [INFO] Openmeetings Server ............................... SKIPPED [INFO] --------------------------------------------------------------------- - -- [INFO] BUILD FAILURE [INFO] --------------------------------------------------------------------- - -- [INFO] Total time: 3:00.654s [INFO] Finished at: Thu Jun 16 09:58:45 CST 2016 [INFO] Final Memory: 16M/118M [INFO] --------------------------------------------------------------------- - -- [ERROR] Plugin org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.rat:apache-rat-plugin:jar:0.12-SNAPSHOT: Could not find artifact org.apache.rat:apache-rat-plugin:pom:0.12-SNAPSHOT in apache-snapshots (https://repository.apache.org/content/groups/snapshots) -> [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/PluginResolutionExce p tion I can’t find any pom file In the URL: https://repository.apache.org/content/groups/snapshots/org/apache/rat/apache-rat-plugin/0.12-SNAPSHOT. How to result the problem? Jerry
