Skip to content

Commit 044b3a7

Browse files
committed
Initial
1 parent 3c47076 commit 044b3a7

File tree

14 files changed

+763
-2
lines changed

14 files changed

+763
-2
lines changed

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.classpath
2+
.project
3+
.settings
4+
generated-src
5+
build
6+
target
7+
bin
8+
temp
9+
gradlew
10+
gradlew.bat
11+
.gradle
12+
gradle

.travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
sudo: false
2+
language: java
3+
jdk:
4+
- oraclejdk8
5+
- oraclejdk7
6+
script:
7+
- ./build.sh
8+
notifications:
9+
email: false

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Git Changelog changelog
2+
3+
Changelog of Git Changelog.
4+
5+
## Next release
6+
### Other changes
7+
8+
Initial
9+

LICENSE

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2015 Tomas Bjerre
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

README.md

+63-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,63 @@
1-
# git-changelog-maven-plugin
2-
Maven plugin for git-changelog
1+
# Byggarmonster Maven Plugin [![Build Status](https://travis-ci.org/tomasbjerre/byggarmonster-maven-plugin.svg?branch=master)](https://travis-ci.org/tomasbjerre/byggarmonster-maven-plugin)
2+
3+
This is a Maven plugin for [Byggarmonster](https://github.com/tomasbjerre/byggarmonster-lib).
4+
5+
## Usage ##
6+
Here is and example that will scan a given package and produce builders for the classes found in it. There is also a running example [here](https://github.com/tomasbjerre/byggarmonster-maven-plugin/tree/master/byggarmonster-maven-plugin-example).
7+
8+
<plugins>
9+
<plugin>
10+
<groupId>se.bjurr.byggarmonster</groupId>
11+
<artifactId>byggarmonster-maven-plugin</artifactId>
12+
<version>1.1</version>
13+
<executions>
14+
<execution>
15+
<id>GenerateBuilders</id>
16+
<phase>generate-sources</phase>
17+
<goals>
18+
<goal>generate-builders</goal>
19+
</goals>
20+
<configuration>
21+
<fromPackage>se.bjurr.byggarmonster.model</fromPackage>
22+
<fromFolder>src/main/java</fromFolder>
23+
<toFolder>target/generated-sources</toFolder>
24+
</configuration>
25+
</execution>
26+
</executions>
27+
</plugin>
28+
29+
<plugin>
30+
<groupId>org.codehaus.mojo</groupId>
31+
<artifactId>build-helper-maven-plugin</artifactId>
32+
<version>1.7</version>
33+
<executions>
34+
<execution>
35+
<id>add-source</id>
36+
<phase>generate-sources</phase>
37+
<goals>
38+
<goal>add-source</goal>
39+
</goals>
40+
<configuration>
41+
<sources>
42+
<source>src/main/java</source>
43+
<source>target/generated-sources</source>
44+
</sources>
45+
</configuration>
46+
</execution>
47+
</executions>
48+
</plugin>
49+
</plugins>
50+
51+
And then to generate builders, just run:
52+
```
53+
mvn generate-sources
54+
```
55+
56+
## Developer instructions
57+
58+
To make a release, first run:
59+
```
60+
mvn release:prepare -DperformRelease=true
61+
mvn release:perform
62+
```
63+
Then release the artifact from [staging](https://oss.sonatype.org/#stagingRepositories). More information [here](http://central.sonatype.org/pages/releasing-the-deployment.html).

build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
mvn clean install eclipse:eclipse
3+
cd git-changelog-maven-plugin-example
4+
mvn generate-sources
5+
cp CHANGELOG.md ..

eclipse_cleanup.xml

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<profiles version="2">
3+
<profile kind="CleanUpProfile" name="eclipse_cleanup" version="2">
4+
<setting id="cleanup.qualify_static_method_accesses_with_declaring_class" value="false"/>
5+
<setting id="cleanup.always_use_this_for_non_static_method_access" value="false"/>
6+
<setting id="cleanup.organize_imports" value="true"/>
7+
<setting id="cleanup.remove_trailing_whitespaces_ignore_empty" value="false"/>
8+
<setting id="cleanup.use_type_arguments" value="false"/>
9+
<setting id="cleanup.format_source_code_changes_only" value="false"/>
10+
<setting id="cleanup.qualify_static_field_accesses_with_declaring_class" value="false"/>
11+
<setting id="cleanup.add_generated_serial_version_id" value="false"/>
12+
<setting id="cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class" value="true"/>
13+
<setting id="cleanup.remove_redundant_type_arguments" value="true"/>
14+
<setting id="cleanup.remove_unused_imports" value="true"/>
15+
<setting id="cleanup.insert_inferred_type_arguments" value="false"/>
16+
<setting id="cleanup.make_private_fields_final" value="true"/>
17+
<setting id="cleanup.use_lambda" value="true"/>
18+
<setting id="cleanup.always_use_blocks" value="true"/>
19+
<setting id="cleanup.use_this_for_non_static_field_access_only_if_necessary" value="true"/>
20+
<setting id="cleanup.sort_members_all" value="true"/>
21+
<setting id="cleanup.remove_trailing_whitespaces_all" value="true"/>
22+
<setting id="cleanup.add_missing_annotations" value="true"/>
23+
<setting id="cleanup.always_use_this_for_non_static_field_access" value="false"/>
24+
<setting id="cleanup.make_parameters_final" value="true"/>
25+
<setting id="cleanup.sort_members" value="true"/>
26+
<setting id="cleanup.remove_private_constructors" value="true"/>
27+
<setting id="cleanup.always_use_parentheses_in_expressions" value="false"/>
28+
<setting id="cleanup.remove_unused_local_variables" value="true"/>
29+
<setting id="cleanup.convert_to_enhanced_for_loop" value="true"/>
30+
<setting id="cleanup.remove_unused_private_fields" value="true"/>
31+
<setting id="cleanup.never_use_blocks" value="false"/>
32+
<setting id="cleanup.add_missing_deprecated_annotations" value="true"/>
33+
<setting id="cleanup.use_this_for_non_static_field_access" value="false"/>
34+
<setting id="cleanup.remove_unnecessary_nls_tags" value="true"/>
35+
<setting id="cleanup.qualify_static_member_accesses_through_instances_with_declaring_class" value="true"/>
36+
<setting id="cleanup.add_missing_nls_tags" value="false"/>
37+
<setting id="cleanup.remove_unnecessary_casts" value="true"/>
38+
<setting id="cleanup.use_blocks_only_for_return_and_throw" value="false"/>
39+
<setting id="cleanup.format_source_code" value="true"/>
40+
<setting id="cleanup.convert_functional_interfaces" value="false"/>
41+
<setting id="cleanup.add_default_serial_version_id" value="true"/>
42+
<setting id="cleanup.remove_unused_private_methods" value="true"/>
43+
<setting id="cleanup.remove_trailing_whitespaces" value="true"/>
44+
<setting id="cleanup.make_type_abstract_if_missing_method" value="false"/>
45+
<setting id="cleanup.add_serial_version_id" value="false"/>
46+
<setting id="cleanup.use_this_for_non_static_method_access" value="false"/>
47+
<setting id="cleanup.use_this_for_non_static_method_access_only_if_necessary" value="true"/>
48+
<setting id="cleanup.use_anonymous_class_creation" value="false"/>
49+
<setting id="cleanup.add_missing_override_annotations_interface_methods" value="true"/>
50+
<setting id="cleanup.remove_unused_private_members" value="true"/>
51+
<setting id="cleanup.make_local_variable_final" value="true"/>
52+
<setting id="cleanup.add_missing_methods" value="false"/>
53+
<setting id="cleanup.never_use_parentheses_in_expressions" value="true"/>
54+
<setting id="cleanup.qualify_static_member_accesses_with_declaring_class" value="true"/>
55+
<setting id="cleanup.use_parentheses_in_expressions" value="false"/>
56+
<setting id="cleanup.add_missing_override_annotations" value="true"/>
57+
<setting id="cleanup.use_blocks" value="true"/>
58+
<setting id="cleanup.make_variable_declarations_final" value="true"/>
59+
<setting id="cleanup.correct_indentation" value="false"/>
60+
<setting id="cleanup.remove_unused_private_types" value="true"/>
61+
</profile>
62+
</profiles>

0 commit comments

Comments
 (0)