Thanks again for the suggestion, Niclas. Using this technique, I was able to 
deploy the various Pivot JARs to my local repository and successfully build a 
test project that depends on them.

Now we just need to find out what the recommended practice for deploying to the 
central repository is...


On Dec 3, 2009, at 11:24 PM, Niclas Hedhman wrote:

> http://maven.apache.org/plugins/maven-deploy-plugin/
> 
> http://maven.apache.org/plugins/maven-install-plugin/
> 
> 
> 
> On Fri, Dec 4, 2009 at 12:20 PM, Greg Brown <[email protected]> wrote:
>> Thanks Niclas - I'll check that out.
>> 
>> On Dec 3, 2009, at 11:18 PM, Niclas Hedhman wrote:
>> 
>>> On Thu, Dec 3, 2009 at 6:05 PM, Sandro Martini <[email protected]> 
>>> wrote:
>>> 
>>>> Last year I have done some tests inside a fully-mavenized project, to
>>>> consume Pivot jars (manually deployed in my local repository), and
>>>> create a simple Pivot App, and all has worked. I have to find it in my
>>>> disks (maybe I have already sent to you, I don't remember) and
>>>> adapt/simplify it for Pivot 1.4 .
>>> 
>>> Maven also has support for "converting" existing jars into
>>> installed/deployed artifacts.
>>> 
>>> mvn install:install-file -DgroupId=... -DartifactId=...  -Dversion=...
>>> -Dpackaging=jar -Dfile=...
>>> 
>>> mvn deploy:deploy-file -DgroupId=... -DartifactId=...  -Dversion=...
>>> -Dpackaging=jar -Dfile=... -Durl=scp://somehost/somepath
>>> 
>>> 
>>> Often this is easy enough, and is the way I deployed
>>> http://repository.ops4j.org/maven2/org/apache/pivot/
>>> 
>>> 
>>> Cheers
>>> --
>>> Niclas Hedhman, Software Developer
>>> http://www.qi4j.org - New Energy for Java
>>> 
>>> I  live here; http://tinyurl.com/2qq9er
>>> I  work here; http://tinyurl.com/2ymelc
>>> I relax here; http://tinyurl.com/2cgsug
>> 
>> 
> 
> 
> 
> -- 
> Niclas Hedhman, Software Developer
> http://www.qi4j.org - New Energy for Java
> 
> I  live here; http://tinyurl.com/2qq9er
> I  work here; http://tinyurl.com/2ymelc
> I relax here; http://tinyurl.com/2cgsug

Reply via email to