Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarneim committed Oct 25, 2017
1 parent 2a36385 commit 68ab037
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ For older versions and a *change log* please see the [release history page].
PojoBuilder *binaries* are available for download at [Sonatype OSS Maven Repository] and [Maven Central].

If you don't use any build automation tool that supports maven repos,
you might want to download the [`pojobuilder-3.6.0-jar-with-dependencies.jar`] to get PojoBuilder complete with all dependent libraries included.
you might want to download the [`pojobuilder-4.0.0-jar-with-dependencies.jar`] to get PojoBuilder complete with all dependent libraries included.

How To Use
----------
Expand Down Expand Up @@ -343,7 +343,7 @@ The `javac` compiler will auto-detect the presence of PojoBuilder if `pojobuilde

For example:

javac -cp pojobuilder-3.6.0-jar-with-dependencies.jar Contact.java
javac -cp pojobuilder-4.0.0-jar-with-dependencies.jar Contact.java

will generate a `ContactBuilder` if `Contact` is annotated with `@GeneratePojoBuilder`.

Expand All @@ -356,7 +356,7 @@ Add the following to your project's `pom.xml` to configure the PojoBuilder annot
<dependency>
<groupId>net.karneim</groupId>
<artifactId>pojobuilder</artifactId>
<version>3.6.0</version>
<version>4.0.0</version>
<!-- 'provided' scope because this is only needed during compilation -->
<scope>provided</scope>
</dependency>
Expand All @@ -378,7 +378,7 @@ repositories {
}
dependencies {
compile 'net.karneim:pojobuilder:3.6.0'
compile 'net.karneim:pojobuilder:4.0.0'
}
```
Please note that this not only adds the PojoBuilder and its dependencies to your compile-time class path but also to your run-time class path.
Expand All @@ -396,7 +396,7 @@ configurations {
}
dependencies {
codeGeneration 'net.karneim:pojobuilder:3.6.0'
codeGeneration 'net.karneim:pojobuilder:4.0.0'
}
compileJava.classpath += configurations.codeGeneration
compileTestJava.classpath += configurations.codeGeneration
Expand Down Expand Up @@ -447,7 +447,7 @@ Do the following to enable PojoBuilder for your Eclipse project:
* Open your project's properties dialog
* Navigate to "Java Build Path" tree node
* Open the "Libraries" tab
* Add `pojobuilder-3.6.0-annotations.jar` to your project classpath
* Add `pojobuilder-4.0.0-annotations.jar` to your project classpath
* Navigate to "Java Compiler / Annotation Processing" tree node
* Check "Enable project specific settings"
* Check "Enable annotation processing"
Expand All @@ -456,7 +456,7 @@ Do the following to enable PojoBuilder for your Eclipse project:
* Navigate to "Java Compiler / Annotation Processing / Factory Path" tree node
* Check "Enable project specific settings"
* Click "Add JARs..."
* Add `pojobuiler-3.6.0-jar-with-dependencies.jar`
* Add `pojobuiler-4.0.0-jar-with-dependencies.jar`
* Click "OK"

How To Build
Expand All @@ -468,7 +468,7 @@ If you want to compile this project's sources yourself you can use Gradle (see [
[JavaWriter]: https://github.com/square/javawriter
[Sonatype OSS Maven Repository]: https://oss.sonatype.org/content/repositories/releases/net/karneim/pojobuilder
[Maven Central]: http://search.maven.org/#search|ga|1|a%3A%22pojobuilder%22
[`pojobuilder-3.6.0-jar-with-dependencies.jar`]: https://oss.sonatype.org/content/repositories/releases/net/karneim/pojobuilder/3.6.0/pojobuilder-3.6.0-jar-with-dependencies.jar
[`pojobuilder-4.0.0-jar-with-dependencies.jar`]: https://oss.sonatype.org/content/repositories/releases/net/karneim/pojobuilder/4.0.0/pojobuilder-4.0.0-jar-with-dependencies.jar
[javac documentation]: http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/javac.html#processing
[@ConstructorProperties]: http://docs.oracle.com/javase/6/docs/api/java/beans/ConstructorProperties.html

Expand Down

0 comments on commit 68ab037

Please sign in to comment.