Tag Results
10 posts tagged clojure
10 posts tagged clojure
This week on the podcast we talk with Ambrose Bonnaire Sergeant all about Typed Clojure, and adding a static type system to a dynamic language after the fact - including all the gory details.
Another minor release of the clojure-maven-plugin released to Maven Central fixing a small typo in the new nrepl goal, and also pulling in a long overlooked pull request for Marginalia multidoc generation which can be enabled by adding:
<configuration>
<marginalia>
<multi>true</multi>
</marginalia>
</configuration>
to your pom.xml.
Maven coordinates are:
<dependency>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>1.3.15</version>
</dependency>
Happy clojuring.
A minor release of the clojure-maven-plugin to coincide with the release of Clojure 1.5.
This release also brings along a new clojure:nrepl goal which takes 3 parameters:
4005 and settable via -Dclojure.nrepl.portlocalhost and settable via -Dclojure.nrepl.hostMaven coordinates are:
<dependency>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>1.3.14</version>
</dependency>
Happy clojuring.
It’s been awhile since I’ve posted anything on the state of HalBuilder and where the project is going, so now that I’d started heading towards a release I thought it was about time I updated the blog about it.
The first thing to note is the Github source repository has moved to a new HalBuilder Organisation and split up into a set of 6-7 separate maven artifacts/git repositories:
A reusable set of HAL representations in both XML and JSON format to use in tests. This artifact is bundled using the maven-remote-resources plugin for easy reuse in other projects.
Currently this is the only 2.0.1 series artifact that has been released.
<dependency>
<groupId>com.theoryinpractise</groupId>
<artifactId>halbuilder-test-resources</artifactId>
<version>2.0.1</version>
</dependency>
Next up is the HalBuilder API artefact, under the 1.x releases this used to be the contents of the com.theoryinpractise.halbuilder.spi package.
There are two fundamental changes in the 2.0.1 series of HalBuilder:
Optional<T> instances ( see the halbuilder-java module for this ).The core HalBuilder library - this is 1.x restructured, and without any outgoing Google Guava dependencies.
The halbuilder-java module provides a simple “extension” class (com.theoryinpractise.halbuilder.java.Representations) containing Guava based extensions to the HalBuilder library.
The new halbuilder-scala module contains implicit conversions providing idiomatic Scala extensions to the HalBuilder library. Similar to halbuilder-java only using Scala’s Option and closures.
The planned halbuilder-kotlin module provides idiomatic Kotlin extension methods to HalBuilder. The intent is to be a sister to module to halbuilder-scala only using Kotlin nullable types and closures.
The planned halbuilder-clojure module provides idiomatic Clojure functions wrapping HalBuilder. Much like halbuilder-kotlin and halbuilder-scala - the intent is to provide support for clojure functions/predicates/maps when working with HalBuilder.
So far I’m pretty happy with the shape of halbuilder-api, halbuilder-core, and halbuilder-java so I hope to start releasing these artifacts over the next week or two unless something crops up, or someone reports some heinous design flaw…
A small patch release of the clojure-maven-plugin has been pushed out to Maven Central:
<plugin> <groupId>com.theoryinpractise</groupId> <artifactId>clojure-maven-plugin</artifactId> <version>1.3.12</version> </plugin>
Everytime I tinker with Newspeak I keep thinking I’d love to have a variation of the Hopscotch IDE for clojure - providing an easy browser style interface to namespaces, function definitions, and a REPL.
Having the browser is what makes Smalltalk and Newspeak so much more powerful an environment IMHO.
A minor update to the clojure-maven-plugin including:
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>1.3.10</version>
<extensions>true</extensions>
</plugin>
</plugins>
A simple small release, but we like them.
Thank’s to some small, but super awesome pull requests from Cosmin Stejerean I just released version 1.3.9 of the clojure-maven-plugin which should be hitting Maven Central shortly:
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>1.3.9</version>
<extensions>true</extensions>
</plugin>
add-source and add-test-source which will include your clojure sources in the -sources.jar and -test-sources.jar respectively when doing releases. These goals have been added to the default clojure packaging lifecycle.clojure packaging lifecycle has been changed to report java as it’s language, allowing plugins such as javadoc and emma to run.iclojure as a dependency.It’s been a few months since I’ve managed to find time to do any work on the clojure-maven-plugin but since there’s a few bug fixes and updates sitting on the development branch it’s high time for a new release!
1.3.8 has been released to Maven Central with the following changes:
Thanks to Hugo Duncan and Paudi Moriarty for contributions to this rather belated release.
mvn clojure:nailgun -Dclojure.nailgun.server=com.martiansoftware.nailgun.NGServerclojure packaging