Here is my final update,
I could not bind to the package phase as described in the documentation.
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html (I copied
the template, set the variables as needed and issued 'mvn package' but the
copy was not triggered)
Maybe someone could shed
I guess the repository is not an issue. I can't deploy the jars/wars/ears
with artifact-x.z.y-snapshot name formatting.
Since I will not use Maven's deployment mechanism I think I will resort to
the dependency plugin. It will in a sense mimic what happens now. Artifacts
are ftp-ed from M1 reposito
On Tue, Jun 22, 2010 at 12:00 PM, D D wrote:
> I'm converting projects from M1 to M2. Due to restrictions imposed from
> "above" - I'm not allowed to change anything - including names of artifacts.
> In M1 implementation the artifacts did not contain versions in their names.
>
> At this point I ha
I've not tried it, but I think Nexus has support for creating a M1
"virtual" repository that will "convert" a M2 to look like a M1
repository.
http://www.sonatype.com/books/nexus-book/reference/config-sect-manage-repo.html
On Tue, Jun 22, 2010 at 10:00 AM, D D wrote:
> I'm converting projects fr
I'm converting projects from M1 to M2. Due to restrictions imposed from
"above" - I'm not allowed to change anything - including names of artifacts.
In M1 implementation the artifacts did not contain versions in their names.
At this point I have over 100 artifacts that will be ftp-ed to an
applica
On Tue, Jun 22, 2010 at 10:54 AM, D D wrote:
> Is there an easy way to deploy an artifact such it doesn't include version
> in its name?
> For example: when moduleA is deployed through 'mvn deploy' I
> get moduleA-X.Y-SNAPSHOT.jar but what I need is moduleA.jar.
The Maven repo has a fixed structu
That will not affect the artifact's file name in the repo, just in the
target folder.
/Anders
Den 22 jun 2010 16.58, "Shan Syed" skrev:
do you need the artifact's file name to retain the groupId/version info? if
not, specify moduleA in the section of your
POM
On Tue, Jun 22, 2010 at 10:54 AM
do you need the artifact's file name to retain the groupId/version info? if
not, specify moduleA in the section of your
POM
On Tue, Jun 22, 2010 at 10:54 AM, D D wrote:
> Hello,
>
> Is there an easy way to deploy an artifact such it doesn't include version
> in its name?
>
> For example: when m
Hello,
Is there an easy way to deploy an artifact such it doesn't include version
in its name?
For example: when moduleA is deployed through 'mvn deploy' I
get moduleA-X.Y-SNAPSHOT.jar but what I need is moduleA.jar.
Thanks,
Dave