Hey guys,
we have brain-stormed over the idea of distribution of binaries in Maven and come up with following prototypes:
The [1] is for packaging and installing platform-specific phatomjs binary as JAR to maven repository.
Second project [2] leverages this binary distribution and wraps/enhances capabilities of PhantomJSDriver:
- it uses either executable binary which is on PATH
- or it fallbacks to using the binary packaged in JAR [1]
- in this case the binary is extracted and made executable
- it also checks if binary is already in place and if it's right version
Why all that?
We assume that people will likely want to run tests on cloud services supporting Maven,
but we can't make any assumptions about target environment other than having Java and Maven available.
We need then distribute all build dependencies through standard path.
This will made the PhantomJSDriver-based build completely reproducible and setup free.
@Ariya, Ivan, can we go ahead and release those into repository?
Do you have any ideas what to improve?
Can we go ahead and release those under the "phantomjs" artifactId/groupId?
So far we have chosen org.jboss.arquillian.phantomjs namespace, but that's the topic for discussion.
Btw. thanks to Jan Papousek for all the prototyping work!
Dne sobota, 29. prosince 2012 12:16:05 UTC+1 Sridhar G napsal(a):