Skip to content
Snippets Groups Projects
Commit 6b05dae0 authored by Tim Molter's avatar Tim Molter
Browse files

added auto-header to Maven build

parent e4ea1c19
Branches
No related tags found
No related merge requests found
Showing
with 69 additions and 34 deletions
......@@ -76,8 +76,17 @@ For snapshots, add the following to your pom.xml file:
</dependency>
## Building
mvn clean package
mvn javadoc:aggregate
#### general
mvn clean package
mvn javadoc:javadoc
#### maven-license-plugin
mvn license:check
mvn license:format
mvn license:remove
## Running Demo
cd /path/to/xchart-demo/jar/
......
Copyright 2011 - 2013 Xeiam LLC.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
\ No newline at end of file
......@@ -45,7 +45,7 @@
</scm>
<ciManagement>
<url>http://ci.xeiam.com/</url>
<url>https://travis-ci.org/timmolter/XChart</url>
</ciManagement>
<modules>
......@@ -53,6 +53,20 @@
<module>xchart-demo</module>
</modules>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<downloadUrl>https://oss.sonatype.org/content/groups/public/com/xeiam/xchart</downloadUrl>
</distributionManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
......@@ -172,23 +186,22 @@
</dependencies>
</plugin>
<!-- for header in all .java files -->
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.10.b1</version>
<configuration>
<header>etc/header.txt</header>
<aggregate>true</aggregate>
<includes>
<include>**/*.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<downloadUrl>https://oss.sonatype.org/content/groups/public/com/xeiam/xchart</downloadUrl>
</distributionManagement>
<profiles>
<profile>
<id>release-sign-artifacts</id>
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
/**
* Copyright 2013 Xeiam LLC.
* Copyright 2011 - 2013 Xeiam LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment