Hello,
I just got maven and expected to find the schema in the distribution or
in lib/maven-core-2.0.7-uber.jar. Instead I found it on the
http://maven.apache.org/general.html. I also expected to see the header
in a comment at the top of the xsd file. Could the schema be included
in future
Nobody have this kind of problem?
Regards
Gerald Reinhart
On 24/08/2007, Gerald Reinhart [EMAIL PROTECTED] wrote:
Hi,
Hypothesis:
- in a multi-modules project managed by Maven2
- an specific artifact can't be created by Maven2 [1]
- this artifact is created by an antrun call [2]
-
We have a module that requires it to be released, while it does compile fine
and works correctly the test cases fail.
We just want to release it without running the tests.
When I try 'mvn -Dmaven.test.skip=true release:prepare' the tests still run.
It seems that the release plugin does some
I don't see why some reports works and not others.
Continuum launch mvn lilke you do it from the command line.
Do you use the same user to run continuum and the mvn command line?
Emmanuel
Marco Mistroni a écrit :
hi all,
i have a simple mvn2 project that i decided to put on continuum
i have
I seem to remember doing this myself:
mvn release:prepare -Dmaven.test.skip=true -Darguments=-
Dmaven.test.skip=true
hope that helps,
Andy
On 17 Sep 2007, at 04:40, Steve Mactaggart wrote:
We have a module that requires it to be released, while it does
compile fine and works correctly
Wayne,
I'm using Maven for a commercial project and I'm making a release build.
I believe our test dependencies should be excluded from the release build,
since the customer will/should never run the tests. So this is why I would
need the all but test scope.
In the source of the
I use Eclipse and the External Tools configuration to run mvn from
within eclipse if needed.
I used to have Eclipse compiling to a different classes directory and
that worked fine for many projects, but recently I use 'mvn
jetty:run' all the time so that when I save a java file in Eclipse it
Hi
I want to know that is it possible to specify settings.xml path location in
pom.xml.
I dont want to store my settings.xml in default location (user home\.m2 or
maven\conf)
and also i dont want that user needs to sepcify the path at command line
using -Dorg.apache.mave.global-settings.
I don't currently use any of the Maven Eclipse IDE integration plugins
and just use
Eclipse's external tools facility to run mvn for any selected folder
in Eclipse's 'Package Explorer' pane.
At least this way you know Maven is behaving as it does from the
command line, for new dependency I add to
Hi all,
we are trying to understand if we can take advantage of maven to totally
replace our mega ANT script which produces the release of our multi language
and multi module project.
Our project is a mix of Java and C++ code and it is a very complex system
composed by sub systems running on
i'm probably the nth guy to ask this, but I'm totally new to maven and
barely understand it:
i cannot 'mvn test', I get:
[INFO] Error to resolving surefire provider dependency: Missing:
--
1) classworlds:classworlds:jar:1.1-alpha-2
Try downloading the file manually from the project
Thanks Wendy, that works great!
Wendy Smoak wrote:
On 9/17/07, Gordon Dickens [EMAIL PROTECTED] wrote:
I am fairly new to Maven 2 and I need help understanding how to extend
the clean task. I want to delete some files/directories during the
clean phase.
If you can, make the build
Hi all,
when I request
http://localhost:8080/archiva/repository/jdk/distributions/jre-1.5.0_05.zip/jdk/distributions/jre-1.5.0_05.zip,
I have an http 404 error with
RequestURI=/archiva/repository/jdk/distributions/jre-1.5.0_05.zip/jdk/distributions/jre-1.5.0_05.zip
I use the archiva-1.0-beta-2
Hi,
setting the settings.xml location in the pom is not possible and not
advisable IMHO.
Are you sure the system property is recognized at all. Doing a quick
test, it doesn't seem so. If the property is working for you, you can
set the environment variable MAVEN_OPTS and maven will pick it
In which remote repository are you looking? As fas as I can see
classworlds:clasworlds:jar:1.1.-alpha-2 still exists [1] as does the
other one [2]
Hth,
Nick Stolwijk
[1] http://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/
[2]
Pete:
Yea, you can do that way but I find it more cumbersome. Also, there are
certain things I needed ANT for before the Maven build (like I needed to use
Ant's native2ascii due to a platform issue as well as some preprocessing
before our builds).
The other thing is that ANT unlike Eclipse is
Just wanted to ask whether there is any plan for supporting
'Integration Tests' in Maven Site Reporting. Currently although there
is a well know 'integration-test' phase in Maven, if Surefire JUnits
are configured to run during this phase, they are not executed during
a 'mvn site-deploy'.
We have
Just wanted to ask on the back of this whether any of you have got the
Maven Site Reporting working when you have some JUnit tests running in
the 'Integration-test' phase.
I posted this recently
Are you behind a firewall? If so you'll have to configure maven to use your
proxy.
http://maven.apache.org/guides/mini/guide-proxies.html
Jim
On 9/18/07, Nick Stolwijk [EMAIL PROTECTED] wrote:
In which remote repository are you looking? As fas as I can see
Please post bugs in JIRA. This message will be lost into the void otherwise.
Wayne
On 9/17/07, CROSSING Warren [EMAIL PROTECTED] wrote:
Hello,
I just got maven and expected to find the schema in the distribution or
in lib/maven-core-2.0.7-uber.jar. Instead I found it on the
I have generally found that Maven is able to handle most if not all of
my packaging requirements.
The only way to find out if it will work for you is to do some reading
(free pdf ebooks from devzuz and sonatype) and then try it out
yourself.
In general, if you're just replacing Ant scripts with
Clara,
The dependency plugin uses the core scope filter to decide if something
is included in a scope. This is not the same as filtering on the
declared scope of a dependency, rather the effective scope. Everything
is needed for the test scope, so if I ask the filter Is this in the
test scope? the
Hi
I am getting this error , when i tried to build war using maven. When i
tried to build jar, i didn't face issues. It was successful.
Is it something to do with Maven war plugin.
If i manually create the target classes folder, it works.
Any help on this will be much appreciated.
Hello list,
I got an issue with our current maven project. This is something I think is
not regular to do so it is probably why I haven't found anything interesting
in documentation.
I got a parent pom with many module associated to it. Most of them are code
centric and most produce report on
If I have a simple prototype pom.xml that has an issueManagement section
templated out like such:
issueManagement
systemCollabNet/system
urlhttps://${my.projectName}.dev.java.net/servlets/Issues/url
/issueManagement
Why doesn't mvn archetype:create ...
Hi,
I have a general design question on mvn2's project (directory) structure.
I'm starting on a project which involves creating a software product to be
used by a few clients, with each client having particular customizations on
top of the product. I'm thinking of a structure design where I
Hi,
warSourceExcludesWEB-INF/lib/*.jar,...,.../warSourceExcludes [1]
-Tim
[1] http://maven.apache.org/plugins/maven-war-plugin/inplace-mojo.html
mraible schrieb:
Is it possible to customize maven-war-plugin so JARs aren't put in
src/main/webapp/WEB-INF/lib when using war:inplace?
I'd like
Hi,
you can use generateReportsfalse/generateReports in the
configuration of the site-plugin. But that will disable the generation
all reports. Don't know if that really is what you want.
-Tim
Marc-Andre Houle schrieb:
Hello list,
I got an issue with our current maven project. This is
Hi,
try to configure SCOPE dependency.
scopeprovided/scope
Marcelo.
-Original Message-
From: Sonar, Nishant [mailto:[EMAIL PROTECTED]
Sent: 18 September 2007 17:18
To: Maven Users List
Subject: how NOT to include any lib (dependencies) in the WAR ?
Whenever I create a WAR
I tried this and it doesn't work.
warSourceExcludesWEB-INF/lib/**,WEB-INF/classes/struts.xml/warSourceExcludes
I also tried customizing it just for the war:inplace goal:
executions
execution
idwar-inplace/id
As promised here is how I got it working, although I still don't see why
it would not just be a lot easier if I could include the following in my
assembly
dependencySet
outputDirectory/outputDirectory
unpacktrue/unpack
scoperuntime/scope
includes
Whenever I create a WAR , it creates a WEB-INF/lib inside the war and
adds all the dependencies in the WAR .
What can I do NOT to include any lib (dependencies) in the WAR , and
exclude the lib folder to be in war, here's my POM
project xmlns=http://maven.apache.org/POM/4.0.0;
Looking at the schema for an assembly it looks as if in a single
dependencySet you can have many include/exclude items, but the plugin
(2.2-beta-1) seems to only process the first one in the list.
Has anyone been able to get this to work?
Also for exclusions I'd like to be able to exclude a
Seems to be a bug. war:war with excludes is working, war:inplace and
war:exploded don't honor the excludes.
-Tim
mraible schrieb:
I tried this and it doesn't work.
warSourceExcludesWEB-INF/lib/**,WEB-INF/classes/struts.xml/warSourceExcludes
I also tried customizing it just for the
A little more investigation on my part shows that this is not possible,
currently. If there is interest in this functionality, let me know at the
filed issue:
http://jira.codehaus.org/browse/ARCHETYPE-70
Jeff
jblack wrote:
If I have a simple prototype pom.xml that has an issueManagement
Hey everyone. I seem to be having issues with the beta-2 release
involving SNAPSHOT browsing. This was resolved in beta-1
(http://jira.codehaus.org/browse/MRM-426) but now doesn't seem to be
working. Anyone else having the same issue?
I first tried to view snapshot version 53 and was
Hello,
Has anyone been able to produce a workaround (or seen
a patch) for this issue
http://jira.codehaus.org/browse/CARGO-416
in which remote deploy to Jboss server fails because
Jboss is trying to deploy a path which doesn't exist.
Here is the server side error:
08:04:57,934 ERROR
It seem's that the only thing this flag is doing is to disable the html
report exporting. All the other step for the report are done (Javadoc is
still trying to instrument generated java code (which I don't really want!)
Thanks for the hint, but the flag is not doing what it is call for in the
Hello,
Creating basic report plugins is rather easy; I've patched up a couple
of custom Maven report Mojos within a day. Now i would like to move
those to the next level and integrate them with the look and feel of the
generated site (follow the skin used etc). My problem is i really cannot
Nishant:
Adding
excludes**/lib/*/excludes
to the maven-war-plugin configuration will forcibly exclude all libraries.
http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html
http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html
We typically call
All
I am new to maven..
My maven.xml is below at top level
project default=build xmlns:m=jelly:maven xmlns:j=jelly:core
xmlns:ant=jelly:ant
goal name=build
attainGoal name=buildAll/
attainGoal name=multiproject/
/goal
goal
Hi Marcelo
Well I changed all but one of the dependency.
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
Looks to me like a bug in the way the
jaxws-maven-plugin is forming its classpath.
If you use the ant task wsgen, you'd be able to
manipulate the classpath yourself.
--- Sonar, Nishant [EMAIL PROTECTED]
wrote:
Hi Marcelo
Well I changed all but one of the dependency.
project
I have seen similar threads about this from before, but regarding maven
1.x, I was hoping to get an answer for maven 2.x.
In Eclipse, I can run testcases with properties that I set using
-Dmyproperty=myvalue in the VM arguments section.
I am wondering if there is a way of achieving this in
Thanks a ton Barrett , I think I didn't do my homework on the WAR
plug-in , thank again for helping me out .
Hey Marcelo thanks to you too for helping me , I thin what Barrett has
told has solved my problem for now.
Regards,
Nishant Sonar
Synechron Technologies
-Original Message-
From:
Please don't resend emails!! You just sent this an hour ago.
Wayne
On 9/18/07, Choudhary, Jay [EMAIL PROTECTED] wrote:
All
I am new to maven..
My maven.xml is below at top level
project default=build xmlns:m=jelly:maven xmlns:j=jelly:core
xmlns:ant=jelly:ant
goal
Please search the archives before sending emails in the future. Many
questions have been asked and answered, frequently in the last week or
month.
This was just discussed in the last couple days:
Srry thought it was never sent
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: 18 September 2007 19:08
To: Maven Users List
Subject: Re: confused with maven clover
Please don't resend emails!! You just sent this an hour ago.
Wayne
On 9/18/07, Choudhary, Jay [EMAIL
All
I am new to maven..
My maven.xml is below at top level
project default=build xmlns:m=jelly:maven xmlns:j=jelly:core
xmlns:ant=jelly:ant
goal name=build
attainGoal name=buildAll/
attainGoal name=multiproject/
/goal
goal
For some reason, this is not uncommon.
In the future, if you're not sure if your message made it to the list,
check Nabble:
http://www.nabble.com/Maven---Users-f178.html
Also, you should wait longer than 1hr before resending. Give it at
least 12hrs to show up. There are numerous reasons why
Google for maven exclusion.
Wayne
On 9/18/07, thebugslayer [EMAIL PROTECTED] wrote:
Max,
How would I exclude the javax.servlet:jsp-api one? I tried provided
scope, but it's still not working.
-Z
On 9/15/07, Max Bowsher [EMAIL PROTECTED] wrote:
thebugslayer wrote:
Hi,
I understand
Max,
How would I exclude the javax.servlet:jsp-api one? I tried provided
scope, but it's still not working.
-Z
On 9/15/07, Max Bowsher [EMAIL PROTECTED] wrote:
thebugslayer wrote:
Hi,
I understand this problem is more of Eclipse related, but it also
involves Maven setup, so I thought
hELLO,
mm now that i think about it, mayb not as i have scheduled an automatic
startup task in Linux..
i will try to startup continuum from command line and launch a build to see
what happens..
i'll try and let youknow
thanks and regards
Marco
On 9/18/07, Emmanuel Venisse [EMAIL PROTECTED]
I just moved m1 to m2, but could not get torque plugin work.
with m1, I used command, maven torque:om, which will build db object
from *schema.xml.
I could not find instructions on doing this.
Is there anybody who has done it and like to offer some helps?
I really appreciate.
I apologize. I saw some other ones, but this particular post didn't
turn up in my search.
I failed to mention this in my previous email, but the property I need
to set has an URL value. In the maven surefire plugin page regarding
using system properties, it says that only Strings may be passed
In a multi-module pom hierarchy, what is the best way to
determine/reference the top-level pom directory?
Tim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Emmanual,
got no luck
Well let me explain what i did first, i might be doing something wrong
i started continuum with my username, and laucnhed a build (whic includes
the target site)
continuum generated the directory site in following place
opt/continuum-1.0.3
Pass a string and convert to URL type in the test (??).
Wayne
On 9/18/07, Yu, Jonathan T [EMAIL PROTECTED] wrote:
I apologize. I saw some other ones, but this particular post didn't
turn up in my search.
I failed to mention this in my previous email, but the property I need
to set has an
Tell us more about what you're trying to do.
Wayne
On 9/18/07, Tim Foster [EMAIL PROTECTED] wrote:
In a multi-module pom hierarchy, what is the best way to
determine/reference the top-level pom directory?
Tim
-
To
Okay. I'm trying to dynamically create a properties file, e.g.,
my.properties, into which I can define properties that can be referenced
at all levels of the hierarchy. This file would live in a location
relative to the top-level pom file. The default definitions of the
properties are
You probably want to fix your compilation error first. You can't expect
your tests to pass if your project doesn't compile. But since you don't
provide any details about the compile error, it's difficult to help...
(try maven -e java:compile).
-Lukas
Choudhary, Jay wrote:
All
I am new
I had the jaxws-maven-plugin working fine with a simple Java WebService... It
worked fin up until an hour or so ago and I am not sure what I changed that
caused the issue... Has anyone else seen this error before... It must be a
something stupid simple that I am missing... The WebService runs
I think you changed the package for
com.heartlab.ws.services.HelloServiceWS
Regards,
Nishant Sonar
Synechron Technologies
-Original Message-
From: Kyle.Bober [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 18, 2007 4:46 PM
To: users@maven.apache.org
Subject: jaxws-maven-plugin
I'm trying to use seam with maven and tomcat and all the examples come with ant
One of the examples is jboss-seam-booking
I can see that in example there is mc-conf.jar and jboss-seam-booking.jar in
the classpath
I would like to add microcontainer in my application with maven to run this
Hello,
I have a situation where i define mysql dependency with test scope as
belows:
dependency
groupIdmysql/groupId
artifactIdmysql-jdbc-connector/artifactId
version5.0.3/version
scopetest/scope
/dependency
According to the spec, this jar will be included in the
I'm interested in repeatable release builds, but not really interested
in repeatable snapshot builds. It would be great to specify for a
parent (or a dependency in some cases) to use the latest available
release or snapshot version while my project is under development (i.e.
in snapshot mode).
Try adding the mysql dependency to the plugin itself. Seems like the
exec plugin is not inheriting the test classpath, only the compile
classpath.
Wayne
On 9/18/07, Yan Huang [EMAIL PROTECTED] wrote:
Hello,
I have a situation where i define mysql dependency with test scope as
belows:
On 9/18/07, David Jackman [EMAIL PROTECTED] wrote:
I'm interested in repeatable release builds, but not really interested
in repeatable snapshot builds. It would be great to specify for a
parent (or a dependency in some cases) to use the latest available
release or snapshot version while my
Another question: it seems that I cannot use this exec plug-in in
pre-clean phase. When I tried, I got NullPointerException from maven as
belows:
mvn clean
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO]
If you're new to maven you might want to start with using maven 2. It looks
(to me) like you are using version 1.
Jim
On 9/18/07, Choudhary, Jay [EMAIL PROTECTED] wrote:
All
I am new to maven..
My maven.xml is below at top level
project default=build xmlns:m=jelly:maven
Z: when you say that it's not working, do you mean on the .classpath file
for eclipse?
Does this seem like the same problem as you are having:
http://jira.codehaus.org/browse/MECLIPSE-79#action_99459
Jim
On 9/18/07, Wayne Fay [EMAIL PROTECTED] wrote:
Google for maven exclusion.
Wayne
On
I use Wicked Shell to run Maven from within Eclipse.
http://www.wickedshell.net/
Cheers
Peter
sieg wrote:
I've been google searching and reading the books on devzuz and
www.sonatype
http://www.sonatype/ .
However, I cannot figure out how to run maven goals from eclipse. I want
to
Thanks, Carlos
I'm running Eclipse SDK 3.3.0.
I have created a new empty project. I use maven to download junit4.0.jar
into the Maven2 Dependences.
I've tried adding a unit test as described at
http://m2eclipse.codehaus.org/Maven_2.0_Plugin_for_Eclipse.html
I'm using junit4 instead of 3.8.
you should ask in the mailing list of the eclipse plugin you are using
On 9/18/07, siegfried [EMAIL PROTECTED] wrote:
Thanks, Carlos
I'm running Eclipse SDK 3.3.0.
I have created a new empty project. I use maven to download junit4.0.jar
into the Maven2 Dependences.
I've tried adding a
Hi -
I'm struggling a little with setting up an inhouse repository.
I've been looking at:
http://www.sonatype.com/book/repository.html#creating_an_in-house_repository
but the documentation about settings.xml seems to cause an error:
Error reading settings.xml: Unrecognised tag:
as you can see in http://maven.apache.org/eclipse-plugin.html there
are two different plugins M2Eclipse and Q for Eclipse (Q4E), none of
them are Apache Maven projects
The mailing lists for Q4E are in the main page http://code.google.com/p/q4e/
On 9/18/07, siegfried [EMAIL PROTECTED] wrote:
Sorry, I assumed the eclipse plug in was the same mailing list since
http://maven.apache.org/eclipse-plugin.html and
http://m2eclipse.codehaus.org/Maven_2.0_Plugin_for_Eclipse.html are clearly
on the maven sites. I did a google search and could not find the email list
and it is not even listed on
Try mvn -X clean. It might provide more detailed debugging information
that will point to the real underlying issue.
Wayne
On 9/18/07, Yan Huang [EMAIL PROTECTED] wrote:
Another question: it seems that I cannot use this exec plug-in in
pre-clean phase. When I tried, I got NullPointerException
Hi,
I am usingTestNG for my testing framework. I have some print
statements I'd like to see in the test output. However, I don't see
any. I assume I need to configure surefire somehow. Currently, I have
no configuration at all. It's just straightforward pom file with
TestNG 4.7 as a dependency.
79 matches
Mail list logo