Sensorwebclient Build error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Sensorwebclient Build error

Chenfeng
When I build the Sensorwebclient it comes error and it cannot be build successful. It shows that failed to find Licenses for 1 artifacts.

This is the link where i got the repository:
https://github.com/52North/SensorWebClient/releases/tag/v3.3.0-rc.3

The version is v3.3.0-rc.3.
My system is windows7.

this is the error:

Reply | Threaded
Open this post in threaded view
|

Re: Sensorwebclient Build error

Chenfeng
But the problem is after i add the artifacts into the pom.xml file, the error still exist.

This is the artifacts i added into the pom.xml:
<dependency>
    <groupId>net.bull.javamelody</groupId>
        <artifactId>javamelody-core</artifactId>
    <version>1.45.0</version>
</dependency>
Reply | Threaded
Open this post in threaded view
|

Re: Sensorwebclient Build error

Henning Bredel-5
If you want to add new dependencies, the project tries to resolve the license.
This has to do with our license management [0]. Have a look at NOTICE file which
summarizes all licenses involved.

However, if if cannot find the license it fails. You have multiple options:

1. ignore the check: -Dskip.checks=false (will skip license checks)
2. add missing license information (described here [0])
3. Set maven-notice-plugin phase to none

Best

  Henning

[0]
https://wiki.52north.org/Documentation/BestPracticeLicenseManagementInSoftwareProjects

On 16.08.2017 11:37, Chenfeng wrote:

> But the problem is after i add the artifacts into the pom.xml file, the error
> still exist.
>
> This is the artifacts i added into the pom.xml:
> <dependency>
>     <groupId>net.bull.javamelody</groupId>
>         <artifactId>javamelody-core</artifactId>
>     <version>1.45.0</version>
> </dependency>
>
>
>
> --
> View this message in context: http://sensorweb.forum.52north.org/Sensorwebclient-Build-error-tp4029000p4029001.html
> Sent from the 52° North - Sensor Web Community Forum mailing list archive at Nabble.com.
> _______________________________________________
> SWE mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/swe
> http://sensorweb.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>
_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Sensorwebclient Build error

Chenfeng
Henning Bredel-5 wrote
If you want to add new dependencies, the project tries to resolve the license.
This has to do with our license management [0]. Have a look at NOTICE file which
summarizes all licenses involved.

However, if if cannot find the license it fails. You have multiple options:

1. ignore the check: -Dskip.checks=false (will skip license checks)
2. add missing license information (described here [0])
3. Set maven-notice-plugin phase to none

Best

  Henning

[0]
https://wiki.52north.org/Documentation/BestPracticeLicenseManagementInSoftwareProjects

On 16.08.2017 11:37, Chenfeng wrote:
> But the problem is after i add the artifacts into the pom.xml file, the error
> still exist.
>
> This is the artifacts i added into the pom.xml:
> <dependency>
>     <groupId>net.bull.javamelody</groupId>
>         <artifactId>javamelody-core</artifactId>
>     <version>1.45.0</version>
> </dependency>
>
>
>
> --
> View this message in context: http://sensorweb.forum.52north.org/Sensorwebclient-Build-error-tp4029000p4029001.html
> Sent from the 52° North - Sensor Web Community Forum mailing list archive at Nabble.com.
> _______________________________________________
> SWE mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/swe
> http://sensorweb.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>
_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines


Thank you Henning very much for your answer.
I used the solution you give it to me and set maven-notice-plugin phase to none, the problem has been solved.
However, when i build it use git, there are other problems appear below.
The branch i used is version 3.3.x



[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Toaster.java:[76,13] ▒Ҳ▒▒▒▒▒▒▒
  ▒▒▒▒:   ▒▒ VLayout
  λ▒▒: ▒▒ org.n52.client.ui.Toaster
[INFO] 104 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] 52North Sensor Web Client .......................... SUCCESS [  6.472 s]
[INFO] Shared SOS Components .............................. SUCCESS [ 10.409 s]
[INFO] Sensor Web Client API .............................. SUCCESS [ 24.325 s]
[INFO] Sensor Web Client External Tools ................... SUCCESS [  7.483 s]
[INFO] Shared SES Components .............................. SUCCESS [  3.444 s]
[INFO] SES Server Components .............................. SUCCESS [ 13.658 s]
[INFO] SES RPC Bindings ................................... SUCCESS [  1.471 s]
[INFO] SOS Server Components .............................. SUCCESS [  3.626 s]
[INFO] SOS RPC Bindings ................................... SUCCESS [  2.504 s]
[INFO] SOS Rest Interface ................................. SUCCESS [ 12.819 s]
[INFO] User Interface ..................................... FAILURE [  1.501 s]
[INFO] Connector for an ArcGIS SOS extension. ............. SKIPPED
[INFO] SOS Hydrology Profil Connector ..................... SKIPPED
[INFO] Sensor Web Client Web Application .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:28 min
[INFO] Finished at: 2017-08-16T17:16:48+02:00
[INFO] Final Memory: 108M/467M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project sensorwebclient-ui: Compilation failure: Compilation failure:
[ERROR] ▒▒ȡC:\Users\Administrator\.m2\repository\net\bull\javamelody\javamelody-core\1.45.0\javamelody-core-1.45.0.jarʱ▒▒▒▒; error in opening zip file
[ERROR] ▒▒ȡC:\Users\Administrator\.m2\repository\com\smartgwt\smartgwt\3.1\smartgwt-3.1.jarʱ▒▒▒▒; error in opening zip file
[ERROR] ▒▒ȡC:\Users\Administrator\.m2\repository\net\bull\javamelody\javamelody-core\1.45.0\javamelody-core-1.45.0.jarʱ▒▒▒▒; error in opening zip file
[ERROR] ▒▒ȡC:\Users\Administrator\.m2\repository\com\smartgwt\smartgwt\3.1\smartgwt-3.1.jarʱ▒▒▒▒; error in opening zip file
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Loader.java:[30,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Loader.java:[37,38] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒: ▒▒ Img
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[36,33] ▒▒▒▒▒com.smartgwt.client.types▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[37,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[38,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[39,42] ▒▒▒▒▒com.smartgwt.client.widgets.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[40,42] ▒▒▒▒▒com.smartgwt.client.widgets.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[41,40] ▒▒▒▒▒com.smartgwt.client.widgets.grid▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[42,40] ▒▒▒▒▒com.smartgwt.client.widgets.grid▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[45,45] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒: ▒▒ ListGrid
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[47,50] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒:   ▒▒ ListGridRecord
[ERROR]   λ▒▒: ▒▒ org.n52.client.ses.ui.rules.OtherUserRulesListGrid
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/rules/OtherUserRulesListGrid.java:[47,15] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒:   ▒▒ Canvas
[ERROR]   λ▒▒: ▒▒ org.n52.client.ses.ui.rules.OtherUserRulesListGrid
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/DataPanelTab.java:[32,39] ▒▒▒▒▒com.smartgwt.client.widgets.tab▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/DataPanelTab.java:[34,44] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒: ▒▒ Tab
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ctrl/DataControls.java:[30,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ctrl/DataControls.java:[31,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ctrl/DataControls.java:[33,44] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒: ▒▒ VLayout
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ctrl/DataControls.java:[37,12] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒:   ▒▒ Canvas
[ERROR]   λ▒▒: ▒▒ org.n52.client.ctrl.DataControls
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/FormLayout.java:[31,40] ▒▒▒▒▒com.smartgwt.client.widgets.form▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/FormLayout.java:[32,47] ▒▒▒▒▒com.smartgwt.client.widgets.form.fields▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/FormLayout.java:[33,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/FormLayout.java:[34,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/FormLayout.java:[39,42] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒: ▒▒ VLayout
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Toaster.java:[38,33] ▒▒▒▒▒com.smartgwt.client.types▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Toaster.java:[39,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Toaster.java:[40,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Toaster.java:[41,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Toaster.java:[42,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Toaster.java:[43,42] ▒▒▒▒▒com.smartgwt.client.widgets.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Toaster.java:[44,42] ▒▒▒▒▒com.smartgwt.client.widgets.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/Toaster.java:[45,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[46,33] ▒▒▒▒▒com.smartgwt.client.types▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[47,33] ▒▒▒▒▒com.smartgwt.client.types▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[48,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[49,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[50,42] ▒▒▒▒▒com.smartgwt.client.widgets.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[51,42] ▒▒▒▒▒com.smartgwt.client.widgets.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[52,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[53,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[54,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ui/View.java:[55,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ctrl/DataControlsSes.java:[51,33] ▒▒▒▒▒com.smartgwt.client.types▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ctrl/DataControlsSes.java:[52,33] ▒▒▒▒▒com.smartgwt.client.types▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ctrl/DataControlsSes.java:[53,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ctrl/DataControlsSes.java:[54,35] ▒▒▒▒▒com.smartgwt.client.widgets▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ctrl/DataControlsSes.java:[55,42] ▒▒▒▒▒com.smartgwt.client.widgets.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ctrl/DataControlsSes.java:[56,42] ▒▒▒▒▒com.smartgwt.client.widgets.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ctrl/DataControlsSes.java:[57,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ctrl/DataControlsSes.java:[58,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/layout/LoginLayout.java:[46,40] ▒▒▒▒▒com.smartgwt.client.widgets.form▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/layout/LoginLayout.java:[47,47] ▒▒▒▒▒com.smartgwt.client.widgets.form.fields▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/layout/LoginLayout.java:[48,47] ▒▒▒▒▒com.smartgwt.client.widgets.form.fields▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/layout/LoginLayout.java:[49,47] ▒▒▒▒▒com.smartgwt.client.widgets.form.fields▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/layout/LoginLayout.java:[50,47] ▒▒▒▒▒com.smartgwt.client.widgets.form.fields▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/layout/LoginLayout.java:[51,54] ▒▒▒▒▒com.smartgwt.client.widgets.form.fields.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/layout/LoginLayout.java:[52,54] ▒▒▒▒▒com.smartgwt.client.widgets.form.fields.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/layout/LoginLayout.java:[53,54] ▒▒▒▒▒com.smartgwt.client.widgets.form.fields.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/layout/LoginLayout.java:[54,54] ▒▒▒▒▒com.smartgwt.client.widgets.form.fields.events▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/SesTab.java:[47,42] ▒▒▒▒▒com.smartgwt.client.widgets.layout▒▒▒▒▒▒
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/FormLayout.java:[41,15] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒:   ▒▒ HeaderItem
[ERROR]   λ▒▒: ▒▒ org.n52.client.ses.ui.FormLayout
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/FormLayout.java:[43,15] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒:   ▒▒ DynamicForm
[ERROR]   λ▒▒: ▒▒ org.n52.client.ses.ui.FormLayout
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/FormLayout.java:[45,15] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒:   ▒▒ DynamicForm
[ERROR]   λ▒▒: ▒▒ org.n52.client.ses.ui.FormLayout
[ERROR] /D:/test9/SensorWebClient/sensorwebclient-ui/src/main/java/org/n52/client/ses/ui/FormLayout.java:[47,15] ▒Ҳ▒▒▒▒▒▒▒
[ERROR]   ▒▒▒▒:   ▒▒ LayoutSpacer