Hello Jerry, you error is caused by the fact there is no more 0.12-SNAPSHOT version of apache-rat-plugin is available due to 0.12 version was released
so to build the sources you need to 1) modify pom.xml and set 0.12 as rat version instead of 0.12-SNAPSHOT OR 2) try to build 3.1.x branch which already contains the correct version On Fri, Jun 17, 2016 at 10:06 AM, Vasiliy Degtyarev <[email protected]> wrote: > Hello Jerry, > I haven't got this error. > I have use > Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; > 2015-04-22T17:57:37+06:00) > Java version: 1.8.0_60, vendor: Oracle Corporation > > Please try to run the next commands: > mvn clean > mvn clean install. > > Thanks, > Vasiliy > > > On 17.06.2016 9:55, 李佳霖Jerry Lee wrote: > >> Hi, Vasiliy: >> >> Could you give me some help. >> >> Jerry >> >> >> -----Original Message----- >> From: 李佳霖Jerry Lee >> Sent: Thursday, June 16, 2016 1:32 PM >> To: '[email protected]' >> Subject: RE: mvn build error: apache-rat-plugin-0.12-SNAPSHOT >> >> Hi, Vasiliy: >> >> Still the same error. >> >> Jerry >> >> 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 >> Downloading: >> https://repository.apache.org/content/groups/snapshots/org/apache/rat/apache-rat-plugin/0.12-SNAPSHOT/apache-rat-plugin-0.12-SNAPSHOT.jar >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Openmeetings ....................................... FAILURE [ >> 8.533 s] [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: 03:04 min >> [INFO] Finished at: 2016-06-16T13:28:59+08:00 [INFO] Final Memory: >> 20M/118M [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Plugin org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT or one of >> its dependencies could not be resolved: Could not find artifact >> org.apache.rat:apache-rat-plugin:jar: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/PluginResolutionException >> >> [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]# >> >> >> -----Original Message----- >> From: Vasiliy Degtyarev [mailto:[email protected]] >> Sent: Thursday, June 16, 2016 12:26 PM >> To: [email protected] >> Subject: Re: mvn build error: apache-rat-plugin-0.12-SNAPSHOT >> >> 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/ra >>>>> t / >>>>> 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/PluginResolutionExc >>>>> e >>>>> 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 >>>>> >>>>> > -- WBR Maxim aka solomax
