OK - Thanks got my repositories into Archiva now
However, it does not seem to be indexing my
name-version-test-sources.jar artifacts...
I am getting the following in my logs :
218109 [pool-2-thread-1] ERROR
org.apache.maven.archiva.repository.scanner.RepositoryScanner:default -
Consumer
Hi all,
Is there a simple way to test whether Archiva can retrieve a certain
artifact from the central maven repository without going through all the
Maven client-side configuration?
I was thinking just to point my browser at the Archiva repository with
the URL of a non-existent
Hi Jon,
The sorting algorithm must rank numbers higher than letters, so that's
probably the reason for the order below. Could you please file a jira to
improve the sorting to the version/date order you've mentioned?
Thanks,
Deng
On Feb 5, 2008 4:20 PM, SlinnHawkins, Jon (ELS-CAM)
[EMAIL
Hi Dan,
it is very problematic, because declared plugins can declare their own
repositories. I don't know why, but that is just what we have, so
actually there is no way to ever control all request that maven will
make. For the default repos, have a look at conf/settings.xml in your
maven
Hi Jorg
Yeah just set up profiles for Java5 and java6 each specifying the unique
dependencies for the jdk.
Jon
-Original Message-
From: Joerg Hohwiller [mailto:[EMAIL PROTECTED]
Sent: 04 February 2008 21:13
To: Maven Users List
Subject: conditional dependencies
Hi there,
I am using
Hi
I have successfully imported my Proximity repository into Archiva,
When I browse the repository the versions listed for a specific artifact
don't seem to be in any order :
[top] / com / elsevier / elslon / common / components / HubLinking /
HubLinking
Versions
*
Hi Martin,
we use
menu ref=parent inherit=top/
menu ref=modules inherit=top/
with success. It renderes the link to the parent and links to the child
modules in the parent site. From 2.0-beta-6, even with more than one
level the parent links are rendered correctly.
Why do you use site
This seems like a bug - can you file this in JIRA?
Thanks,
Brett
On 05/02/2008, SlinnHawkins, Jon (ELS-CAM) [EMAIL PROTECTED] wrote:
OK - Thanks got my repositories into Archiva now
However, it does not seem to be indexing my
name-version-test-sources.jar artifacts...
I am getting the
Which rulesets are you using inside Eclipse? By default, the Maven PMD Plugin
only uses the rulesets basic.xml, unusedcode.xml and imports.xml.
Take a look here [1] and here [2].
Hth,
Nick Stolwijk
[1] http://maven.apache.org/plugins/maven-pmd-plugin/examples/usingRuleSets.html
[2]
Ritz schrieb:
Hi User Group,
I have a project with some submodules and generating the site of the whole
project through executing of the parents level.
I want to display the parent in the left navigation bar.
I found the only way is to do this is the element menu ref=parent
No one has any thoughts here?
On Jan 29, 2008 11:19 AM, deckrider [EMAIL PROTECTED] wrote:
Hello,
I'm also trying to setup continuum and archiva to work with ldaps. We
already do this with apache/subversion as follows in this small
example excerpt of our httpd.conf:
LDAPTrustedGlobalCert
Actually the best procedure is to put the version number in both places.
The manifest is not always the easiest to get end users to find for
you, and files could be renamed by an end user... but typically if you
ask them what version they have it's easier if the jar has the version
number in its
Ahhh, there I go reading the documentation and expecting it to be accurate!
The site docs make no mention that it's a valid packaging, so I was
thinking that it was a special one!
-Stephen
Note to self: The Maven2 docs are _never_ accurate until proven otherwise!
On Feb 4, 2008 9:13 PM,
Kallin Nagelberg wrote:
Oh, I thought when you said:
2. If I don't put that snippet on the first line of the file then it is
treated as text and not interpreted.
IMO that's the expected behavior (even though I don't see where it's
documented right now), as otherwise it would not be
Hi Doug,
To force Maven to use only your Archiva managed repository (if you don't
want to use the pre-configured 'internal' repository), you need to do the
ff:
1. Create a managed repository in Archiva
2. By default, the central and java.net repos are already pre-configured.
You can add another
Simon Kitching wrote:
Ritz schrieb:
Hi User Group,
Is there another way of creating a link in the childs site to the parent site?
Why is site:stage the only goal which works for me?
Are you sure it is the deploy that is the problem?
No, I was just wondering.
There is
hi, im trying to add loadtime weaving with jboss aop to my unit tests.
to achieve this i need to add the jvm option:
-javaagent:/path/to/jboss-aop.jar, and a option to specify where the
xml file that contains the pointcuts etc is.
the problem ive had is that the jboss-aop.jar depends on a few
-Zemian Deng
put an empty file in the directory:
resourcesrc/main/my-special-conf/readme.txt/resource
mit freundlichen Grüßen/best regards
Wolfgang Schrecker
Using a proven set of basic building blocks along with consistant language
brings some sanity to the development effort
from Eric Evans:
amit kumar wrote:
How can I avoid version number in the build name and put it in Manifest file.?
Which one is considered a better procedure?
Stripping version numbers causes all sorts of problems, and isn't
recommended at all. Maven uses the version numbers heavily to make sure
code can
Karl Heinz Marbaise [EMAIL PROTECTED] writes:
Hi there,
i have got a little problem (or misunderstanding) with Maven 2:
I have configured an entry for my issueManagement with an URL in the
POM. Ok...so far so good...
But i would like to have different URL's if i'm working on my
Hi all,
I am trying to set up a build for an Axis2-based WebService client.
The axis2-wsdl2code-maven-plugin works only for local WSDL files, so the
next thing I want to do is to configure Maven to download the remote
WSDL file before executing the wsdl2code goal.
Is there any Maven plugin I
Hi,
I have a strange pb with mvn site.
My component declare a parent which contains the list of reports plugin
to execute. But it fails trying to create test-javadoc.
This is very strange because if I juste execute mvn
javadoc:test-javadoc, it works.
If I desactive the cobertura plugin it also
Hello,
Do you know the release date of the maven-eclipse-plugin 2.5 ??
Thx
__
Olivier Lambert
Transversal Team Technique - JDSS
CH207 - Tel: 02-787 5264
Java Site - Java Forum
There are 10 types of people in the world:
those who understand binary, and
The best thing to do for this release to happen soon,
is to try the latest SNAPSHOT on your projects an repport any issue !
Nico.
2008/2/5, Siarhei Dudzin [EMAIL PROTECTED]:
IMHO, Arnaud is busy preparing it (which means soon)...
2008/2/5 [EMAIL PROTECTED]:
Hello,
Do you know the
IMHO, Arnaud is busy preparing it (which means soon)...
2008/2/5 [EMAIL PROTECTED]:
Hello,
Do you know the release date of the maven-eclipse-plugin 2.5 ??
Thx
__ [image: JDSS]
*Olivier Lambert* Transversal Team Technique - JDSS CH207 - Tel:
Hi,
It is supposed to deploy company artifacts to the LAN repository and use
them from other artifacts which depend on them. But I am facing this problem
with the parent tag inside the pom of the deployed artifact.
Say I have deployed *a.jar* ( whose pom has a parent tag, since it is a
sub-module
amit kumar wrote:
Say I have deployed *a.jar* ( whose pom has a parent tag, since it is a
sub-module of the whole project as such), and *b.jar* has *a.jar* in its
dependency.
Now when I run a maven goal I see the error in which it tells that maven was
not able to find the the parent pom ( it
Also see these threads:
http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-to15207954s177.html#a15211821
http://www.nabble.com/eclipse:eclipse-different-JDK's-to15086638s177.html#a15097832
hth,
- martin
--
Martin Höller | [EMAIL PROTECTED]
*x Software + Systeme
Thanks. We would be sticking to version numbers in the build names.
Regards,
Amit
On Feb 5, 2008 3:39 PM, Graham Leggett [EMAIL PROTECTED] wrote:
amit kumar wrote:
How can I avoid version number in the build name and put it in Manifest
file.?
Which one is considered a better procedure?
There is only one issue to finalize :
http://jira.codehaus.org/browse/MECLIPSE-344
Richard van Nieuwenhoven is working on it.
Probably in February but when it's to difficult to define ..
Arnaud
2008/2/5 nicolas de loof [EMAIL PROTECTED]:
The best thing to do for this release to happen soon,
But under the parent of a.jar there are other projects as well which are
owned by different developers. The scenario is like:
*Parent Project
a.jar*(developer1)* c.war*(developer2)* d.jar*(developer3)
All the three developers are responsible for deploying
Hi list,
i tryed to configure the scm settings in a maven 2 pom.xml using ssh to
access the remote svn repository.
But i could not find any example or documentation how to manage this.
Does anybody know if this is possible and if yes, how to set up this kind of
repository access, when a username
Two choices:
(1) Run mvn -N deploy in parent dir. This will deploy just the parent pom,
without recursing down into modules.
(2) Make the parent pom into its own project.
The directory structure would then be
rootdir
parentpom-module
a-module
b-module
c-module
In
I noticed something that may help you here. All profiles are active by
default, so no matter what you pass in -P they will be in effect and the
last one will win.
-arash
On Feb 5, 2008 1:59 AM, amit kumar [EMAIL PROTECTED] wrote:
Thank you so much Allen. Been a great help.
directory is not
Ulrich Metzger [EMAIL PROTECTED] schrieb:
Hi list,
i tryed to configure the scm settings in a maven 2 pom.xml using ssh to
access the remote svn repository.
But i could not find any example or documentation how to manage this.
Does anybody know if this is possible and if yes, how to set
Got it, thanks woftgang!
While I am on this topic, I have another question. How do I escape a $
{myown} variable in a resource file? In another word, I don't want
archetype to interpret any of my custom variable other than just the $
{groupId} and ${artifactId}. Can anyone help?
Thanks,
The maven dashboard plugin can use it to store historical test state. Just
google for maven dashboard plugin and ignore the things it finds about the
maven 1 dashboard (check in the URL). Or use this link:
http://mojo.codehaus.org/dashboard-maven-plugin/custom_config.html
In truth, you can use it
I doubt the security people will like that answer much (they want to be able to
prevent it from making requests to sites that aren't pre-approved), but thanks.
And I'll look into those plugins you mentioned.
~Dan Allen
-Original Message-
From: VUB Stefan Seidel [mailto:[EMAIL
Is there any pluing/easy way to fire up and use Derby with maven, for test
purposes?
--
You can not depend on your eyes when your imagination is out of focus.
the available configuration options for ldap are at the bottom of:
http://redback.codehaus.org/configuration.html
I can't say if ldaps will work out of the box, I only really worked with
apacheds and then an openldap setup for authn in testing..
eventually I am thinking we will expand on ldap
At this page
http://mojo.codehaus.org/dashboard-maven-plugin/standard_config.html there
is listed the standard dashboard configuration xml file.
Is this up to date? I notice nothing in there about FindBugs.
Where would one get a current one? (If that isn't it)
Thanks.
-- Lee Meador
Sent from
Hi Everyone,
I have seen this twice now so I thought I would throw this out and see if
anyone else had seen this problem. We have two projects that compile fine
with Maven 2.0.6 that does not with Maven 2.0.7 nor Maven 2.0.8. In both
cases it is a cannot find symbol error.
In the first
You can specify that your local m2 proxy (Archiva, Proximity etc)
install is a mirrorOf*/mirrorOf in settings.xml which will tell
Maven, for all repos, your local mirror is my local m2 proxy, so
please send all requests for all artifacts there.
Then you just need to make sure that all artifacts
Create a sample project jar that demonstrates the problem and attach
it to a new JIRA issue.
Wayne
On 2/5/08, David Williams [EMAIL PROTECTED] wrote:
Hi Everyone,
I have seen this twice now so I thought I would throw this out and see if
anyone else had seen this problem. We have two
Hi Maven Community:
I have added this dependency in my POM:
dependency
groupIdjavax.mail/groupId
artifactIdmail/artifactId
version1.4.1/version
/dependency
Which is retrieved from java.net using this POM definition:
repositories
repository
idjava.net/id
Doug Donohoe [EMAIL PROTECTED] schrieb:
Hi Maven Community:
I have added this dependency in my POM:
dependency
groupIdjavax.mail/groupId
artifactIdmail/artifactId
version1.4.1/version
/dependency
Which is retrieved from java.net using this POM definition:
Hi all,
I have a project so structured:
au au-business
|
|--- au-sistema
Dependencies in au are:
...
dependencyManagement
dependencies
dependency
groupIdcom.zucchetti.qweb.au/groupId
You could exclude activation all the time and then add the dependency back
in if not doing Java6.
-- Lee
On Feb 5, 2008 11:02 AM, Simon Kitching [EMAIL PROTECTED] wrote:
Simon Kitching [EMAIL PROTECTED] schrieb:
Doug Donohoe [EMAIL PROTECTED] schrieb:
Hi Maven Community:
I
Simon Kitching [EMAIL PROTECTED] schrieb:
Doug Donohoe [EMAIL PROTECTED] schrieb:
Hi Maven Community:
I have added this dependency in my POM:
dependency
groupIdjavax.mail/groupId
artifactIdmail/artifactId
version1.4.1/version
/dependency
Which is
I found the problem. In another plugin I add a test compiler source root
(project.addTestCompileSourceRoot ), but I put a relative path.
Then the javadoc plugin fails to get the packages from it
(AbstractJavadocMojo.getPackageNamesOrFilesWithUnnamedPackages).
I think this is a bug in the
Let me add some more:
1- I cannot use any scp, so need a solution that uses file:/; hence, I am
trying to use deploy-file.
2- Is there a separate command that updates the metadata info that is
wrapped when doing deploy or deploy:deploy?
3- I would like to avoid having to build from source
Actually, I would like to use deploy:deploy-file but since it doesn't update
the metadata, I would like to force it to update the metadata somehow -
similar to how deploy or deploy:deploy works.
Is there a way to deploy plugins without having to compile them from source?
Wendy Smoak-3 wrote:
Thanks for the suggestion. That led me down the right path. It looks like the
'system' scope is more appropriate because in this case, the classes are part
of the rt.jar. I used the following profile:
profiles
profile
idJava 1.6/id
activation
jdk1.6/jdk
Hello,
I want to have the users who add builds to continuum to enter their
SCM Username/Password. However this isn't working during the commits
needed to run the following targets:
release:prepare release:perform
We are using subversion, but when it comes time to commit it says
invalid
Nooo!
don't go abusing the system path for that
Go with the exclude by default and add back in if jvm is 6
On Feb 5, 2008 7:49 PM, J Douglas Donohoe [EMAIL PROTECTED] wrote:
Thanks for the suggestion. That led me down the right path. It looks like
the 'system' scope is more
On Feb 5, 2008 11:54 AM, nadias [EMAIL PROTECTED] wrote:
Actually, I would like to use deploy:deploy-file but since it doesn't update
the metadata, I would like to force it to update the metadata somehow -
similar to how deploy or deploy:deploy works.
This is circular. It's a bug. If you
You can use dependency analyzer -
http://sourceforge.net/projects/dep-analyzer
Dror
On Feb 4, 2008 11:03 PM, Arash Bizhan zadeh [EMAIL PROTECTED] wrote:
I am getting some strange unrelated jar files inside my war package. Could
somebody tell me how can I debug the transitive resolution
I'll ask the dumb question..how do you do test the JVM version with maven?
?
M-
- Original Message -
From: Stephen Connolly [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Tuesday, February 05, 2008 3:30 PM
Subject: Re: javax.mail and javax.activation in Java 6
profile activation based on jvm... i'll do a quick GIYF
On Feb 5, 2008 8:53 PM, Martin Gainty [EMAIL PROTECTED] wrote:
I'll ask the dumb question..how do you do test the JVM version with maven?
?
M-
- Original Message -
From: Stephen Connolly [EMAIL PROTECTED]
To: Maven Users List
And you know what, Google _Is_ Your Friend:
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
The follwing configuration will trigger the profile when the JDK's version
starts with 1.4 (eg. 1.4.0_08, 1.4.2_07, 1.4):
profiles
profile
activation
jdk1.4/jdk
Hi,
It's just a lack in the doc.
as you can see in the default configuration file :
https://svn.codehaus.org/mojo/trunk/sandbox/dashboard-maven-plugin/src/main/resources/config/default-dashboard-config.xml
the dashboard supports the Findbugs plugin
Best regards
David Vicente
Lee Meador-3
any way to do
jdk Less than 6
Thanks/
Martin--
- Original Message -
From: Stephen Connolly [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Tuesday, February 05, 2008 4:12 PM
Subject: Re: javax.mail and javax.activation in Java 6
And you know what, Google _Is_ Your
the only possible suggestion is to set JAVA_VERSION environment variable to
whatever_it_is..(probably implement this in .profile for login..?)
and then test it thru a Character Data script i.e.
profiles
profile
activation
jdk
![CDATA[
${env.JAVA_VERSION} 6]]
/jdk
Adrian Herscu [EMAIL PROTECTED] writes:
Hi all,
I am trying to set up a build for an Axis2-based WebService client.
The axis2-wsdl2code-maven-plugin works only for local WSDL files, so
the next thing I want to do is to configure Maven to download the
remote WSDL file before executing the
The ClearCase SCM provider accepts a clearcaseType of either UCM or LT. How
do I configure it for both ClearCase LT and UCM?
--
View this message in context:
http://www.nabble.com/Configure-SCM-for-both-ClearCase-LT-and-UCM--tp15299898s177p15299898.html
Sent from the Maven - Users mailing list
Funny how things in the universe sometimes occur at the exact same time...
Yesterday I completely rewrote the example about using custom checks for
the Checkstyle plugin. It is now a complete example with all code
necessary. It's not published yet, but you can (sort of) read it
directly from
Hi all,
I've been using the war plugin to package up a web app. However, to save
time, it would be great if the result had a consistent name so that we
could copy it directly into the Tomcat/webapps directory and have it
startup with the proper context path.
In the call to the war plugin, I
Look, maven only works on JDK 1.3 or higher...
you have three profiles
dependencies
dependency
groupIdjavax.mail/groupId
artifactIdmail/artifactId
version1.4.1/version
excludes
... (see documentation) ...
/excludes
dependency
dependencies
profiles
Alternatively, you can use the new dependency:tree goal with the 2.0 version of
the dependency plugin.
mvn org.apache.maven.plugins:maven-dependency-plugin:2.0:tree
It seems to be the simplest and most available option.
(Thanks, Brian!)
Barrett Nuzum
Sr. Consultant
[EMAIL PROTECTED]
Mobile:
Not sure why your Ant script isn't working. Are you sure it works if
you execute it in Ant? I'm not sure when exploded is bound -- check -X
to make sure your Ant happens after exploded etc.
You could also patch the war plugin to support an additional parameter
(or just use warName) when
Hi,
I have the following project structure:
P1 (packaging=pom, w/ modules: P1 and P2)
--- P11 (parent=P1, jar)
--- P12 (parent=P1, jar)
Now I would like to configure the pom.xml for P1 to declare the
maven-war-plugin (please see the pom.xml below) under the webapp profile so
that we
looking for scenarios which will work for all jvm versions (and not forcing
the implementor to individually handle jvm specific scenarios)
ANT certainly has greater capability (at least with this scenario)
but still looking forward to a maven based solution
Thanks
Martin
- Original Message
Well the problem I see is that of dependencies being added to the jvm.
Fundamentally javax.activation should be scope provided... as it's
up to the consumer of your api to ensure it is available.
The api that is dragging in javax.activation has it as scope
compile... which is why it is ending up
I'm looking for a work around since the CR opened for this bug indicates that
there may be a workaround (it's priority has been marked minor).
What did the Maven community use before Maven 2.0.5 to achieve this? Did
you have to build from source if you wanted a plugin at a remote site?
Hello,
I have a project which generates a -tests.jar and the corresponding
-test-sources.jar. I put a dependency to it into a projects pom.xml with
classifier tests. The problem is, that eclipse:eclipse goal, of the
maven-eclipse-plugin (version 2.4) does not generate the sourcecode
reference
75 matches
Mail list logo