Re: M2 Junit4.1: Problems using the 2.3 Snapshot of maven-surefire-plugin

2007-01-10 Thread Tom Huybrechts
Can you run with -X to see if the junit4 provider is being used ? Tom On 1/10/07, Lageson,Thomas M [EMAIL PROTECTED] wrote: I have noticed a couple of things in my testing of the 2.3 Snapshot of the maven-surefire-plugin when going against JUnit 4.1 with Maven2. 1)It does

Re: jar signing - the good and the bad

2007-01-10 Thread Tom Huybrechts
. Tom On 1/10/07, Christian Goetze [EMAIL PROTECTED] wrote: diroussel wrote: The question is, why is surefire not using the un-signed jar. I have two jars: target\MyJar.jar target\signed\MyJar.jar so why is surefire choosing the second one, not the normal one in the normal place. Any ideas

Re: M2 Junit4.1: Problems using the 2.3 Snapshot of maven-surefire-plugin

2007-01-10 Thread Tom Huybrechts
You're using surefire-plugin 2.2, not 2.3-SNAPSHOT. Try specifying this version explicitly, or run with -U. Did you add the apache snapshot repository ? tom On 1/10/07, Lageson,Thomas M [EMAIL PROTECTED] wrote: Here is the output you requested. Let me know if you need more information

Re: jar signing - the good and the bad

2007-01-10 Thread Tom Huybrechts
Now you're instructing the normal jar:jar to also build the jar with a classifier. Move the configuration inside the execution so that it will only effect the jar:sign. Tom On 1/10/07, diroussel [EMAIL PROTECTED] wrote: Ah, ok that makes sense. *goes off the look at classifiers* I've now

Re: junit4 support added

2007-01-09 Thread Tom Huybrechts
: org.apache.maven.surefire ArtifactId: surefire Version: 2.1-20070108.094711-11 Reason: Unable to locate resource in repository because there is no Jar-file inside. Tom Huybrechts wrote: It is. But you are pointing to the surefire directory inside that repository. You need to use http

Re: [m2] JUnit test setUp() and tearDown() not called

2007-01-09 Thread Tom Huybrechts
see the recent thread 'junit4 support added' ... On 1/9/07, Andrew Birchall [EMAIL PROTECTED] wrote: Sorry its me being dumb and not looking far enough into it. Eclipse was using JUnit 4, which Maven doesn't support yet. Simple as that really. Sorry Andy On 09/01/07, berndq [EMAIL PROTECTED]

Re: Obtaining a plugin's dependencies

2007-01-08 Thread Tom Huybrechts
/** * @parameter expression=${plugin.artifacts} * @required * @readonly */ private List pluginArtifacts; On 1/8/07, Niels Gylling [EMAIL PROTECTED] wrote: Java plugin question: When writing a Java plugin, how do I obtain the currently

Re: junit4 support added

2007-01-08 Thread Tom Huybrechts
The snapshots have been deployed (maven-surefire-plugin version 2.3-SNAPSHOT). Read http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html for information on how to use them. On 1/8/07, berndq [EMAIL PROTECTED] wrote: David J. M. Karlsen wrote: ... Buildig a

Re: [m2] JUnit test setUp() and tearDown() not called

2007-01-08 Thread Tom Huybrechts
please post your pom and test code. On 1/8/07, Andrew Birchall [EMAIL PROTECTED] wrote: Hello, When I run my JUnut test suit from Maven using mvn test some tests fail because setUp() and tearDown() are never called. Surley these should be called automatically when the test is run? The tests

Re: junit4 support added

2007-01-08 Thread Tom Huybrechts
://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/ Tom Huybrechts wrote: The snapshots have been deployed (maven-surefire-plugin version 2.3-SNAPSHOT). Read http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html for information on how to use them. On 1/8

junit4 support added

2007-01-07 Thread Tom Huybrechts
Hi all, There have been patches for junit4 support available in JIRA for a long time. I've ported them to the latest surefire trunk and Jason applied them. Give them a try. You will need to build surefire yourself until somebody deploys a snapshot. Tom

Re: Resolving repository locations

2007-01-04 Thread Tom Huybrechts
${localRepository} ${remoteArtifactRepositories} On 1/4/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Hi. I would like to reference the local maven repository and the remote maven repository by using ${variable}'s in a pom.xml. What are the variables which I need to use?

NPE in PluginXDocGenerator while creating plugin site

2007-01-03 Thread Tom Huybrechts
Hi folks, I'm getting aNPE when generating a site for a plugin. It looks like the java mojos get processed OK, but when it looks for bsh mojos (which I don't have) the NPE is thrown. Running 2.0.4 with the latest releases of all plugins Any tips ? [INFO] [site:site] [WARNING] No URL defined

Re: Question about artifact resolution

2007-01-03 Thread Tom Huybrechts
maybe MavenMetadataSource.retrieveAvailableVersions() or ArtifactCollector.collect can help you On 1/3/07, Matthew Beermann [EMAIL PROTECTED] wrote: So, I'm writing a mojo where (for various strange reasons) I need to construct and resolve Artifacts manually, during mojo execution. My first

Re: Configure java compiler fork

2007-01-02 Thread Tom Huybrechts
http://www.google.com/search?q=maven2+compiler+forkie=utf-8oe=utf-8rls=org.mozilla:en-US:officialclient=firefox-a On 1/2/07, Rahamim, Zvi (Zvi) [EMAIL PROTECTED] wrote: Hi, Is there a way to set (in the java compiler plugin) the fork value to true not through the pom.xml but using property?

Re: Configure java compiler fork

2007-01-02 Thread Tom Huybrechts
for fork, you're out of luck. You could try to fake it, by configuring the compiler plugin in your project with fork${fork}/fork You can also set a propertiesforktrue/fork/properties as a default in your pom. Then you can specify -Dfork=true|false from the commandline. Tom On 1/2/07, Rahamim, Zvi (Zvi

Re: ArtifactResolutionException

2007-01-01 Thread Tom Huybrechts
On 1/1/07, Ole Ersoy [EMAIL PROTECTED] wrote: Hmmm... Getting warmer: It's trying to look at the remote repositories, but failing, since I don't pass a list of remote repositories: for ( Iterator i = remoteRepositories.iterator(); i.hasNext(); ) I would think that it should check whether

Re: Failing to find system resouces in unit test in surefire

2006-12-25 Thread Tom Huybrechts
will create an isolated classloader that contains your test code and its dependencies and run your tests from that classloader. If you expect your code to work in anything but a basic Java application, do not depend on the system classloader. And unfortunately, surefire is not a basic app. tom

Re: Merging projects

2006-12-25 Thread Tom Huybrechts
For things like this, I usually created another subproject that depends on all others. On 12/26/06, Henri Tremblay [EMAIL PROTECTED] wrote: Hi, I'm trying to do something silly but I can't figure out how to do it easily. I have about 6 projects. They all extends a parent project in the base

Re: Is it possible to deploy a jar without rebuilding

2006-12-24 Thread Tom Huybrechts
http://mojo.codehaus.org/repositorytools-maven-plugin/plugin-info.html this is still work-in-progress, and not all functionality will work with Maven 2.0.4. tom On 12/24/06, Laura Hinojosa [EMAIL PROTECTED] wrote: Thank you! Do you know what tools? Laura

Re: Is it possible to deploy a jar without rebuilding

2006-12-23 Thread Tom Huybrechts
Renaming the jar does not work, since the associated POM also has embedded version information. An alternative is to move to 1.0.1 first, and deploy it to a staging repository, test it, and then copy it over (there are tools that can do this). Tom On 12/23/06, Laura Hinojosa [EMAIL PROTECTED

Re: AspectJ plugin and java 1.3 target JRE

2006-12-22 Thread Tom Huybrechts
You can always try to fix it yourself... Take a look at https://svn.codehaus.org/mojo/trunk/mojo/aspectj-maven-plugin/src/main/java/org/codehaus/mojo/aspectj/AbstractAjcCompiler.java It doesn't look like it would be that hard to add a new parameter and pass it to the compiler. tom On 12/22

Re: Can profiles override plugin dependencies?

2006-12-22 Thread Tom Huybrechts
Have you tried putting both configurations in a profile ? On 12/22/06, James Kebinger [EMAIL PROTECTED] wrote: I have a project with a plugin that depends on tools.jar. That jar doesn't exist on the mac, so I'm trying to use profiles to change that dependency when running on OSX. I think the

Re: Create an artifact from a mojo

2006-12-15 Thread Tom Huybrechts
Take a look at http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook for installing/deploying plugins. For the packaging itself you can look for inspiration to the maven-jar-plugin source. On 12/15/06, gbois [EMAIL PROTECTED] wrote: Hi, From a mojo, I want to create an artifact

Re: maven-proxy: how to exclude source artifacts from beeing resolved from a public repo

2006-12-12 Thread Tom Huybrechts
The latest version (in svn) of eclipse:eclipse maintains a status cache for source downloads. See the download-soruces parameter in http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html On 12/12/06, Mark Struberg [EMAIL PROTECTED] wrote: Hi! Our situation: We are using maven

Re: Maven 2 and Cruisecontrol

2006-12-12 Thread Tom Huybrechts
There used to be a M1 plugin that could generate cruisecontrol configuration for a project. http://maven.apache.org/maven-1.x/plugins/cruisecontrol/ There is a M2 cruisecontrol plugin for in the mojo-sandbox, but I don't now what its status is. See http://mojo.codehaus.org On 12/12/06, Siegmann

Unrecognised tag: 'unpackOptions' with maven-assembly-plugin

2006-12-07 Thread McGee, Tom
I'm using version 2.1 of maven-assembly-plugin. The documentaion on the assembly saids I can have unpackOptions tag in the dependencySet but I get an Unrecognised tag: 'unpackOptions' error. Here's the stack trace: org.apache.maven.lifecycle.LifecycleExecutionException: Error reading descriptor

Re: Properties in profiles

2006-12-06 Thread Tom Huybrechts
Try creating two profiles, and set one to activeByDefaulttrue/activeByDefault. Don't set any properties in the main section of the pom. On 12/5/06, Laura Hinojosa [EMAIL PROTECTED] wrote: Hi all! I'm trying to create a pom for my project that has two different deployment environments, which

Re: DefaultArtifactRepository subversion location?

2006-12-05 Thread Tom Huybrechts
http://www.google.com/codesearch?hl=enlr=q=DefaultArtifactRepository.javabtnG=Search On 12/6/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, Does anyone have a link to the Subversion DefaultArtifactRepository.java? I looked all over in the various maven-artifact directories... If I could find it,

Re: [M2] Just need the open source eyes on this

2006-12-04 Thread Tom Huybrechts
for a plugin goal (like eclipse:eclipse), then the resolver can map this on artifactIds using group metadata for the registered plugin groups. e.g. http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml Tom On 12/4/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 12/4/06, [EMAIL

Re: How to create multiple jar files from one project?

2006-12-03 Thread Tom Huybrechts
a concrete implementation of itself through reflection (based on a default implementation, a system property, configuration, ...) Or use some kind of container that does these things for you (plexus, spring, ...) Tom On 12/3/06, Peter Palmreuther [EMAIL PROTECTED] wrote: Hello, I'm new to Maven

Re: Maven2 Hibernate.

2006-12-01 Thread Tom Huybrechts
Create a src/main/resources directory and put all resources that you want in your jar into that directory (with the right package structure). No need to configure anything. Tom On 12/1/06, Robert Langridge [EMAIL PROTECTED] wrote: Hi, I'm fairly new to maven and I have the task of creating

Re: Maven2 Hibernate

2006-12-01 Thread Tom Huybrechts
Add the entire src/main/java as a resource, and add an excludes for **/*.java On 12/1/06, Robert Langridge [EMAIL PROTECTED] wrote: Hi, Thanks for the suggestions guys. Unfortunately I cannot change the file structure of the project as it's all under clear case. I have added multiple

Re: Passing JVM options

2006-12-01 Thread Tom Huybrechts
Does jetty:run use the same VM ? Then you can do: set MAVEN_OPTS=-X On 12/1/06, Dan Adams [EMAIL PROTECTED] wrote: I'm trying to run jetty:run but I need to pass in arguments to the JVM (-XrunpiAgent:server=enabled to run the eclipse TPTP profiler) but doing 'mvn -XrunpiAgent:server=enabled

Re: Question about transitive dependencies

2006-12-01 Thread Tom Huybrechts
that declares the dependency, you will need to use the exclusion mechanism. More information can be found in: * http://maven.apache.org/pom.html * http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html Tom On 12/1/06, Heck, Joe [EMAIL PROTECTED] wrote: I couldn't

Re: dependencies on eclipse 3.2 plugins

2006-12-01 Thread Tom Huybrechts
There is a Maven repository with the Eclipse bundles at http://repo1.maven.org/eclipse/ I don't expect this to be around forever, but I guess it will eventually be integrated in the central repository. On 12/2/06, Bhupendra Bhardwaj [EMAIL PROTECTED] wrote: Hi, I have developed an eclipse RCP

Re: MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Tom Huybrechts
-Dmaven.repo.local=... On 11/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All Is there a property to define the location of the Maven local repository? Reading the notes from the installation configuration ``settings.xml'' in the ``MAVEN_INSTALL_DIR/conf''. There are two system

Re: MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Tom Huybrechts
\maven-clean-plugin On 11/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] ==== -Dmaven.repo.local=... On 11/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Unfortunately, in Maven 2.0.4 this system property

Re: Repackaging a snapshot dependency

2006-11-28 Thread Tom Huybrechts
I don't think the contents of the file is very important (no need to repackage it), but you should take a local copy, change the version number in the POM, and use deploy:deploy-file to upload pom and artifact so the metadata files in the repository are updated properly. On 11/28/06, Wayne Fay

Re: multiple artefacts for a project?

2006-11-27 Thread Tom Huybrechts
See attach-artifact in the build-helper-maven plugin: http://mojo.codehaus.org/build-helper-maven-plugin/howto.html tom On 11/27/06, Nathan Coast [EMAIL PROTECTED] wrote: Hi, Is having multiple artefacts for a single project not allowed within Maven 2? I have a number of projects which

Re: Maven and Sourceforge

2006-11-27 Thread Tom Huybrechts
for plain files, but for directories this means that you can go into them. Tom On 11/28/06, Wim Deblauwe [EMAIL PROTECTED] wrote: Ok, thanks for the input. Can you elaborate some on what 775 means, I can put that on the wiki then. regards, Wim 2006/11/27, Wendy Smoak [EMAIL PROTECTED]: On 11

Re: Parent Directory

2006-11-24 Thread Tom Huybrechts
This is a frequent question, and the answer is no: there's no (Maven) way to refer to a parent or root directory from within a module. On 11/24/06, Deluigi Marcus [EMAIL PROTECTED] wrote: Hello. Is there a Maven property that points to the projects root directory? It may be not elegant to let

Re: Beanshell plugin

2006-11-23 Thread Tom Huybrechts
if you go loook at that repository - the plugin directory has a space in its name (at the end) - there are no metadata files I can't imagine maven supports spaces in groupIds, so your best bet is to download and install it manually On 11/23/06, Marco Mistroni [EMAIL PROTECTED] wrote: hi all,

Re: Loading a POM from the Respository

2006-11-21 Thread Tom Huybrechts
Read 'specifying a new packaging' in the 'Introduction to the lifecycle' http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Don't forget to set extensionstrueextensions on the plugin defining your new lifecycle. Tom On 11/21/06, Ole Ersoy [EMAIL PROTECTED] wrote

Re: Loading a POM from the Respository

2006-11-21 Thread Tom Huybrechts
If you want to do this in a mojo, look at 'resolving an artifact' in the Mojo Developer Cookbook: http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Use an artifact of type 'pom'. On 11/21/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I need to to create a path string

Re: [m2] problem getting latest plugin version to local maven repository

2006-11-21 Thread Tom Huybrechts
How did you deploy your plugin ? Did you use the release plugin ? If you just do a deploy, add -DupdateReleaseInfo=true Tom On 11/21/06, Tom Will [EMAIL PROTECTED] wrote: We've got an inhouse mirror of the central repository. We also deploy a company-specific maven-plugin to that inhouse

Re: Classifier documentation?

2006-11-19 Thread Tom Huybrechts
find the documentation on that. Is there a JIRA for documentation issues? regards, Wim 2006/11/18, Tom Huybrechts [EMAIL PROTECTED]: I can't find any documentation either, but it's not that complicated. Classifiers are used to attach additional artifacts to your project. The main artifact

Re: How do I include base tests classes in main JAR

2006-11-18 Thread Tom Huybrechts
://maven.apache.org/guides/mini/guide-attached-tests.html Tom On 11/18/06, mraible [EMAIL PROTECTED] wrote: We're experiencing the following issue in AppFuse's migration to Maven 2: http://issues.appfuse.org/browse/APF-478 For each artifact we're creating, we'd like to include the BaseTestCase class

Re: Sign a different jar using jar:sign

2006-11-18 Thread Tom Huybrechts
My guess: the jarpath allows you to specify the output jar. The input is always the project artifact. Without jarpath it is signed in place. Tom On 11/17/06, Wim Deblauwe [EMAIL PROTECTED] wrote: 2nd try 2006/11/15, Wim Deblauwe [EMAIL PROTECTED]: Hi, according to the documentation

Re: Classifier documentation?

2006-11-18 Thread Tom Huybrechts
, javadoc, test-sources, tests but you can freely create your own. Tom On 11/17/06, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I was looking for some documentation on the classifier tag that can be used in the pom. I looked here (http://maven.apache.org/pom.html#Dependencies), hoping to find

Re: What's the easiest way to deploy an existing project to a different server?

2006-11-18 Thread Tom Huybrechts
Use an alternate deployment repository: mvn deploy -DaltDeploymentRepository=myrepo::default::myurl See http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html On 11/17/06, Josh Long [EMAIL PROTECTED] wrote: I wuld like to deploy an open source project that publishes dependencies

Re: Maven plugin interaction

2006-11-15 Thread Tom Huybrechts
-helper-maven-plugin/ Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Trying Quickly build Archiva

2006-11-14 Thread Tom Huybrechts
If you are behing a proxy, this might be caused by the https-repository that is added by the archiva POMs. Try adding cmdline arguments: -Dhttps.proxyHost=... -Dhttps.proxyPort=... Tom On 11/13/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I

Re: Not set groupId and version?

2006-11-13 Thread Tom Huybrechts
According to the POM schema, the groupId for plugin has a default value of org.apache.maven.plugins Tom On 11/13/06, jiangshachina [EMAIL PROTECTED] wrote: Hi guys, I have saw some guides like the following, http://maven.apache.org/guides/mini/guide-assemblies.html plugin artifactIdmaven

Re: Not set groupId and version?

2006-11-13 Thread Tom Huybrechts
The POM reference is http://maven.apache.org/pom.html It contains a link to the schema: http://maven.apache.org/maven-v4_0_0.xsd On 11/13/06, jiangshachina [EMAIL PROTECTED] wrote: Hi Tom, According to the POM schema, the groupId for plugin has a default value of org.apache.maven.plugins

Re: Resolving project dependencies

2006-11-10 Thread Tom Huybrechts
This works for me: Artifact pomArtifact = this.factory.createArtifact( groupId, artifactId, version, , pom ); MavenProject pomProject = mavenProjectBuilder.buildFromRepository( pomArtifact, this.remoteRepos, this.local ); Set artifacts = pomProject.createArtifacts( this.factory, null, null);

Re: Resolving project dependencies

2006-11-10 Thread Tom Huybrechts
: Thanks for your help tom, I now have all the information I needed. Sebastien -Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 5:26 PM To: Maven Users List Subject: Re: Resolving project dependencies This works for me: Artifact

Re: Pulling jars into local repository

2006-11-10 Thread Tom Huybrechts
Declare them as runtime dependencies ? On 11/10/06, Steinar Bang [EMAIL PROTECTED] wrote: Steinar Bang [EMAIL PROTECTED]: [snip!] But I still got the same error message when doing mvn install. That's because mvn dependency:copy-dependencies pulled in the dependency-maven-plugin from

Re: Pulling jars into local repository

2006-11-09 Thread Tom Huybrechts
The maven dependency plugin is your friend: http://maven.apache.org/plugins/maven-dependency-plugin/resolve-mojo.html You can also use a different goal of the same plugin to copy them directly to the target location. Tom On 11/9/06, Steinar Bang [EMAIL PROTECTED] wrote: I have a script now

Re: Can I submit Eclipse jars to the central repository?

2006-11-08 Thread Tom Huybrechts
this in the future. How did you create the POMs ? I'm guessing they are generated but is the generation code available ? Tom On 11/8/06, Carlos Sanchez [EMAIL PROTECTED] wrote: I've created a test repo at http://repo1.maven.org/eclipse/ with a lot of them. We are looking for feedback On 11/7/06, Wayne

Re: Using an OSGi bundle built with maven from an eclipse RCP project?

2006-10-31 Thread Tom Huybrechts
on the same preference page. You could even create a POM for your target platform that copies everything from the maven repo. If you go for the second option, you will probably no longer have a PDE project and will lose the PDE's support for running OSGi applications. Tom On 10/31/06, Steinar Bang [EMAIL

Re: Using an OSGi bundle built with maven from an eclipse RCP project?

2006-10-31 Thread Tom Huybrechts
On 10/31/06, Steinar Bang [EMAIL PROTECTED] wrote: Tom Huybrechts [EMAIL PROTECTED]: You can create a 'target platform' directory which contains all the jars of plugins you use. Then set this directory in Preferences PDE Target platform. You will have to add ALL the plugins you use, even

Re: Version validation of provided dependencies

2006-10-30 Thread Tom Huybrechts
Hi Jonas, I'm not sure if this is what you're asking, but the dependencyManagement section of the pom makes it a lot easier to ensure your versions stay in sync between different projects. Just specify each dependencies' version once in that section of the top-level POM... Tom On 10/30/06

Re: Version validation of provided dependencies

2006-10-30 Thread Tom Huybrechts
I don't know the dependency convergence report handle provided dependencies, but it's worth a try. If you build a default site, this report will be included. An example can be seen at http://maven.apache.org/ref/current/dependency-convergence.html Tom On 10/30/06, Jonas Olsson [EMAIL PROTECTED

Re: How do I use the 'short name' of a plugin?

2006-10-29 Thread Tom Huybrechts
You need to add a plugin group for com.polarrose.com in your settings.xml. See http://codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin-development.html Tom On 10/29/06, Stefan Arentz [EMAIL PROTECTED] wrote: I am working on a little hack, a plugin to 'run' a spring context

using profile to activate profile

2006-10-27 Thread Tom Huybrechts
Hi all, can I somehow make one profile activate another ? What I'm looking for is this: I have 2 profiles (A and B). It should be possible to activate only A, but if B is activated A should be too. Tom

extensions

2006-10-26 Thread Tom Huybrechts
- I'm guessing that conflicting versions or classloaders are the problem... Tom

Re: JMeterMavenPlugin

2006-10-24 Thread Tom Huybrechts
Never used it before, but the first things the instructions say is: - Create a local Maven repository, if you don't already have one. - Drop in the attached JMeter jarhttp://wiki.apache.org/jakarta-jmeter-data/attachments/JMeterMavenPlugin/attachments/jmeter-2.2.jarand

RE: Problem using Maven2 eclipse plugin

2006-10-23 Thread Tom Hurley
Nicolas: I found this link on the MyEclipse User List ([EMAIL PROTECTED]) and it fixed that problem for me. http://jira.codehaus.org/browse/MNGECLIPSE-124 Tom. -Original Message- From: Nicolas Lanquetin [mailto:[EMAIL PROTECTED] Sent: Monday, October 23, 2006 9:26 AM To: users

Searching Maven List

2006-10-17 Thread Tom Hurley
Hi: Can anyone recommend a tool for searching the Maven user list archives? I usually use http://marc.theaimsgroup.com/?w=2 for Apache projects but the Maven User List is not included there. Thanks in advance. Tom

Re: [m2] Problem creating an Eclipse project

2006-10-05 Thread Tom Huybrechts
It looks like the maven-eclipse-plugin is using the wrong version of one of the maven libraries. I'd try running with '-U' or cleaning out the org/apache/maven/maven-artifact part of my repository. On 10/5/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hi, I'm a new user of Maven 2 so please

Re: Depending on sources

2006-10-04 Thread Tom Huybrechts
Try classifier instead of type. On 10/4/06, Philippe Faes [EMAIL PROTECTED] wrote: Dear all, I have a project that needs to depend on the sources jar of another project. How can I write that in my pom? I've tried some things like this: dependency groupIdbe.ugent.elis.designs/groupId

Re: dependencies and non-standard packaging

2006-10-04 Thread Tom Huybrechts
Did you define this packaging yourself ? What extension did you assign to it ? If this is just 'jar', try dropping the type from the dependency. Tom On 10/4/06, Philippe Faes [EMAIL PROTECTED] wrote: Dear all, I have a project with two modules. One module has a non-standard packaging, say

Re: Installing snapshot sources

2006-10-04 Thread Tom Huybrechts
Add the maven-source-plugin to the package phase. See http://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html On 10/4/06, Akbarr [EMAIL PROTECTED] wrote: Hi all, I'd like to create a jar with the sources of my project every time a install is executed, ie, to install the .java

Removing jsp-api-2.0.jar from delpoyed webapp

2006-10-03 Thread Tom Hurley
this jar or can I flag it to Maven to exclude it? Someone else must have come up against this problem. Thanks in advance for any help or suggestions. Tom. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Removing jsp-api-2.0.jar from delpoyed webapp

2006-10-03 Thread Tom Hurley
Thanks Wayne, I've tried both of those options but the jar is still being included. Its making me say bad words... Any other suggestions? Thanks. Tom. Tom Hurley, Senior Lead Developer Insightful Corp, 206-283-8802 x369 -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED

RE: Removing jsp-api-2.0.jar from delpoyed webapp

2006-10-03 Thread Tom Hurley
Thanks again Wayne, mvn -X helped me find the problem. I appreciate the help and also that of others on this list who have helped me get familiar with maven. Thanks you. Tom. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:08 AM To: Maven

RE: Excluding depencencies inherited from parent

2006-10-02 Thread Tom Hurley
Thanks Neeraj, I'm not sure I understand what you are telling me though. I was hoping there might be some sort of excludesexclude ... /exclude/excludes that could permanently be part of the project's pom file. I am relative new to Maven so my understanding migh not be correct. Tom

Re: test-jar - unknown artefact type

2006-09-29 Thread Tom Huybrechts
Can you give us some more context for the error ? Try giving your test-jar dependency a scopetest/scope Tom On 9/29/06, Ken Helmes [EMAIL PROTECTED] wrote: Hello, Has anyone run into this error when trying to use the test-jar type: Embedded error: Unknown artefact type[test-jar

Re: Re: test-jar - unknown artefact type

2006-09-29 Thread Tom Huybrechts
The maven-ear-plugin only handles a limited number of artifact types, and test-jar is not one of them. See https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java Tom On 9/29/06, Ken Helmes [EMAIL PROTECTED] wrote

Excluding depencencies inherited from parent

2006-09-29 Thread Tom Hurley
. Is it possible to exclude this? Any help would be greatly appreciated. Thanks, Tom. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

All files not being copied when deploying

2006-09-27 Thread Tom Hurley
not exist. Why are some and not all of the files being copied? I am new to maven and would appreciate any help in understanding why this is happening. Thanks in advance. Tom. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Two questions about install:install-file

2006-09-19 Thread Tom Huybrechts
If you prefer doing it through maven, I think you do another install:install-file with -Dclassifier=sources to install your sources jar On 9/19/06, Jochen Wiedmann [EMAIL PROTECTED] wrote: Stefan Arentz wrote: In this case I'm installing spring, which also comes with a spring-src.jar. Is

RE: [m2] Creating site docs on multi-module project

2006-09-15 Thread Tom Hurley
OK, I found the index and summary components of the info-report plugin. So that's ok. I guess the main documentation is out of date. Where did you find this? Tom. -Original Message- From: Orford, Ian [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 14:51 To: 'Maven Users List

RE: [m2] Creating site docs on multi-module project

2006-09-15 Thread Tom Hurley
. Thanks, Tom. -Original Message- From: Orford, Ian [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 14:51 To: 'Maven Users List' Subject: RE: [m2] Creating site docs on multi-module project That's great, thanks... 1. I like the idea of configuring maven-info-reports-plugin. At the moment

Running mvn at any level of a multi-level project while still using inheritance

2006-09-14 Thread Tom Hurley
in advance for any help of references to examples of what I am trying to do. Tom. Tom Hurley Senior Lead Developer Insighful Corp 1700 Westlake Ave N., #500 Seattle, WA 98109 (Work): 206-283-8802 x369 (Fax): 206-283-8691 (Cell): 206-661-6930

Re: Is it possible to build Eclipse 3.1 plugins using M2 ?

2006-08-23 Thread Tom Huybrechts
There are some discussions going on about this (see equinox and pde-build mailinglist at eclipse.org), but there is no plugin available for this right now. Tom On 8/23/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven Users, Does any plugin exists in Maven2 to build eclipse

Re: Goal to sign a jar

2006-08-17 Thread Tom Huybrechts
I think I saw JarSignMojo in the maven-jar-plugin, but I don't know if it's released yet. On 8/17/06, Wayne Fay [EMAIL PROTECTED] wrote: Pretty sure the Webstart plugin can handle your signing needs. Wayne On 8/17/06, Grégory Canto [EMAIL PROTECTED] wrote: Hi, I'd like to know if there is

Re: basedir of super pom

2006-08-17 Thread Tom Huybrechts
Can Clover read your license file from the classpath ? Then you could deploy your (jarred) license to your maven repo and add it as a dependency to the clover plugin. See the checkstyle plugin docs [1] for more information - it allows you to do a similar thing with checkstyle configurations. Tom

the plugin artifact has changed

2006-08-04 Thread Tom Huybrechts
, they repeat after each bundle. I'm also experiencing frequent out-of-memory errors in a build which never suffered from these before. I suspect this could be a related problem. Any ideas what's causing this ? Tom - To unsubscribe, e-mail

Parameterizing version

2006-07-18 Thread Tom Harris
. See the console output POM.xml below. Regards, Tom Harris C:\mvnbook\my-appmvn install -Dversion=rel_1_1 [INFO] Scanning for projects... [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment

maven ant tasks snapshot handling

2006-06-14 Thread Tom Huybrechts
). But the mypath-path refers to ~/.m2/repository/myGroup/1.0.0-mmdd.hhmmss/myArtifact-...jar I didn't find any mention in the JIRA. Am I doing something wrong - I can't imagine everybody is having this problem ? Tom

maven proxy

2006-06-06 Thread Tom Joad
://10.75.202.141:2016/repository/co mmons-fileupload/commons-fileupload/1.1/commons-fileupload-1.1.pom I didn't change anything in configuration http://10.75.202.141:2016/repository is the maven proxy location. any Ideas? Thanks in advance Tom

Re: maven proxy

2006-06-06 Thread Tom Joad
I can browse my maven-proxy with any internet browser. I use maven-proxy snapshot version(the first one) . Tom 2006/6/6, Tom Joad [EMAIL PROTECTED]: Hello all, I set up maven proxy and it always worked .I didn't work with maven since two months , i have just to reuse it.I add new dependency

Re: Problems while running maven2

2006-06-02 Thread Tom Joad
Hi Gregory, could you run mvn with -e option to get stacktracee error. Tom. 2006/6/2, legrand gregory [EMAIL PROTECTED]: Hi everybody. I'm sorry for my poor English, but I'm French and I'm not fluent ;-) I am trying to use maven2, but every time I try some commands line I've got this error

snapshot dependency gets downloaded as fixed version

2006-05-12 Thread Tom Huybrechts
a pom (+ checksum). My project is too big to post all the poms here, but does anybody have an idea what I could be doing wrong ? Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ad Hoc Maven BOF at JavaOne

2006-05-10 Thread Tom Huybrechts
I'll be there too and I'm certainly interested in a small Maven meeting. Tom On 5/10/06, Jason van Zyl [EMAIL PROTECTED] wrote: Hi, If any Maven users are going to be at JavaOne and want to have an informal BOF let me know. Sun didn't give us any official slots this year so we would have

configuring a list as default value for a plugin parameter

2006-05-08 Thread Tom Huybrechts
Hi all, is it possible to define a default value for a mojo parameter that is an array or collection ? e.g.: /** * @parameter expression=option1,option2 */ private String[] options; Tom - To unsubscribe, e-mail: [EMAIL

Re: [m2] Is there a way to create an artifact with antrun and have it install/deploy automatically

2006-05-05 Thread Tom Huybrechts
Check out the build-helper:attach-artifact goal: http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html On 5/5/06, Jason Chaffee [EMAIL PROTECTED] wrote: Currently, I am using the antrun plugin during the package phase to create a self-extraction archive by concating a

Re: [M2] more than 1 sourceDirectory

2006-04-28 Thread Tom Joad
Hello you cas use build-helper-maven-plugin like following plugins ... plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId executions execution idadd-source/id

<    1   2   3   4   5   >