2008/4/25 Dan Tran <[EMAIL PROTECTED]>: > On Thu, Apr 24, 2008 at 10:32 PM, Mark Struberg <[EMAIL PROTECTED]> wrote: > > Hi Dan! > > > > I think i generally understand your problem, since i have a similar > scenario: 120MB of testdata + > > many ~30MB ears packaged for and needed by my Operations&Infrastructure > guys in the US. > > > > But, would you like to cope with all the different setup scenarios, like > archiva, maven-proxy, > > etc? Didn't you need to either extend wagon or check the settings.xml > cascade to lookup all needed > > things by yourself? > > I think i will need to cycle thru all repos, pull each metadata files > down and parse to find the artifact's url > this is what maven does when it tries to fetch the dependency down to > local repository. I am hope to find > a expo API that allow me to do this in a simple way, the worst case, i > may need to do some cut and paste > from maven core ( if i know where it is ) >
FYI, you could also look at this open-source project: http://wiki.ops4j.org/confluence/x/CoA6 which provides a simple URL handler for maven artifacts > > > For me, I simply gave the deeplink to our internal repo's ear directory > to my O&I guys, and they > > can download all the files they need via a html browser. > > But then again, they only can access my internal repo via a ssh tunnel > over a jumpbox, so any > > direct download (also via maven) would fail anyway. > > > > For me, it would be nice to configure a plugin which sends an email with > a simple http href > > pointing to the artifact to a list of given email adresses. If the mail > body is inside the plugin > > config, it would also be possible to fill the actual artifact name, > version, etc via a maven > > variable. > > > > just a few thoughts, hope this isn't too confusing ;) > > > > LieGrü, > > strub > > > > --- Dan Tran <[EMAIL PROTECTED]> schrieb: > > > > > > > > > Brian, the dependency plugin works, but there are a few issues that I > > > need to address for my client: > > > > > > 1. I am dealing with large artifacts ( order of 100M like installer > > > ), download this type of snappshot artifacts thru dependency > > > will consume large amount diskspace over time. But this can be > > > resolved via another plugin ( not yet develop ) to purge > > > the artifact location in local repo. > > > > > > 2. Even if issue in one can be resolved in another plugin, my user > > > will need to configure bunch of configurations in the pom > > > dependency, maven-dependency-plugin, purge plugin, and my > > > plugin. Now if can achieve what I need in initial email > > > then they only need to configure my plugin alone, which is much > nicer. > > > > > > any how, I you know away to get the direct URL please let me know > > > > > > Thanks for the inputs. > > > > > > -D > > > > > > On Thu, Apr 24, 2008 at 8:39 PM, Dan Tran <[EMAIL PROTECTED]> wrote: > > > > to use dependency plugin, user have to declare the artifact as > > > > dependency. for my case, I would like to > > > > allow user to pass them in as -D properties > > > > > > > > do you think we can overwrite the dependency value as properties? > any > > > > how let me try this method first. > > > > > > > > Thanks > > > > > > > > -D > > > > > > > > > > > > > > > > > > > > On Thu, Apr 24, 2008 at 8:29 PM, Brian E. Fox < > [EMAIL PROTECTED]> wrote: > > > > > How is that different than the dependency:copy where it takes all > those > > > > > things? > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Dan Tran [mailto:[EMAIL PROTECTED] > > > > > Sent: Thursday, April 24, 2008 11:20 PM > > > > > To: Maven Users List > > > > > Subject: API to figure out the exact URL of a deployed artifact? > > > > > > > > > > Hello, > > > > > > > > > > I would like to write a generic mojo to download a deployed > artifact > > > > > with given groupId, artifactId, and version as params. For > snapshot, > > > > > i like to get the latest one. > > > > > > > > > > I spent some times with deploy plugin hoping for a clue but not > > > > > finding any thing yet. > > > > > > > > > > Suggestions are greatly appreciated. > > > > > > > > > > Thanks > > > > > > > > > > -Dan > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > __________________________________________________________ > > Gesendet von Yahoo! Mail. > > Mehr Möglichkeiten, in Kontakt zu bleiben. > http://de.overview.mail.yahoo.com > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Cheers, Stuart
