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\loggingmvn eclipse:eclipse
[INFO] Scanning for projects...
[WARNING] Overriding profile: 'os-specific-settings' (source: pom) with
new inst
Mark Hansen [EMAIL PROTECTED]
Maven version: 2.0.9
Java version: 1.6.0_05
OS name: mac os x version: 10.5.4 arch: x86_64 Family: mac
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
:
can you paste in the surefire plugin configuration that you are using
exactly?
Cheers,
Brett
2008/9/8 Mark Hansen [EMAIL PROTECTED]
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
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
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
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
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]
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.
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
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]
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 users@maven.apache.org
To: Maven Users List users@maven.apache.org
Which version of Ant is bundled wtih Maven 2.0.5 and how can I determine
that? Thanks
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:
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
+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
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:
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 from
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 from http:snapshots.maven.codehaus.org/maven2
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:
I am having similary problems.
Franz Fehringer wrote:
Hello,
Are there problems with the central repository?
With
D:\projekte\Maven2mvn -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
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
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'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 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
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'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
26 matches
Mail list logo