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
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
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
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
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
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
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
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
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
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
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 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]
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
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.
--
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
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
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
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
+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
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
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
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:\
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
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]
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
---
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
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
27 matches
Mail list logo