Re: [picocontainer-dev] Building?

Mauro Talevi <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Hi Rickard

Rickard Öberg wrote:
> Hey
> 
> I have, as always, a completely stupid question: how do I build Pico? I 
> tried getting it from Subversion and then use Maven 2 to build it, but 
> it immediately complains that:
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: POM 
> 'org.picocontainer:picocontainer-all' not found in repository: Unable to 
> download the artifact from any repository
>   org.picocontainer:picocontainer-all:pom:1.2-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> ---
> 
> What am I missing? Are there any docs on the site as to how to build 
> Pico and related projects? It used to be simple, but it appears to not 
> be so anymore, unless I've missed something completely.

I just committed the fix - my fault for not updating the child POMs to 1.3-SNAPSHOT
when I updated the parent POM version.

Just invoke

mvn install

and it will work.

Bear in mind that the official supported build system is still m1 and we are
in the progress of migrating to m2.  So you can still build with

maven pico:install

Cheers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.