Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Unify license references #1778

Merged
merged 5 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
.settings
.idea
*.iml
/target/
*/target/
vaadin-testbench-core/error-screenshots
vaadin-testbench-standalone/dependency-reduced-pom.xml
vaadin-testbench-recorder/selenium-extensions/core/user-extensions.js
vaadin-testbench-recorder/chrome/content/selenium/scripts/selenium-api.js
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Please report bugs and submit feature requests as [GitHub issues](https://github

## License

This add-on is distributed under [CVAL 3.0](https://vaadin.com/license/cval-3).
This add-on is distributed under [VCL](https://vaadin.com/commercial-license-and-service-terms).
7 changes: 3 additions & 4 deletions doc/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ <h1>Licensing</h1>
<p>
<strong><em>Vaadin TestBench</em> is a testing tool for <a href="http://vaadin.com">Vaadin Framework</a>.
</strong><br/><br/>
<em>Vaadin TestBench</em> is distributed under the terms of <a href="https://vaadin.com/license/cval-3">
Commercial Vaadin Add-On License version 3.0</a> ("CVALv3"). A copy of the license
is included as <tt>LICENSE.txt</tt> in this software package.
<em>Vaadin TestBench</em> is distributed under the Vaadin Commercial License and Service Terms (<a href="https://vaadin.com/commercial-license-and-service-terms">
VCL</a>).
</p>
<p>
You must either accept the terms of the above mentioned license agreement
Expand All @@ -121,7 +120,7 @@ <h3>Included Software Components</h3>
<ul>
<li>Selenium 3.12.0 &ndash; Apache License 2.0</li>
<li>PhantomJSDriver 1.4.2 &ndash; The BSD 2-Clause License</li>
<li>Javassist 3.18.1-GA &ndash; Apache License 2.0</li>
<li>Javassist 3.30.2-GA &ndash; Apache License 2.0</li>
<li>JUnit 4.12 &ndash; Common Public License Version 1.0</li>
<li>org.json &ndash; The JSON License</li>
</ul>
Expand Down
13 changes: 6 additions & 7 deletions documentation/setup/testbench-license.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ layout: page
== Installing License Key

Before running tests, you need to install a license key.
You can purchase Vaadin TestBench or obtain a free trial key from the
link:https://vaadin.com/directory#addon/vaadin-testbench[Vaadin TestBench
download page] in Vaadin Directory.
You need to register in Vaadin Directory to obtain the key.
You can acquire a subscription through
link:https://vaadin.com/testbench[Vaadin TestBench page].

To install the license key on a development workstation, you can copy and paste it verbatim to a [filename]#.vaadin.testbench.developer.license# file in your home directory.
To install the license key on a development workstation,
you can copy and paste it verbatim to a [filename]#.vaadin.testbench.developer.license# file in your home directory. The license keys for your subscription can be found in the
link:https://vaadin.com/myaccount/licenses#classic[Licenses page].

For example, in Linux and OS X:
[subs="normal"]
Expand Down Expand Up @@ -94,8 +94,7 @@ As described above, Maven passes the parameter as is to JUnit, but Ant does not


ifdef::web[]
See link:https://vaadin.com/directory/help/installing-cval-license[the CVAL
license key installation instructions] for more details.
See link:https://vaadin.com/docs/v8/framework/addons/addons-cval[the license key installation instructions] for more details.
endif::web[]

[[testbench.license.proxies]]
Expand Down
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<snapshot.repository.url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/
</snapshot.repository.url>
<Implementation-Version>${project.version}</Implementation-Version>
<currentYear>2024</currentYear>
</properties>
<modules>
<module>vaadin-testbench</module>
Expand All @@ -73,6 +74,35 @@
<skip>false</skip>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.3</version>
<configuration>
<basedir>${basedir}</basedir>
<header>${maven.multiModuleProjectDirectory}/vaadin-testbench-core/src/license/header.txt</header>
<quiet>false</quiet>
<failIfMissing>true</failIfMissing>
<aggregate>false</aggregate>
<useDefaultExcludes>true</useDefaultExcludes>
<useDefaultMapping>true</useDefaultMapping>
<encoding>UTF-8</encoding>
<properties>
<year>${currentYear}</year>
</properties>
<includes>
<include>/**/*.java</include>
<include>*.java</include>
</includes>
</configuration>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
4 changes: 3 additions & 1 deletion test/test/Money.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
4 changes: 3 additions & 1 deletion test/test/Money_tst.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
4 changes: 3 additions & 1 deletion test/test/Money_tst2.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
40 changes: 8 additions & 32 deletions vaadin-testbench-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,37 +142,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.6</version>
<configuration>
<basedir>${basedir}</basedir>
<header>${basedir}/src/license/cval3/header.txt</header>
<quiet>false</quiet>
<failIfMissing>true</failIfMissing>
<aggregate>false</aggregate>
<useDefaultExcludes>true</useDefaultExcludes>
<useDefaultMapping>true</useDefaultMapping>
<encoding>UTF-8</encoding>
<properties>
<year>${project.inceptionYear}</year>
</properties>
<excludes>
<exclude>target/**</exclude>
<exclude>**/*.xml</exclude>
<exclude>src/license/**/*</exclude>
<exclude>**/*.txt</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -219,7 +188,7 @@
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.18.1-GA</version>
<version>3.30.2-GA</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
Expand All @@ -232,5 +201,12 @@
</exclusion>
</exclusions>
</dependency>
<!-- License-checker uses SLF4J logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.36</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
10 changes: 0 additions & 10 deletions vaadin-testbench-core/src/license/cval3/header.txt

This file was deleted.

8 changes: 8 additions & 0 deletions vaadin-testbench-core/src/license/header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Vaadin TestBench Addon

Copyright (C) 2012-${year} Vaadin Ltd

This program is available under Vaadin Commercial License and Service Terms.

See <https://vaadin.com/commercial-license-and-service-terms> for the full
license.
3 changes: 3 additions & 0 deletions vaadin-testbench-core/src/license/license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This program is available under Vaadin Commercial License and Service Terms.
See https://vaadin.com/commercial-license-and-service-terms for the full
license.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2000-2024 Vaadin Ltd
* Vaadin TestBench Addon
*
* Copyright (C) 2012-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
Expand Down
Loading