How can I configure maven to first check all the default repositories
and if a jar is not found THEN check our corporate repo (Archiva)?
I've added the following to settings.xml however It tries to connect to
this repo first, not last.
Foo
http://my.company.com:8080/archiva/repository/interna
> I am not able to get this plugin to work properly. The online documentation
> is terrible.
...
> org.codehaus.mojo
...
> Please help and update the online documentation. Thanks.
What exactly do you expect the Maven project to do about your problems
with a third-party (Codehaus
On Fri, Feb 25, 2011 at 10:30 AM, Asmann, Roland
wrote:
> I'm writing a plug-in and currently need a list of all available
> versions for a specific artifact. I've found this method:
The Codehaus mojo dev list might be a better place to find plugin
developers to ask...
And you might want to loo
I am not able to get this plugin to work properly. The online documentation is
terrible. When I run the plugin, I can get the results from the clean and
check goals. However, it seems as though the cobertura goal isn't even
running. Here is my xml:
Plugin section
...
org.c
Ludwig
This was very helpful, and I now have it all working, the Perl script is run by
the exec-maven-plugin; and I use maven-resources-plugin to copy the generated
PNG files, both are tied pre-site phase.
One gottcha is the exec-maven-plugin is not platform agnostic, so while I have
ActiveSta
I'm implementing a maven build on a medium-sized code base.
The production dependency tree looks something like the following:
n -> ... -> C -> B -> A
C->B
But there's a problem class PC in test "branch" of B, that "downstream"
tests (n -> ... -> C) depend upon. It's a dependency quagmire, with
With Maven 3, how do I configure the site plugin to have a module's
defined site reports added to the parent's defined site reports (and
parent doesn't have the child report defined) instead of replacing the
parent's report config? Is this expected to work/possible (I'm hoping
I don't have to dupe
Thanks. We do use Hudson, but a specific job wouldn't help enough
since we have many components and versions changing over time. I
really need a general solution, so I think I will just write a plugin.
It shouldn't be too hard (fingers crossed).
Phillip
On Thu, Feb 24, 2011 at 11:24 AM, Baptis
> All I need is to get a substring of artifactId and use it in another
> plugins's execution. Any idea on how to do this?
For what purpose...? You should probably just put the substring
directly into its own property, and use that in the various places
where you need it.
Wayne
-
Hello,
the client I currently work for has strange requirements when it comes to maven
version ranges.
Part 1:
Snapshots should not be included in Version Ranges, unless they are
specifically mentioned in the upper or lower bound e.g.
[0.5,1.0) should not match 0.6-SNAPSHOT
[0.6-SNAPSHOT,1.0)
Hi all,
I'm writing a plug-in and currently need a list of all available
versions for a specific artifact. I've found this method:
ArtifactMetadataSource.retrieveAvailableVersions
which I thought would do this. However, this method does not give the
list of available SNAPSHOTs.
In my plug-in
> Can I think that "pmd-jdk14" is to config the
> JDK's version? if yes, Unfortunately, there is no any info in the pmd report
No, this generally means the plugin is coded to work with JDK4 or
higher. This means it does not use any special features of JDK5 or 6
that would mean that someone using
check if this helps
http://maven.apache.org/archetype/maven-archetype-plugin/examples/create-with-property-file.html
Thanks,
Sumit Teke
Omniscient Software Pvt Ltd
T. +91-20-26680814, Ext. 217
F. +91-20-26680815, Ext. 212
M. +91-9975709032
E. sumit_t...@omniscient.co.in
On Friday 25 February
Thanks for your response.
Agreed, but how do we pass the custom parameter?
for eg. can i substitute ${myParam} with console command -DmyParam=test
while using archetype:create command. I had tried this but didn't work for
me. I came across with many post related with same problem but didn't find
On 25 February 2011 10:38, zoe slattery wrote:
> On 24/02/2011 18:49, Marcin Kuthan wrote:
>>
>> Hi
>>
>> If you need different version for API part it should be set up as
>> separate project.
>> In the API module you probably don't need inherit from myproject-parent.
>>
>> aggregate
>> \_myprojec
you can simply use ${artifactId}, ${groupId} etc in your xml's which
will be replaced at the time of generation.
Thanks,
Sumit Teke
Omniscient Software Pvt Ltd
T. +91-20-26680814, Ext. 217
F. +91-20-26680815, Ext. 212
M. +91-9975709032
E. sumit_t...@omniscient.co.in
On Friday 25 February 2011
I'm creating project using Maven Archtype. I'm adding few xml files to my
project using archetype. Now my requirement is to create dynamic content for
a config file (xml file) and create actual file at run time when i usages
archetype:create plugin. We thought of using velocity form template. Can
On 24/02/2011 18:49, Marcin Kuthan wrote:
Hi
If you need different version for API part it should be set up as
separate project.
In the API module you probably don't need inherit from myproject-parent.
aggregate
\_myproject-api
\_myproject-impl
\_myproject-subsystem1
\_myproject-subsy
Wayne,
Thanks for the response, diff is one solution but still to manual for my
liking. We are using WAR overlays as a sort of deployment description of our
application as we have lots of components that can be changed for each
deployment for different customers based around a core product. What I
Hi,
I need to have a maven property (say myArtifactId) which gives me a substring
of artifactId and then I need to use this maven property (myArtifactId) later
on in another plugin execution.
I tried using gmaven plugin and I was able to extract and print the substring
but I could not update th
20 matches
Mail list logo