Skip to content

Commit 8897b8d

Browse files
committed
Prepared release
1 parent 7a3d655 commit 8897b8d

File tree

3 files changed

+53
-1
lines changed

3 files changed

+53
-1
lines changed

README.adoc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,28 @@ All those classes and interfaces can be used with Java 5 and above. Although by
2626

2727
(Example will come later)
2828

29+
== Download
30+
31+
Functional Utils is available from http://search.maven.org/#search|gav|1|g%3A%22de.tototec%22%20AND%20a%3A%22de.tototec.utils.functional%22[Maven central repository].
32+
33+
Maven users can use the following dependency declaration:
34+
35+
[source,xml]
36+
----
37+
<dependency>
38+
<groupId>de.tototec</groupId>
39+
<artifactId>de.tototec.utils.functional</artifactId>
40+
<version>0.5.0</version>
41+
</dependency>
42+
43+
http://sbuild.org[SBuild] users can use the following dependency:
44+
45+
[source,scala]
46+
----
47+
"mvn:de.tototec:de.tototec.utils.functional:0.5.0"
48+
----
49+
50+
2951
== Use with Java 8 Lambdas
3052
3153
Writing functional code can be much more pleasant if Java 8 Lambda expressions can be used. The function and procedure interfaces all fulfil the requirements for functional interfaces and can be thus implicitly inferred when lambda expressions are used.
@@ -83,6 +105,7 @@ This can be achieved with the http://mojo.codehaus.org/animal-sniffer-maven-plug
83105
</plugin>
84106
----
85107
108+
86109
== Recomendation for Editing files with Eclipse
87110
88111
// TODO: include list

deploy-maven-central.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/sh
2+
3+
if [ ! -f mvn-settings.xml ]; then
4+
echo "Creating mvn-settings.xml"
5+
cat > mvn-settings.xml <<EOF
6+
<settings>
7+
<servers>
8+
<server>
9+
<id>ossrh</id>
10+
<username>your-username</username>
11+
<password>your-password</password>
12+
</server>
13+
</servers>
14+
</settings>
15+
EOF
16+
17+
fi
18+
19+
echo "Please edit mvn-settings.xml with propper connection details. Press Enter"
20+
read
21+
22+
#echo "Preparing Repository"
23+
#mvn -s mvn-settings.xml clean
24+
#mvn -s mvn-settings.xml package test source:jar javadoc:jar
25+
26+
echo "Signing and uploading. Press Enter"
27+
read
28+
29+
mvn -s ./mvn-settings.xml clean source:jar javadoc:jar package gpg:sign deploy:deploy -DaltDeploymentRepository=ossrh::default::https://oss.sonatype.org/service/local/staging/deploy/maven2/

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>de.tototec</groupId>
88
<artifactId>de.tototec.utils.functional</artifactId>
9-
<version>0.5.0-SNAPSHOT</version>
9+
<version>0.5.0</version>
1010
<packaging>bundle</packaging>
1111

1212
<name>Functional Utils</name>

0 commit comments

Comments
 (0)