Hi all
I think there is a problem with the following command
mvn archetype:create -DgroupId=com.al.su -DartifactId=DOMtr
-DarchetypeArtifactId=maven-archetype-webapp
When run under windows or unix all I get is the follwoing directory
layout (note missing test directories)
..DOMtr
src
Hello,
I used the same project source files, local repository and Maven
in Red Hat AS 4.0, language is zh_CN.UTF-8.
In the box, antrun task executed well.
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hi,
When I said LANG, I meant Language
I see, but I didn't know what's concreted
Hello,
I would like to create WebSphere 6.1 specific EJBs through Maven. Wondering
is there any specific plug-in is available.?
Any information or suggestions are appreciated.
Thanks in advance,
Bala.
Hi,
I have tried out a little bit and encountered something I don't understand.
I used the following pom, but when I try to execute the integration test, it
does not seem to test the files which I listed in the integration-test
execution
project
modelVersion4.0.0/modelVersion
Hi,
I have the following pom
project
modelVersion4.0.0/modelVersion
groupIdcom.xxx.course/groupId
artifactIddosbox-simple/artifactId
packagingjar/packaging
version1.0-SNAPSHOT/version
dependencies
dependency
Hello,
I made some test with Linux -- Red Hat AS 4.0.
[1]I set system language to zh_CN.UTF-8,
then I created a text file which name included Chinese characters.
I run mvn package to make war file, and finished successfully.
I unzipped the war file and found that the specific file's name was
You can not change the order of the phase even thou you explicitly set them
in executions. Test phase always before integration phase
On 4/30/07, iDuke [EMAIL PROTECTED] wrote:
Hi,
I have the following pom
project
modelVersion4.0.0/modelVersion
Hi,
I used the same project source files, local repository and Maven
in Red Hat AS 4.0, language is zh_CN.UTF-8.
In the box, antrun task executed well.
From the test, it means that the trouble is due to system environment.
But I cannot imagine why maven-antrun-plugin isn't independent to OS,
I
In the end, I suggested that the outputDirectory for the only fileSet
was .. When it came to untarring it on the destination host tar
ignored the bit of the directory tree which would have been empty
(hoorah!)
I think you can gauge a lot about my frustration from the pom level code
in the
Ok I can understand that the test phase is executed all the times when i
execute the integration test. But my problem is, the integration test
execution isn't executed at all. I have
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\Documents and Settings\phk\My
[INFO]
Hello,
I'm having a terrible time trying to convert a project that uses Ant to
one that uses maven (2.0.6). The classpath in my build.xml has a specific
ordering of Jars that must be followed in order for it to compile. I listed
the Jars (in order) as dependencies in my pom.xml. I then
Can someone please assist? I am trying to configure the compile-time output
-- the default output is way too verbose for my tastes and vim can't parse
it to list just the errors.
I have tried:
- Putting MAVEN_OPTS='-Dlog4j.configuration=log4j.properties' in ~/.mavenrc
- Putting
On Mon, April 30, 2007 11:15 am, gridplan wrote:
I'm having a terrible time trying to convert a project that uses Ant
to
one that uses maven (2.0.6). The classpath in my build.xml has a
specific
ordering of Jars that must be followed in order for it to compile.
To be honest, I think
If someone doesn't answer your questions right away, please don't send it
again! People might be busy, or maybe nobody knows the answer(s) to your
question.
I'll see if I can answer parts of your mail though.
On Saturday 28 April 2007 23:01, Maarten Volders wrote:
Hi,
I have the following
Hello again.
So I've gone through a release cycle for all of my modules, which was
a long process, and ironed out a few cycles that had crept into the
dependencies. Now I am at the stage where I have two modules that
create WAR files and I have pursued my original suggestion of creating
another
Relocate the dependencyManagement-part to the dependencies, I think that
should do the trick.
dependencies /
dependencyManagement
dependencies
dependency
groupIdcom.example.someGroup-A/groupId
artifactIdwebapp-A/artifactId
typewar/type
Is the source code for maven 2.0.6 available?
The download sites only seem to go up to 2.0.5:
http://mirrors.dedipower.com/ftp.apache.org/maven/source/
[ The reason I want the code is because I'm getting some odd errors with
a multi-project build. Our tree has client and web-service child
Excellent. That's getting the WAR files into the Zip.
I could then do a little tweak to rename my war files to something
more consistent with the installation documentation I'm about to
write!
dependencySets
dependencySet
includes
includewebapp-A-*war/include
Thanks for the feedback, It was not my intetion to post multiple times, but
I posted the first time, I didn't see anything appearing. So a reposted
because I thought something was wrong with my account :-) But it seems it
took a while before it was on the list ... therefore I apologize!
Grtz
On
No problem, just wanted to make sure you knew.
I hope you did see that I tried to answer some of your questions as well, so
don't just read the 'insulting' part of my mail! ;-)
On Monday 30 April 2007 13:34, Maarten Volders wrote:
Thanks for the feedback, It was not my intetion to post multiple
Hi all
I'm getting compiler errors when build using multiproject:site, so
that I neede to run multiproject:intall before, what then solved the
problem.
Just to clarify my understanding, the multiproject:site is not
suppose to also compile all of the projects? do I need to do it in a
different
Might not help, but just in case:
shouldn't you add the following headlines in your pom.xml??
best regards,
?xml version=1.0 encoding=UTF-8?
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
Might not help but just in case:
shouldn't you add the following headlines in your pom.xml??
?xml version=1.0 encoding=UTF-8?
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
No, did not work.
copernic Jeremy wrote:
Might not help, but just in case:
shouldn't you add the following headlines in your pom.xml??
best regards,
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
No, did not work.
copernic Jeremy wrote:
Might not help, but just in case:
shouldn't you add the following headlines in your pom.xml??
best regards,
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
No, did not work.
copernic Jeremy wrote:
Might not help, but just in case:
shouldn't you add the following headlines in your pom.xml??
best regards,
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
No, doesn't work :-(
copernic Jeremy wrote:
Might not help but just in case:
shouldn't you add the following headlines in your pom.xml??
?xml version=1.0 encoding=UTF-8?
project xmlns=
http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Hi Graham,
I don't think I can disentangle the dependencies so easily. With
WebLogic server, the way one sets up a build environment is to source a file
(usually setDomainEnv.cmd or setDomainEnv.sh -- the same file incidentally
their app server sources on start-up). It adds a dozen or so
Is there a way to put a timestamp in the generated maven site? I read
the thread and page below, but i couldn't find how to enable the site
to have the date and/or time in it(s) page(s).
I'm using maven 1.1
http://maven.apache.org/maven-1.x/plugins/site/changes-report.html
Looks pretty simple to me... The reason you don't see all test-runs is because
some tests have errors in them! Maven (per default) aborts the build after an
error has occured...
Try running maven with '-Dmaven.test.failure.ignore=true' and see if all test
are run now.
mvn integration-test
The Javadoc plugin is currently broken for doclet usage. I fixed the bug
and carlos applied my patch,
http://jira.codehaus.org/browse/MJAVADOC-115 - vincent is taking time to
work on xwiki so won't be doing any plugin maintenance. Any idea when
this will be released, who can do this now with
Check the maven.xdoc.date property of the xdoc plugin:
http://maven.apache.org/maven-1.x/plugins/xdoc/properties.html
(the same page, like every official maven page, also gives an example of
its use, see the bottom).
HTH,
-Lukas
emerson cargnin wrote:
Is there a way to put a timestamp in
multiproject:site only runs the site goal for all sub-projects, if any
of those depend on a certain artifact to be installed, you need to do
that separately. Depending on your setup, you might try to enforce the
installation via a preGoal, but I wouldn't recommend that in general.
HTH,
-Lukas
Oh no such a stupid thing... Thanks, now it works!
MALICE wrote:
Looks pretty simple to me... The reason you don't see all test-runs is
because
some tests have errors in them! Maven (per default) aborts the build after
an
error has occured...
Try running maven with
We are pleased to announce the Maven IDEA Plugin 1.7 release!
http://maven.apache.org/maven-1.x/plugins/idea/
IDEA Plugin for Maven.
===
Changes in this version include:
New Features:
o Autodetect which version
We are pleased to announce the Maven Jar Plugin 1.8.1 release!
http://maven.apache.org/maven-1.x/plugins/jar/
Plugin for creating JAR files.
===
Changes in this version include:
Changes:
o Change the default
Hi,
I have a Maven Porject wich contains 2 sourceDirectories :
source/A
Source/B
I want to compile them separately in order to obtain :
target/A
target/B
I know that a Maven-Build-Helper Plugin exists, (he add the
sourceDirectories to the RootSourceDirectories). But with this solution i
have
We are pleased to announce the Maven Jalopy Plugin 1.5.1 release!
http://maven.apache.org/maven-1.x/plugins/jalopy/
===
Changes in this version include:
New Features:
o Add a property that controls the source code
We are pleased to announce the Maven Javadoc Plugin 1.9 release!
http://maven.apache.org/maven-1.x/plugins/javadoc/
===
Changes in this version include:
New Features:
o Add specifying params with alternate
We are pleased to announce the Maven MultiChanges Plugin 1.3 release!
http://maven.apache.org/maven-1.x/plugins/multichanges/
Produce release dashboard for subprojects.
===
Changes in this version include:
New
On Mon, Apr 30, 2007 at 12:12:02PM +0100, Thomas Leonard spake thus:
Is the source code for maven 2.0.6 available?
The download sites only seem to go up to 2.0.5:
http://mirrors.dedipower.com/ftp.apache.org/maven/source/
You can grab the code directly from the Subversion repository like
Others have asked for this previously, and IIRC, the answer was you
can't do this yet/right now. There's a bug filed to allow refinement
of the log messages (see the link below) and I believe they plan to
address this in 2.1.x, not 2.0.x.
http://jira.codehaus.org/browse/MNG-2570
Wayne
On
Dear maven users,
I'm stuck on a problem. I want to execute a plugin from the command line but
not the released version but the snapshot version.
How do I do that?
I added the link to the snapshot repository. No problem their.
But when i execute the following command :
mvn
As a Weblogic customer, I'd complain until they resolve this issue.
I agree entirely with Graham -- the fact that your dependency JARs
must be ordered in a particular way to get a successful build should
not be acceptable to you.
Wayne
On 4/30/07, gridplan [EMAIL PROTECTED] wrote:
Hi Graham,
This is what I did:
1) Downloaded Jmeter-2.2.jar and the POM file.
2) Deployed to a remote repository.
3) Downloaded the maven-jmeter-plugin and deployed in the same remote
repository.
4) In the project that I need it, I have added the dependency and the build
section in my POM (just as the
Interestingly, this same thing has been happening to me very regularly under
Linux (FC6 virtual instances). It seems to be that at some point in the
night, the web server stopped responding and once that happened, the build
would never try again. I suppose continuum assumed that there was no
If that's your whole log, then you're not pointed to the maven SNAPSHOT repo
for plugins. The message indicates that you haven't defined any new
references to the snapshot repo as indicated by the fact that only central
is listed as a repo to look in and central doesn't host plugin snapshots (as
I think that a lot of WS-specific things are done involves using the IBM JDK
to run the Websphere ant tasks, according to some co-workers who have been
working with WS but don't seem to have a lot of time for full disclosure. I
recently started giving this (very cursory) attention, but I'm
Thanks for taking the time to answer. I thought someone must have asked that
before.
Wayne Fay wrote:
Others have asked for this previously, and IIRC, the answer was you
can't do this yet/right now. There's a bug filed to allow refinement
of the log messages (see the link below) and I
-- Initial header ---
From : [EMAIL PROTECTED]
To : Maven Users List users@maven.apache.org
CC :
Date : Mon, 30 Apr 2007 09:47:48 -0500
Subject : Re: How to load Snapshot plugins from the CLI
If that's your whole log, then you're not pointed to the
You asked before and didn't get an answer. And I doubt you'll get the
answer you're looking for this time either.
I've never seen this issue reported, and you haven't provided enough
information to really help you much. Here's some things to try/look
at:
1. Try mvn -X deploy... and see what kind
I don't know why its not working for you, but here's a possible workaround...
Make a new pom, add the snapshot repo, and add the snapshot
dependency. Run mvn package so it will download etc everything.
Then go back to this project and try running the mvn install using the
snapshot again. And
For others with the same problem: upgrading maven-assembly-plugin from
version 2.1 to 2.2-beta-1 fixed it for me. I don't know why.
On Mon, 2007-04-30 at 12:12 +0100, Thomas Leonard wrote:
[ The reason I want the code is because I'm getting some odd errors with
a multi-project build. Our tree
Two possible reasons for this:
1. You've found a bug. Congrats! Go check JIRA and see if its been
filed already. If not, file a new bug.
2. Maven best practices suggest that you create all Java code etc in
JARs which are tested in their own project and then bundled along with
the WAR. The only
If you have 2 source-dirs that should be seperately compiled, I think you DO
need to split your project... Normally it shouldn't be a problem to let
seperated sources be compiled to the same target.
What kind of weird requirement do you have that you need something like this?
If it is for
I'll assume you don't want to split the project because you're using
CVS or don't want to break your existing Ant build scripts, or
something along those lines. While there are ways to build complex
poms by specifying all the source paths etc that would allow you to
maintain the current project
-- Initial header ---
From : Wayne Fay [EMAIL PROTECTED]
To : Maven Users List users@maven.apache.org
CC :
Date : Mon, 30 Apr 2007 10:16:15 -0500
Subject : Re: How to load Snapshot plugins from the CLI
I don't know why its not working for you, but
Can we please all agree to only send messages to this list once??
I won't pick on anyone in particular but here's a few examples... in
recent threads I've received 6 messages but only 2 originals, so 4
dupes... another person sent the same (new) message 3 times with
slightly different subjects
On 4/30/07, gc134728 [EMAIL PROTECTED] wrote:
But apparently on the maven site they specify that when you want to run
snapshot versions from the cli you need to do something in your settings.xml
but they don't specify what. they could just mean a profile with the snapshot
repo defenition off
Thanks for your help.
The command mvn help:effective-pom showed me a pluginRepository with that
wrong URL in the super POM (which I didn't have access to it).
Wayne Fay wrote:
You asked before and didn't get an answer. And I doubt you'll get the
answer you're looking for this time either.
Eclipse does things for you automatically that Maven will not do
unless told specifically. So check your dependencies etc.
Perhaps Nawfel has some more ideas.
Wayne
PS- Please don't email me things like this directly, thanks.
On 4/30/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
I'm
Hi Mykel, Bala, and others.
There's two major concerns when it comes to WebSphere -- RMIC and deployment.
Mykel is right that for generating stubs and skeletons, using IBM's tools is
easiest.
We've used Peter Pilgrim's approach successfully. It's not pretty but it works.
Hi
I am new to Maven and want to run mvn jetty:run on a machine hat is not
connected to the Internet. I have all the repositories in my .M2 directory
and it all works fine when connected.
How do I configure to not download from the Net? I have tried searching
forums but finding it difficult as
use '-o' for offline-mode
On Monday 30 April 2007 19:15, winlaw wrote:
Hi
I am new to Maven and want to run mvn jetty:run on a machine hat is not
connected to the Internet. I have all the repositories in my .M2 directory
and it all works fine when connected.
How do I configure to not
MALICE wrote:
use '-o' for offline-mode
On Monday 30 April 2007 19:15, winlaw wrote:
Hi
I am new to Maven and want to run mvn jetty:run on a machine hat is not
connected to the Internet. I have all the repositories in my .M2
directory
and it all works fine when connected.
How do
Also, you could post the settings.xml that was giving you trouble (sans any
private info, of course).
On 4/30/07, Wayne Fay [EMAIL PROTECTED] wrote:
On 4/30/07, gc134728 [EMAIL PROTECTED] wrote:
But apparently on the maven site they specify that when you want to run
snapshot versions from
Doh! My fault. You have to specify a pluginRepository to get that
snapshot...sorry.
On 4/30/07, gc134728 [EMAIL PROTECTED] wrote:
-- Initial header ---
From : [EMAIL PROTECTED]
To : Maven Users List users@maven.apache.org
CC :
Date : Mon, 30 Apr
Anyone else have a problem with antrun ignoring overwrite=false? I
have the following in my pom
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
Hi Wayne,
Thank you for responding. I would say it's more a shortcoming of Maven
if I'm not given control over how Jars are ordered on the classpath.
Sometimes it's necessary to specify the order in which Jars appear on the
classpath. For example, the first Jar,
And don't forget to subscribe to the list or we have to moderate you, that's
why you don't see your message in the list... and that's why we (moderators)
can do errors and let pass several times the same email.
Arnaud
On 30/04/07, Wayne Fay [EMAIL PROTECTED] wrote:
Can we please all agree to
sorry for the noise ..
Arnaud
On 30/04/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
We are pleased to announce the Maven Jar Plugin 1.8.1 release!
http://maven.apache.org/maven-1.x/plugins/jar/
Plugin for creating JAR files.
Does anyone know when a release of the release plug-in will be made with
MRELEASE-134 fixed? Also, it seems that all (most) other plug-ins have
the same problem; I have observed this bug with the idea, assembly
dependency plug-in. It seems troubling to me that so many plug-ins have
this bug.
I disagree. The Maven model would simply require that Weblogic produce
updated JARs with the patches applied, and you would roll the versions
in the poms (or simply import a single pom provided by Weblogic where
they manage versions and artifacts for you) and rebuild your project.
This sounds far
We are pleased to announce the Maven Jar Plugin 1.8.1 release!
http://maven.apache.org/maven-1.x/plugins/jar/
Plugin for creating JAR files.
===
Changes in this version include:
Changes:
o Change the default
On 4/25/07, Trevor Torrez [EMAIL PROTECTED] wrote:
How would you post process a jar and what phase would that process
be bound to?
using the assembly plugin during the package phase ?
J
-
To unsubscribe, e-mail: [EMAIL
Arnaud,
Thanks kindly, i upgraded to 2.0.6 and it worked like a charm! Not sure what
you meant by
Arnaud HERITIER wrote:
But be careful, if you mix releases and snapshots, maven 2 will
automatically update your plugins with snapshots ...
Is there an issue here? Could you clarify what
Is there a way I can specify which snapshot build my project should use
in it's dependencies? I would like maven to ignore the latest snapshot
version, and refer to a specific snapshot build number.
Thanks!
-
To unsubscribe,
Does anyone have any suggestions on why the Hibernate SchemaExportTask
doesn't seem to work from within the Antrun plugin? The issue appears to be
that it can read the hbm.xml file but it's not finding the corresponding
.class file sitting in the same directory which is in the classpathref being
You need to specify the snapshot number(s) in the dependency(ies)
version tag(s), rather than simply ie 1.1-SNAPSHOT.
Wayne
On 4/30/07, Paul Gier [EMAIL PROTECTED] wrote:
Is there a way I can specify which snapshot build my project should use
in it's dependencies? I would like maven to ignore
Granted. There is obviously more than one way to roll out a fix. But in my
view it's not WebLogic's job to change their approach because Maven does not
embrace the notion of an ordered classpath. I don't hold as self-evident
the idea that Builds which depend upon the ordering of artifacts in
This seems like a ridiculously simple problem, but I'm pulling my hair out
just specifying a property on the command line. I'd like my properties
defined on the command line to register at all with various plugins, but I
just can't get it to work. For example, I'd like to do the following:
mvn
All,
I read the page in
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still
cannot make a simple ant task work in maven 2. Please help.
Here is my code:
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasedeploy/phase
Look at the maven book, there are lots of examples, for example:
http://www.sonatype.com/book/lifecycle.html
Regards,
Nico
On 4/30/07, Baz [EMAIL PROTECTED] wrote:
All,
I read the page in
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still
cannot make a simple ant task
I have seen several Jira entries for the problem where Maven 2 does not
guarantee the order of executions of the plugins. I know it was not
fixed in 2.0.5. My question is whether it was fixed in 2.0.6. If not,
does someone have an idea of when this will be fixed? I have
work-around solutions
Are you running the deploy goal or something else that executes that
phase? Also I'm not sure if you're supposed to define a target.
On Apr 30, 2007, at 8:48 PM, Baz wrote:
All,
I read the page in
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but
i still
cannot make a
Wayne Fay wrote:
Two possible reasons for this:
1. You've found a bug. Congrats! Go check JIRA and see if its been
filed already. If not, file a new bug.
If there is supposed to be a test directory then this is a bug and I'll
submit it in JIRA. I downlaoded a clean 2.0.6 install and ran the
Hi,
From the tests, I'm sure that Maven uses UTF-8 to make archive files by
default.
If that's true, then we'd better not to use non-ascii characters in file
names.
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hello,
I made some test with Linux -- Red Hat AS 4.0.
[1]I set
All,
I think I got it. I shouldnt put target line in the pom.xml. It works
without it.
Thank you.
A.
On 4/30/07, Jared Blitzstein [EMAIL PROTECTED] wrote:
Are you running the deploy goal or something else that executes that
phase? Also I'm not sure if you're supposed to define a target.
Roland Asmann wrote:
The release-plugin will update your POM to the version you specify as the
release-version. It will also commit and tag this verison in your SCM.
After that, it will prepare the POM for the new iteration (meaning it updates
the version once again) and commits that to your
On 4/30/07, Morgovsky, Alexander (US - Glen Mills)
[EMAIL PROTECTED] wrote:
I have seen several Jira entries for the problem where Maven 2 does not
guarantee the order of executions of the plugins. I know it was not
fixed in 2.0.5. My question is whether it was fixed in 2.0.6. If not,
does
90 matches
Mail list logo