Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
fix(license): add LICENSE.txt and fix pom
Browse files Browse the repository at this point in the history
  • Loading branch information
xzima committed Apr 7, 2022
1 parent 478529d commit f8fb8ef
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 2 deletions.
22 changes: 22 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2022, Evan Siroky
Copyright (c) 2022, Alex Zima

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
53 changes: 51 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
<organization>Conveyal</organization>
<organizationUrl>https://conveyal.com/</organizationUrl>
</developer>
<developer>
<name>Alex Zima</name>
<email>[email protected]</email>
</developer>
</developers>

<!-- Define where the source code for this project lives -->
Expand Down Expand Up @@ -123,7 +127,6 @@
</execution>
</executions>
</plugin>

<plugin>
<!-- Include zipped source code in releases -->
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -160,6 +163,7 @@
</execution>
</executions>
</plugin>

<plugin>
<!-- https://mycila.carbou.me/license-maven-plugin/ -->
<groupId>com.mycila</groupId>
Expand Down Expand Up @@ -221,6 +225,34 @@
<fileTemplate>.github/LICENSES_THIRD_PARTY_groupByLicense.ftl</fileTemplate>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}</directory>
<includes>
<include>LICENSES_THIRD_PARTY.txt</include>
<include>LICENSE.txt</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand All @@ -241,7 +273,24 @@
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-server-cio</artifactId>
<version>1.6.8</version>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-bom</artifactId>
<version>1.6.8</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-bom</artifactId>
<version>1.6.20</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>

0 comments on commit f8fb8ef

Please sign in to comment.