mvn eclipse:eclipse throws NPE

2008-12-16 Thread Mark Hansen
When I run eclipse:eclipse on my multi-projece maven directory structure, I get this error message. Does anybody know what the problem might be? C:\slbr\logging>mvn eclipse:eclipse [INFO] Scanning for projects... [WARNING] Overriding profile: 'os-specific-settings' (source: pom) with new inst

Re: macosx problem with forkMode and maven-surefire-plugin

2008-09-09 Thread Mark Hansen
untime JAR is used, but the wrong JVM. However, using 2.0.10-RC11 corrects the problem, and it was also fine under 2.0.8. - Brett 2008/9/9 Mark Hansen <[EMAIL PROTECTED]> Maven version: 2.0.9 Java version: 1.6.0_05 OS name: "mac os x" version: "10.5

Re: macosx problem with forkMode and maven-surefire-plugin

2008-09-08 Thread Mark Hansen
m2.repo ${m2.repo} Brett Porter wrote: can you paste in the surefire plugin configuration that you are using exactly? Cheers, Brett 2008/9/8 Mark Hansen

macosx problem with forkMode and maven-surefire-plugin

2008-09-07 Thread Mark Hansen
I'm running MVN with JDK1.6.0 on MacOSX. When I set forkMode to point to my JDK1.4.2, I'm still getting the JDK1.6.0 version of classes.jar on the classpath. Has anybody else experienced this problem? -- Mark - To unsubscri

Re: maven build causing java segmentation fault - help needed

2008-05-01 Thread Mark Hansen
pr 30, 2008 at 3:54 PM, Mark Hansen <[EMAIL PROTECTED]> wrote: We are trying to get the maven build for our product working under RedHat linux (running as a guest OS under VMWare). This build works fine on Windows Vista and XP. But under RedHat it is causing a Java segmentation

maven build causing java segmentation fault - help needed

2008-04-30 Thread Mark Hansen
We are trying to get the maven build for our product working under RedHat linux (running as a guest OS under VMWare). This build works fine on Windows Vista and XP. But under RedHat it is causing a Java segmentation fault. See attached log file for details. Does anyone have any ideas about how

maven build causing java segmentation fault - help needed

2008-04-30 Thread Mark Hansen
We are trying to get the maven build for our product working under RedHat linux (running as a guest OS under VMWare). This build works fine on Windows Vista and XP. But under RedHat it is causing a Java segmentation fault. See attached log file for details. Does anyone have any ideas about

maven-eclipse-plugin classpathContainers parameter question

2007-08-23 Thread Mark Hansen
I've got a multi-project maven build where some modules use different versions of the JRE than others. I am using eclipse:eclipse to synchronize my maven build process with the eclipse development environment. I use the classpathContainers parameter to specify the JRE for each module. Howeve

Maven keeps trying to download - even after a success.

2007-08-23 Thread Mark Hansen
Maven2 has sucessfully downloaded the artifact 'servlet-4.1.36.jar' required by my POM. Yet, every time I run 'mvn install", maven2 tries to download it again. See console output below. Why is that? It doesn't seem to be happening with the other dependencies. Thanks -- Mark [INFO] [resour

Configuring Log4J Differently within Maven for JUnit Testing and Production

2007-04-03 Thread Mark Hansen
I use Log4J and build my applications with Maven2. I have a log4j.xml config file in the src/main/resources directory so that Maven2 builds it into the JAR with my application. However, I have a different log4j.xml that I want to use with the JUnit tests that run as part of my Maven build pro

Version of Ant supported by Antrun Plugin?

2007-03-20 Thread Mark Hansen
bundled with Maven 2.0.5? Date: Tue, 20 Mar 2007 10:03:14 -0400 From: Mark Hansen <[EMAIL PROTECTED]> Reply-To: Maven Users List To: Maven Users List Which version of Ant is bundled wtih Maven 2.0.5 and how can I determine that?

which version of Ant bundled with Maven 2.0.5?

2007-03-20 Thread Mark Hansen
Which version of Ant is bundled wtih Maven 2.0.5 and how can I determine that? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

build WAR without a web.xml

2007-03-19 Thread Mark Hansen
I need to be able to build WAR that does not include a web.xml. The use case for this is certain forms of Java EE 5 Web Services deployment. However, Maven2 gives me this error when I try: Error assembling WAR: Deployment descriptor: C:\soabook\code\book-code\chap08\nodescriptor-sibonly\endp

[m2] running both Maven 1.0.2 and Maven 2.0.4

2007-01-04 Thread Mark Hansen
It seems that it is impossible to use both Maven 1 and Maven 2 concurrently since both use the MAVEN_HOME environment variable. Is that correct? Are there any workarounds? I am building multiple projects - some use Maven 2 and some use Maven 1. --

[M2] Executing a single lifecycle phase

2006-08-02 Thread Mark Hansen
When I do "mvn integration-test" - all the previous lifecycles phases (e.g., validate, compile, test, etc.) are executed first. Is there a workaround that I can use to only run the integration-test lifecycle phase - without all the precursor phases getting invoked? Thanks, Mark

Re: Doxia/site problems - FIXED

2006-05-16 Thread Mark Hansen
tried it and it it came down just fine. Mind you, I'm getting a different error, but the doxia code is coming down fine. Brian On 5/16/06, Mark Hansen <[EMAIL PROTECTED]> wrote: > FIX isn't working for me. Still getting error trying to download > doxia-1.0-alpha-8.pom

Re: Doxia/site problems - FIXED

2006-05-16 Thread Mark Hansen
I managed to fix this by doing: grep -r doxia ~/.m2 and removing all the POMs that have any dependency on anything related to doxia. Not elegant, but it worked for me. -- Mark Mark Hansen wrote: FIX isn't working for me. Still getting error trying to download doxia-1.0-alpha-8.pom

Re: Doxia/site problems - FIXED

2006-05-16 Thread Mark Hansen
FIX isn't working for me. Still getting error trying to download doxia-1.0-alpha-8.pom from http:snapshots.maven.codehaus.org/maven2 [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugin

Re: repo down?

2006-05-16 Thread Mark Hansen
+1 !!! Is there anybody who can fix this problem with the repository? I've got a bunch of developers in India who have installed m2 and need to build our company's plugins. We are losing man-days of work because of this. Mark Diggory wrote: You can't if its the first time you've run mave

[m2] FtpWagon problems deploying to a repository

2006-05-15 Thread Mark Hansen
Doing this kind of deployment to my repository: mvn deploy:deploy-file -DgroupId=soaj -DartifactId=admin-plugin -Dversion=1.0 -Dfile=/home/devglassfish/.m2/repository/soaj/admin-plugin/1.0/admin-plugin-1.0.jar -Dpackaging=maven-plugin -DrepositoryId=myrepo -Durl=ftp://myrepo.com/maven-repo

[m2] cannot retrieve maven-plugin-plugin

2006-05-15 Thread Mark Hansen
I am trying to build a plugin. Keep getting this: [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-plugin-plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted Is that becaus

Re: mvn -U fails since today

2006-05-15 Thread Mark Hansen
I am having similary problems. Franz Fehringer wrote: Hello, Are there problems with the central repository? With D:\projekte\Maven2>mvn -U -X -e archetype:create -DgroupId=de.isogmbh.app -DartifactId=iso-app i get (both C:\Dokumente und Einstellungen\feh\.m2\plugin-registry.xml and C:\

[m2] Problems Building Ant Plug-In

2006-05-15 Thread Mark Hansen
I have some Ant plugins that no longer build. Has the been a change in the repo or something that would cause my build process to fail? I'm getting this error: [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from central [WARNING] repository metadata for: 'a

[m2] cactus plugin?

2006-05-04 Thread Mark Hansen
Is there a cactus plugin for m2? Any documentation/samples out there? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m2] getting a file path for a JAR

2006-05-04 Thread Mark Hansen
I want to write a plugin that I can pass a groupId/artifactId to, and it will upload the artifact to a specific directory (say - to build a lib directory). Does anyone know how I can get a file reference to the artifacts that Maven builds, so that I can copy them elsewhere? Thanks, Mark ---

[Maven 2] Integration Testing?

2006-05-04 Thread Mark Hansen
I'm trying to understand how to best do integration testing with Maven 2.x. I am using the pre-integration-test and post-integration-test phases to execute a plugin goal that I wrote to deploy some EJBs to a container. These EJBs are used in the integration test. Now, how do I run the tests

lots of samples - how to structure maven tree??

2005-11-21 Thread Mark Hansen
I've got lots of sample that need to be packaged into lots of little WARs, EARs, etc. My file tree is set up like base src java samples chap1 sec1 MyServlet.java sec2 AotherServlet.java chap2 sec1 He