hektiker1983 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Add the third-party jar file #324

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I want to add some functions to HABDroid APP.
So i need to depend on the third-party jar file.

pom.xml:

      <dependency>
    <groupId>ch.ethz.inf.vs</groupId>
    <artifactId>californium</artifactId>
    <version>4.00</version>
    <scope>system</scope>
    <systemPath>D:/wuxi/HABDroid/californium-0.13.0-SNAPSHOT.jar</systemPath>
      </dependency>

but when I execute the command "mvn clean install", the error is :

[ERROR] Failed to execute goal com.mycila.maven-license-plugin:maven-license-plu
gin:1.9.0:check (default) on project org.openhab.habdroid: Some files do not hav
e the expected license header -> [Help 1]

Hope someone can help me, thanks.

Original issue reported on code.google.com by duanruiq...@gmail.com on 30 May 2013 at 11:18

GoogleCodeExporter commented 8 years ago
I assume you did not only add your dependency, but also new source files, right?
The message is "Some files do not have the expected license header", so you 
have to add the standard license header to all files.
You can do so with

mvn license:format

Afterwards, the build should work! I I am wrong, please feel free to reopen the 
issue.

Original comment by kai.openhab on 11 Jun 2013 at 7:52