RE: Instantiate artifact

2005-11-02 Thread Brian E. Fox
Wednesday, November 02, 2005 3:41 PM To: Maven Developers List Subject: Re: Instantiate artifact I think you are only copying from the local repository though, so you can omit the remote repo and resolver. - Brett John Casey wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >

Re: Instantiate artifact

2005-11-02 Thread Brett Porter
yes, but you can use localRepository.pathOf( Artifact ) instead (which is all the artifact's file is assigned to later). - Brett John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 isn't artifact.getFile() null until something tries to resolve it, though? - -j Brett Porter wrote

Re: Instantiate artifact

2005-11-02 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 isn't artifact.getFile() null until something tries to resolve it, though? - -j Brett Porter wrote: | I think you are only copying from the local repository though, so you | can omit the remote repo and resolver. | | - Brett | | John Casey wrote: |

Re: Instantiate artifact

2005-11-02 Thread Brett Porter
I think you are only copying from the local repository though, so you can omit the remote repo and resolver. - Brett John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You'll need parameters like this: /** ~ * @component ~ */ private org.apache.maven.artifact.factory.ArtifactFac

Re: Instantiate artifact

2005-11-02 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You'll need parameters like this: /** ~ * @component ~ */ private org.apache.maven.artifact.factory.ArtifactFactory factory; /** ~ * @component ~ */ private org.apache.maven.artifact.resolver.ArtifactResolver resolver; /** ~ * @parameter expression