-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up minimal maven build. Fixed licenses (#6)
* Set up minimal maven build. Fixed licenses * fixup! Set up minimal maven build. Fixed licenses * Removed extra licenses added jetty plugin configuration
- Loading branch information
1 parent
cc9878c
commit a72010c
Showing
13 changed files
with
189 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
target/ | ||
_site/ | ||
*.swp | ||
pkg/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2012-2016 Codenvy, S.A. | ||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v1.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/legal/epl-v10.html | ||
Contributors: | ||
Codenvy, S.A. - initial API and implementation | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<artifactId>maven-depmgt-pom</artifactId> | ||
<groupId>org.eclipse.che.depmgt</groupId> | ||
<version>5.0.0-SNAPSHOT</version> | ||
</parent> | ||
<groupId>org.eclipse.che.docs</groupId> | ||
<artifactId>che-docs</artifactId> | ||
<version>5.0.0-SNAPSHOT</version> | ||
<packaging>war</packaging> | ||
<name>Che :: Docs War</name> | ||
<scm> | ||
<connection>scm:git:git@github.com:codenvy/che-docs.git</connection> | ||
<developerConnection>scm:git:git@github.com:codenvy/che-docs.git</developerConnection> | ||
<tag>HEAD</tag> | ||
</scm> | ||
<properties> | ||
<jetty.version>9.4.0.v20161208</jetty.version> | ||
<maven.releases.repo.url>https://maven.codenvycorp.com/content/repositories/codenvy-private-releases/</maven.releases.repo.url> | ||
<maven.snapshots.repo.url>https://maven.codenvycorp.com/content/repositories/codenvy-private-snapshots/</maven.snapshots.repo.url> | ||
</properties> | ||
<repositories> | ||
<repository> | ||
<id>codenvy-public-repo</id> | ||
<name>codenvy public</name> | ||
<url>https://maven.codenvycorp.com/content/groups/public/</url> | ||
</repository> | ||
<repository> | ||
<id>codenvy-public-snapshots-repo</id> | ||
<name>codenvy public snapshots</name> | ||
<url>https://maven.codenvycorp.com/content/repositories/codenvy-public-snapshots/</url> | ||
</repository> | ||
</repositories> | ||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>codenvy-public-repo</id> | ||
<name>codenvy public</name> | ||
<url>https://maven.codenvycorp.com/content/groups/public/</url> | ||
</pluginRepository> | ||
<pluginRepository> | ||
<id>codenvy-public-snapshots-repo</id> | ||
<name>codenvy public snapshots</name> | ||
<url>https://maven.codenvycorp.com/content/repositories/codenvy-public-snapshots/</url> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.mycila</groupId> | ||
<artifactId>license-maven-plugin</artifactId> | ||
<configuration> | ||
<excludes> | ||
<exclude>**/**/*.html</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.jetty</groupId> | ||
<artifactId>jetty-maven-plugin</artifactId> | ||
<version>${jetty.version}</version> | ||
<configuration> | ||
<scanIntervalSeconds>10</scanIntervalSeconds> | ||
<webApp> | ||
<contextPath>/docs</contextPath> | ||
</webApp> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-antrun-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<phase>compile</phase> | ||
<goals> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<target> | ||
<exec dir="${project.basedir}/src/main" executable="jekyll" failonerror="true"> | ||
<arg value="build" /> | ||
<arg value="--config" /> | ||
<arg value="${project.basedir}/src/main/_config.yml" /> | ||
<arg value="--destination" /> | ||
<arg value="${project.basedir}/target" /> | ||
</exec> | ||
</target> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<configuration> | ||
<failOnMissingWebXml>false</failOnMissingWebXml> | ||
<webResources> | ||
<resource> | ||
<directory>target/docs</directory> | ||
</resource> | ||
</webResources> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters