RE: A question about artifact resolution

2008-06-23 Thread Brian E. Fox
olver; > > > > someMethod() { > > Artifact panelArtifact = > > artifactFactory.createArtifactWithClassifier(groupId, artifactId, > > version, "jar", ""); > > try > > { > >resolver.resolve(panelArt

Re: A question about artifact resolution

2008-06-23 Thread Eric Rose
ifactFactory.createArtifactWithClassifier(groupId, artifactId, > > version, > > "jar", ""); > > try > > { > >resolver.resolve(panelArtifact, remoteRepositories, > > localRepository); > > > > Do I need to create a vari

Re: A question about artifact resolution

2008-06-22 Thread Eric Rose
>> .DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74) > >>> at > >>> com > >>> .izforge > >>> .izpack.maven.plugins.IzPackMojo.copyCustomPanels(IzPackMojo.java: > >>> 174) > >>> > >>> The cod

Re: A question about artifact resolution

2008-06-22 Thread Dan Tran
pet that I wrote is as follows: >>> > /** @component */ >>> > private org.apache.maven.artifact.factory.ArtifactFactory >>> > artifactFactory; >>> > >>&

Re: A question about artifact resolution

2008-06-22 Thread Dan Tran
*/ >> > private org.apache.maven.artifact.factory.ArtifactFactory >> > artifactFactory; >> > >> > /** @component */ >> > private org.apache.maven.artifact.resolver.ArtifactResolver >> > resolver; >> > >> > someMethod() { &g

Re: A question about artifact resolution

2008-06-22 Thread Jason van Zyl
my plugin to store a component similar to the the ArtifactFactory and ArtifactResolver mentioned in the cookbook? Is there a better set of documentation that explains how to accomplish such tasks? Eric -- View this message in context: http://www.nabble.com/A-question-about-artifact-r

Re: A question about artifact resolution

2008-06-22 Thread Eric Rose
> > version, > > "jar", ""); > > try > > { > >resolver.resolve(panelArtifact, remoteRepositories, > > localRepository); > > > > Do I need to create a variable in my plugin to store

Re: A question about artifact resolution

2008-06-21 Thread Jason van Zyl
ins how to accomplish such tasks? Eric -- View this message in context: http://www.nabble.com/A-question-about-artifact-resolution-tp18040514p18040514.html Sent from the Maven - Users mailing list archive at Nabble.com. - To un

A question about artifact resolution

2008-06-20 Thread ericr
a better set of documentation that explains how to accomplish such tasks? Eric -- View this message in context: http://www.nabble.com/A-question-about-artifact-resolution-tp18040514p18040514.html Sent from the Maven - Users mailing list archive at Nabble.com. -