Since you are not getting any responses, let me ask some questions to get some more details on the table.

1) Where is the definitive single source of dependency info that you use to create the GAV ids for Nexus? How can a single pom reference 2 versions of an artifact?

2) Are you aware of the API for Nexus? Can you use this to get the artifacts once you have the list of artifacts?

Perhaps these answers will stimulate some ideas.
Ron

On 25/11/2014 10:55 AM, alejandro.e...@grassvalley.com wrote:
Hello everyone,

I wanted to ask what you guys though about using maven as an integration
tool. Is it out of the scope of maven? is anyone else doing this? What I
mean by integration is that the artifacts are built (also by maven but in
other jobs) and deployed to nexus, but I still need to download them all
to a server for deployment.
The build of this server invokes maven and I hooked to it via a pom that
points to some artifacts that serve as an entry point to the dependency
graph and then use the dependency:copy-dependencies goal. The point of
this was to leverage the dependency information available in poms so I
didn't have to keep a list of ALL the artifacts needed (osgi bundles BTW),
just of an entry point for maven to crawl the graph and pull everything.
The problem I'm encountering that tells me maybe Maven is not meant for
this is that I need to pull two artifacts where only the version is
different (since in OSGi both can coexist just fine) but maven chooses
only one and the other one doesn't get integrated. So, are there ways to
force maven to not drop the second version when resolving its model or am
I just stretching what maven can do? if so, are there any other tools that
leverage pom information to download artifacts from a maven repo? i don't
want to have to maintain that dependency information in two different
places

Thank you,

Alejandro Endo | Software Designer/Concepteur de logiciels

DISCLAIMER:
Privileged and/or Confidential information may be contained in this
message. If you are not the addressee of this message, you may not
copy, use or deliver this message to anyone. In such event, you
should destroy the message and kindly notify the sender by reply
e-mail. It is understood that opinions or conclusions that do not
relate to the official business of the company are neither given
nor endorsed by the company.
Thank You.



--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to