[jira] [Commented] (OPENMEETINGS-2651) BUILD FAILURE

2021-08-27 Thread Maxim Solodovnik (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17405690#comment-17405690
 ] 

Maxim Solodovnik commented on OPENMEETINGS-2651:


OK

just have tested under Win10 VM
The following commands works for me:
{code}
set JAVA_HOME=C:\Users\solomax\work\jdk-11
set MVN_HOME=C:\Users\solomax\work\apache-maven-3.8.2
set 
PATH=%JAVA_HOME%\bin;%MVN_HOME%\bin;C:\Users\solomax\work\Git-2.33.0.2\bin;%PATH%

git clone https://github.com/apache/openmeetings.git
cd openmeetings
mvn clean install -DskipTests
{code}

The build is green :)

> BUILD FAILURE
> -
>
> Key: OPENMEETINGS-2651
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2651
> Project: Openmeetings
>  Issue Type: Bug
>Affects Versions: 6.1.0
> Environment: jdk.11
> maven 3.6.0
>Reporter: mml
>Assignee: Maxim Solodovnik
>Priority: Major
> Attachments: rat.txt, screenshot-1.png
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> 在构建源码的过程中,根据官网提供的第一步mvn clean install -P 
> allModules.执行成功之后,通过idea导入openmeentings/pom.xml;执行 Openmeetings Server 
> -》maven -》 install 报错。
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] < org.apache.openmeetings:openmeetings-server 
> >-
> [INFO] Building Openmeetings Server 7.0.0-SNAPSHOT
> [INFO] [ jar 
> ]-
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT is missing, no 
> dependency information available
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT is 
> missing, no dependency information available
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 2.987 s
> [INFO] Finished at: 2021-08-26T17:43:42+08:00
> [INFO] 
> 
> [ERROR] Failed to execute goal on project openmeetings-server: Could not 
> resolve dependencies for project 
> org.apache.openmeetings:openmeetings-server:jar:7.0.0-SNAPSHOT: The following 
> artifacts could not be resolved: 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT, 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT: Failure 
> to find org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT in 
> https://repository.apache.org/content/groups/snapshots was cached in the 
> local repository, resolution will not be reattempted until the update 
> interval of apache-snapshots has elapsed or updates are forced -> [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/DependencyResolutionException



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2651) BUILD FAILURE

2021-08-27 Thread mml (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17405653#comment-17405653
 ] 

mml commented on OPENMEETINGS-2651:
---

:D  I tried Git bash but the same problem occurred.

> BUILD FAILURE
> -
>
> Key: OPENMEETINGS-2651
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2651
> Project: Openmeetings
>  Issue Type: Bug
>Affects Versions: 6.1.0
> Environment: jdk.11
> maven 3.6.0
>Reporter: mml
>Assignee: Maxim Solodovnik
>Priority: Major
> Attachments: rat.txt, screenshot-1.png
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> 在构建源码的过程中,根据官网提供的第一步mvn clean install -P 
> allModules.执行成功之后,通过idea导入openmeentings/pom.xml;执行 Openmeetings Server 
> -》maven -》 install 报错。
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] < org.apache.openmeetings:openmeetings-server 
> >-
> [INFO] Building Openmeetings Server 7.0.0-SNAPSHOT
> [INFO] [ jar 
> ]-
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT is missing, no 
> dependency information available
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT is 
> missing, no dependency information available
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 2.987 s
> [INFO] Finished at: 2021-08-26T17:43:42+08:00
> [INFO] 
> 
> [ERROR] Failed to execute goal on project openmeetings-server: Could not 
> resolve dependencies for project 
> org.apache.openmeetings:openmeetings-server:jar:7.0.0-SNAPSHOT: The following 
> artifacts could not be resolved: 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT, 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT: Failure 
> to find org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT in 
> https://repository.apache.org/content/groups/snapshots was cached in the 
> local repository, resolution will not be reattempted until the update 
> interval of apache-snapshots has elapsed or updates are forced -> [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/DependencyResolutionException



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2651) BUILD FAILURE

2021-08-27 Thread Maxim Solodovnik (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17405635#comment-17405635
 ] 

Maxim Solodovnik commented on OPENMEETINGS-2651:


I haven't tried build under windows cmd for a long time
Will try to check it ASAP

Meanwhile can you try the build from git bash under Windows?

> BUILD FAILURE
> -
>
> Key: OPENMEETINGS-2651
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2651
> Project: Openmeetings
>  Issue Type: Bug
>Affects Versions: 6.1.0
> Environment: jdk.11
> maven 3.6.0
>Reporter: mml
>Assignee: Maxim Solodovnik
>Priority: Major
> Attachments: rat.txt, screenshot-1.png
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> 在构建源码的过程中,根据官网提供的第一步mvn clean install -P 
> allModules.执行成功之后,通过idea导入openmeentings/pom.xml;执行 Openmeetings Server 
> -》maven -》 install 报错。
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] < org.apache.openmeetings:openmeetings-server 
> >-
> [INFO] Building Openmeetings Server 7.0.0-SNAPSHOT
> [INFO] [ jar 
> ]-
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT is missing, no 
> dependency information available
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT is 
> missing, no dependency information available
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 2.987 s
> [INFO] Finished at: 2021-08-26T17:43:42+08:00
> [INFO] 
> 
> [ERROR] Failed to execute goal on project openmeetings-server: Could not 
> resolve dependencies for project 
> org.apache.openmeetings:openmeetings-server:jar:7.0.0-SNAPSHOT: The following 
> artifacts could not be resolved: 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT, 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT: Failure 
> to find org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT in 
> https://repository.apache.org/content/groups/snapshots was cached in the 
> local repository, resolution will not be reattempted until the update 
> interval of apache-snapshots has elapsed or updates are forced -> [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/DependencyResolutionException



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2651) BUILD FAILURE

2021-08-27 Thread mml (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17405615#comment-17405615
 ] 

mml commented on OPENMEETINGS-2651:
---

Thank you very much. I deleted the original source code and cloned the source 
code of git repository. It then executed in the root directory, 'MVN Clean 
install -p allModules', and still had some problems during the build process. 
Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check (default) on 
project Openmeetings -web: Too many files with unapproved license: 4 See RAT 
report in: D:\work\ideaworkspace\openmeetings\openmeetings-web\target\rat.txt
 !screenshot-1.png! 

> BUILD FAILURE
> -
>
> Key: OPENMEETINGS-2651
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2651
> Project: Openmeetings
>  Issue Type: Bug
>Affects Versions: 6.1.0
> Environment: jdk.11
> maven 3.6.0
>Reporter: mml
>Assignee: Maxim Solodovnik
>Priority: Major
> Attachments: rat.txt, screenshot-1.png
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> 在构建源码的过程中,根据官网提供的第一步mvn clean install -P 
> allModules.执行成功之后,通过idea导入openmeentings/pom.xml;执行 Openmeetings Server 
> -》maven -》 install 报错。
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] < org.apache.openmeetings:openmeetings-server 
> >-
> [INFO] Building Openmeetings Server 7.0.0-SNAPSHOT
> [INFO] [ jar 
> ]-
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT is missing, no 
> dependency information available
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT is 
> missing, no dependency information available
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 2.987 s
> [INFO] Finished at: 2021-08-26T17:43:42+08:00
> [INFO] 
> 
> [ERROR] Failed to execute goal on project openmeetings-server: Could not 
> resolve dependencies for project 
> org.apache.openmeetings:openmeetings-server:jar:7.0.0-SNAPSHOT: The following 
> artifacts could not be resolved: 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT, 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT: Failure 
> to find org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT in 
> https://repository.apache.org/content/groups/snapshots was cached in the 
> local repository, resolution will not be reattempted until the update 
> interval of apache-snapshots has elapsed or updates are forced -> [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/DependencyResolutionException



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2651) BUILD FAILURE

2021-08-26 Thread Maxim Solodovnik (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17405254#comment-17405254
 ] 

Maxim Solodovnik commented on OPENMEETINGS-2651:


Hello [~mml],

unfortunately I don't understand non-English part of your report :(
Build is green both at CI server and at my local machine
The error is unclear
Is it possible you are trying to build {{openmeetings-server}} module only?

I would recommend you to run full command line build at parent folder

More info here: https://openmeetings.apache.org/BuildInstructions.html

> BUILD FAILURE
> -
>
> Key: OPENMEETINGS-2651
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2651
> Project: Openmeetings
>  Issue Type: Bug
>Affects Versions: 6.1.0
> Environment: jdk.11
> maven 3.6.0
>Reporter: mml
>Assignee: Maxim Solodovnik
>Priority: Major
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> 在构建源码的过程中,根据官网提供的第一步mvn clean install -P 
> allModules.执行成功之后,通过idea导入openmeentings/pom.xml;执行 Openmeetings Server 
> -》maven -》 install 报错。
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] < org.apache.openmeetings:openmeetings-server 
> >-
> [INFO] Building Openmeetings Server 7.0.0-SNAPSHOT
> [INFO] [ jar 
> ]-
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT is missing, no 
> dependency information available
> [WARNING] The POM for 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT is 
> missing, no dependency information available
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 2.987 s
> [INFO] Finished at: 2021-08-26T17:43:42+08:00
> [INFO] 
> 
> [ERROR] Failed to execute goal on project openmeetings-server: Could not 
> resolve dependencies for project 
> org.apache.openmeetings:openmeetings-server:jar:7.0.0-SNAPSHOT: The following 
> artifacts could not be resolved: 
> org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT, 
> org.apache.openmeetings:openmeetings-screenshare:jar:7.0.0-SNAPSHOT: Failure 
> to find org.apache.openmeetings:openmeetings-web:war:7.0.0-SNAPSHOT in 
> https://repository.apache.org/content/groups/snapshots was cached in the 
> local repository, resolution will not be reattempted until the update 
> interval of apache-snapshots has elapsed or updates are forced -> [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/DependencyResolutionException



--
This message was sent by Atlassian Jira
(v8.3.4#803005)