It isn't possible actually, it will be a feature of 1.1
Emmanuel
Gautham Pamu a écrit :
Hi Everyone,
I noticed continuum only extract the changes from scm between builds. Is it
possible to configure continuum to blow away
the existing source tree and extract everything again from scratch ?
It isn't possible to modify the group name for now. The group name is, for current project you add
and subproject, the name of current project.
Emmanuel
[EMAIL PROTECTED] a écrit :
Hi All,
I had maven2, and continuum setup then i deleted all those projects.
then tried adding new projects,
What is your url provided in add screen?
Emmanuel
Aaron Freeman a écrit :
Thanks for the reply! I uncommented the allowedScheme for the type
'file', and then tried the path the way you suggested (and any other
way I could think of), and it still says You must provide a valid
URL. I'm not sure
Hello,
I'm almost finished setting up the war file for my project. Just finishing the
last details...
Can anyone explain to me how I can add a file (forexample)
[projectroot]/zoo/foo.xml to the WEB-INF (in my war).
I tried:
resource
targetPathWEB-INF/targetPath
Hello,
I'm almost finished setting up the war file for my project. Just finishing the
last details...
Can anyone explain to me how I can add a file (forexample)
[projectroot]/zoo/foo.xml to the WEB-INF (in my war).
I tried:
resource
targetPathWEB-INF/targetPath
Hello,
I'm almost finished setting up the war file for my project. Just finishing the
last details...
Can anyone explain to me how I can add a file (forexample)
[projectroot]/zoo/foo.xml to the WEB-INF (in my war).
I tried:
resource
targetPathWEB-INF/targetPath
Place under webapp/WEB-INF/zoo/foo.xml in ur build structure
Thanks Regards,
A.S.KRISHNAN,
AZTEC, BANGALORE.
-Original Message-
From: Raymond Domingo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 2:14 PM
To: users@maven.apache.org
Subject: maven-war-plugin howto add files to
Thanks for your response.
Yes, of course that is one way to solve it.
But I need to prevent modifications of file structure, because
there are some dependencies on this file structure. So this isn't an option at
this time.
We might refactor the file structure later on...
Any other hints... ?
Thanks for your response.
Yes, of course that is one way to solve it.
But I need to prevent modifications of file structure, because
there are some dependencies on this file structure. So this isn't an option at
this time.
We might refactor the file structure later on...
Any other hints... ?
Thanks for your response.
Yes, of course that is one way to solve it.
But I need to prevent modifications of file structure, because
there are some dependencies on this file structure. So this isn't an option at
this time.
We might refactor the file structure later on...
Any other hints... ?
Hi Wayne,
your solution is almost the way I tried to solve the problem. And I can see
that it will work.
But how do you solve the default application problem? For instance during
development, local tests, ... It's not possible to filter the HTML, XML, ...
files during IDE driven tests (as far as
+1
I would also be interested to hear more about this. Actually, I'm kind
of surprised that compilation of the tests is excluded as well, since I
had the impression that compilation is done by the maven-compiler-plugin
(compiler:testCompile) in the test-compile phase. (If it is not, then
maybe
Can any one tell me how to import maven subprojects into Eclipse IDE??
I mean ..in the following format
Underneath my main Project,
i should be able to add other different maven projects
+- metrics-commons
|_ project.properties
|_ project.xml
+- metrics-core
|_ project.xml
+- metrics-master
Try maven-multiproject-plugin or the reactor
2006/3/28, raja bangaru [EMAIL PROTECTED]:
Can any one tell me how to import maven subprojects into Eclipse IDE??
I mean ..in the following format
Underneath my main Project,
i should be able to add other different maven projects
+-
Getting the following error::
A plugin to handle the building of multiple projects within maven. Requires
Maven 1.0 RC3
i'm currently using maven 1.0.2
do i need to completely move into maven 1.0RC3 for this plugin..Or any other
workaround
On 3/28/06, A. Alonso Dominguez [EMAIL
I am facing same problem. have you found any solution? If yes could you
shares it.
Umar
--
View this message in context:
http://www.nabble.com/-m2-cobertura-from-sandbox-t808618.html#a3629113
Sent from the Maven - Users forum at Nabble.com.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
OK,
So I've gotten the hibernate plug-in doing some stuff for me. I've got
it creating POJOS from foo.hbm.xml files and I have it creating
hibernate.cfg.xml from my database.properties files and the various
foo.hbm.xml files.
Groovy.
So now I want
Hi Taavi,
where can I get the hibernate3-maven-plugin ?
I found some documentation on it on codehaus.org but I didn't see any binary
distribution of it.
I also checked the source repository at svn.mojo.codehaus.org but the source
distribution seems also incomplet regarding to its dependencies.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter L. Berghold wrote:
mvn hibernate:schema-export
Actually, that command line is
mvn hibernate3:schema-export
Odd thing is when it is done spewing maven tells me the build was a
success. :-O
- --
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
O. Bigalk wrote:
where can I get the hibernate3-maven-plugin ?
Add the following to your pom.xml
pluginRepositories
pluginRepository
idsnapshots/id
urlhttp://snapshots.maven.codehaus.org/maven2/url
/pluginRepository
I too have had to override the JAVA_HOME JDK, though in my case it was to
compile for 1.3 rather than 1.4. What you seem to be missing is setting the
bootclasspath to the correct Java runtime library. Below is the
configuration I use. I hope this helps.
plugin
Could it be possible to set this rt.jar as a (system ?) dependency,
something like this :
bootclasspath${getDependencyPath(java:rt:1.3)}/bootclasspath
Siegmann Daniel, NY a écrit :
I too have had to override the JAVA_HOME JDK, though in my case it was to
compile for 1.3 rather than 1.4.
Hi,
I'm considering to work on a maven2 version of the maven-javanet-plugin. To the
current users of the maven1 version, is there anything to improve or make
better? otherwise I will follow the goals and principles of the current version.
- https://maven-javanet-plugin.dev.java.net
Andreas
Hello Peter
For the jdbc drivers, you need to use it as an extension for it to be
available to hibernate as described here:
http://mojo.codehaus.org/hibernate3-maven-plugin/howto.html
Regards
Johann Reyes
-Original Message-
From: Peter L. Berghold [mailto:[EMAIL PROTECTED]
Sent:
Hi Bigalk
Right now the hibernate3-maven-plugin is available as a snapshot only and it
is a maven 2.x plugin.
You can find information about the plugin here:
http://mojo.codehaus.org/hibernate3-maven-plugin
If you have any other question, please feel free to ask.
Regards
Johann Reyes
This should work better :
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
compilerVersion1.3/compilerVersion
source1.3/source
target1.3/target
Many Thanks John.
2006/3/28, John Casey [EMAIL PROTECTED]:
The Apache Maven team is pleased to announce the release of Maven 2.0.3.
You can download it here:
http://maven.apache.org/download.html
This is the third maintenance release of the redesigned 2.0 application,
and brings with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johann Reyes wrote:
http://mojo.codehaus.org/hibernate3-maven-plugin/howto.html
Just to be sure of myself here, from what I read here I should have
inside my build.../build block I should have:
extensions
extension
You don't have to do a full site goal you can just do
mvn sure-report:report
and you'll get the HTML report alone in the target/site directory.
On 27/03/06, Venkatagopalaraju [EMAIL PROTECTED]
wrote:
Thank youI am able to generate surefire-report in html format by using
this mvn site
David,
Sorry for the very late response. I've made some changes to the
maven-jetty6-plugin recently that will make it a lot easier to
substitute logging at runtime.
Currently, this is only checked in to svn, but I will push a snapshot
later today.
Here's a snippet from the documentation:
Wayne,
Does offline mode help?
mvn jetty6:run -o
cheers
Jan
Wayne Fay wrote:
Just generate them! ;-)
No really, this has been annoying to me as well... Not sure how we've
got artifacts in the official Maven repo without corresponding poms,
but I have noticed this for all (??) Tomcat
Does anyone have a working example of multiproject site generation with
Maven2? I have gone around and around with this one and cannot get it
to work. I am able to generate all of the project sites by invoking the
site goal of the parent project and I'm able to deploy all of the sites
to a
Hi
I tried to fork a new lifecycle in my basename.mojos.xml file as
described on
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
But I couldn't find out where to put the execute tag. I always got a parse
error.
Does anybody know where to put the execute tag or if there
Is that possible to ask continum to rebase the source code instead of
cleartool update?
Coz i want to build it based on baseline
Basically instead of continuum executing cleartool update command i want
it to use cleartoo rebase -baseline
is that possible in continuum?
Thanks,
Raghu
I'm seeing this in both 2.0.2 and 2.0.3, but not in 1.0.2. I specify a
version for a dependency in the parent pom.xml. As the build goes on, one
or more dependencies will be processed in the modules that have earlier
versions, and those earlier versions override the version I specified.
For
Raghu,
maven-scm-clearcase-provider currently does not support UCM. You are well
come help out.
I am sure there are other users will jump in once we have some one to lead
this effort ;-)
-D
On 3/28/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Is that possible to ask continum to rebase
Definitely sounds like a bug to me... File a JIRA report with a simple
pom.xml that clearly demonstrates the problem and your log.
Wayne
On 3/28/06, Ray Ward [EMAIL PROTECTED] wrote:
I'm seeing this in both 2.0.2 and 2.0.3, but not in 1.0.2. I specify a
version for a dependency in the parent
This is probably a fundamental question for most of you...
Considering the following project structure...
root
-- commons
-- webapp
-- sub module A
-- sub module B
-- stand-alone app
... since the webapp project has a dependency on commons (as does the
stand-alone app), how do I
Hi,
I'm using Maven2 to build a war for my webapp. It builds fine using mvn
install but when I try to deploy it in my servlet container (tomcat 5028) the
app will not load and it gives me an error invalid header field. I looked at
the manifest file produced by the build process and
Perso I do as this.
root
-- commons 1.0-SNAPSHOT
-- webapp
-- sub module A (depends on commons 1.0-SNAPSHOT)
-- sub module B (depends on commons 1.0-SNAPSHOT)
-- stand-alone app (depends on commons 1.0-SNAPSHOT)
In the root directory, mvn clean test-compile. (in order to verify all
Ok
Thanks for your reply,
I will download and start seeing the source to see how can i help on this
some time in next month.
Thanks,
Raghu
dan tran [EMAIL PROTECTED]
03/28/2006 11:36 AM
Please respond to continuum-users
To: continuum-users@maven.apache.org
cc:
I appreciate that many people tried to help out with suggestions, but
none of them seemed to work.
I have created a test case that shows how the JUnit test fails under
Surefire (with Maven 2.0.3), and succeeds in Eclipse using Maven
2.0.3's eclipse:eclipse, both using the same pom.xml.
Hi all,
I followed Boris Lenzinger's suggestions dated March 19 (Re: [M2] Maven
Generated Reports). I am unable to generate any coverage of my
projects. Assuming it was something about my multiproject build
(because running site on the parent pom.xml still generates a
Cobertura error), I
-Original Message-
From: Wood, Kevin [mailto:[EMAIL PROTECTED]
Subject: Help with multiproject site generation?
Does anyone have a working example of multiproject site generation with
Maven2?
snip
Kevin,
In order to get my muliproject site documentation to be cohesive, I
performed
Daun,
Thanks for the possible solution. I'm experiencing this issue
as well. I was expecting an automated way of maintaining the site
structure. It would be much nicer if the site and site-deploy goals
supported multiprojects in someway. Does anyone else know if they do?
Are Kevin,
Filed MNG-2185 regarding this issue.
Thanks a lot!
Jian
--
View this message in context:
http://www.nabble.com/-m2-Access-to-%22maven-archetype-trunk-maven-archetype-core%22-is-forbidden-t1352641.html#a3635816
Sent from the Maven - Users forum at Nabble.com.
Yes, I still have an empty WEB-INF/lib directory.
-- Forwarded message --
From: Stephen Duncan [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Date: Mon, 27 Mar 2006 17:55:59 -0500
Subject: Re: Webapp not recognizing external dependencies that are in
classpath
When
As far as I'm aware, this is the only current solution. Its really not
that painful, how often are you adding modules to your projects?
This has been discussed several times on the user list. IIRC no one
has mentioned another solution.
Of course any user is welcome to contribute patches that add
Thank you both for your replies. I tried it out and now it can't find the
javax.crypto package. I took a look at rt.jar from 1.4.1 and indeed it's
not there. From the Sun website, it says that crypto is part of 1.4 so it
should be there. Does this mean I need to add another jar to the
Thanks Olivier.
How do I represent this dependency in my webapp pom.xml? I have the following
dependency declaration, but M2 tries to download the jar instead of resolving
that this is internally provided dependency.
dependency
groupIdmy-common/groupId
artifactId
Sorry for the noise, I just found the package I was looking for. It's in
the jce.jar, in the jre/lib directory. And yes, it's separated by
semicolons. Thanks for the replies though. The bootclasspath thing
worked :)
Would it be safe to include all jars from the lib directory like
FWIW,
Removing the cobertura:clean execution below from my pom means I get
results every time I run site now, but they are cumulative. So if a
line gets called twice during a test, every time I run site, the line
count increments by 2. And if I remove a test for that line, it still
shows the
I'm using dependency:unpack to download and explode a zip from the repo.
Now I need to get those files into the war file I'm building, but I'm not
seeing a way to do this. The warSourceDirectory allows only a single
directory (at least according to the docs), and I already have files in
the
I am trying to use Ant's mail task within my Ant-based plug-in. The mail
task requires mail.jar and activation.jar. I have included these as
dependencies section of my plug-in's pom.xml. However it appears that it
is not working. Has anyone tried something similar? Any pointers would
be very
For what it's worth, I changed the configuration a bit, just in case
Surefire's alteration of the java.class.path was relevant. This code
provides explicit paths to the EJB3 deployer, for the configuration
files and for the location of the EJBs.
Change
Actually I've been working on getting these Jars uploaded into ibiblio
by way of Project Glassfish.
I've had some conversations with people from Sun on the Glassfish dev
list recently and just opened an RFE on their bug tracker for this
issue. They would like to satisfy this request but are
On 3/28/06, Wilfred Springer [EMAIL PROTECTED] wrote:
I would also be interested to hear more about this. Actually, I'm kind
of surprised that compilation of the tests is excluded as well, since I
had the impression that compilation is done by the maven-compiler-plugin
(compiler:testCompile)
Hi Chris,
I'm not sure if this is the BEST way to do it, but what I do is create a
parent pom.xml in the root directory. Then add commons, web-app, and
stand-alone app as modules in that parent POM. Maven should figure out that
since webapp and standalone app are dependent on the commons module
Dan,
This is what I used:
public void setUp() throws Exception {
EJB3StandaloneBootstrap.boot(null);
deployer = new EJB3StandaloneDeployer();
deployer.getDeployDirs().add(makeURLForDir(target/test-classes));
Okay, so this just took me about 3 wasted hours to figure out. Turns out other
jars that were packed in my WAR had multiple line descriptions in the jar
MANIFEST that was copied form the pom description tag in maven. When tomcat
tried to load the war artifact got some lousy invalid header
I think the trick is to unpack the downloaded ZIP into the right directory.
I have the following in my pom. Note the outputDirectory:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIddependency-maven-plugin/artifactId
executions
Hi,
I intended to develop my own rar-plugin and/or ear plugin for my own
packaging.
What I found was that Maven2 runtime by default will always invoke
maven-rar-plugin
for a rar project at package phase, the same as maven-ear-plugin for a ear
project
which will overlap with my rar-plugin
On Tue, 28 Mar 2006, KC Baltz wrote:
I think the trick is to unpack the downloaded ZIP into the right directory.
I have the following in my pom. Note the outputDirectory:
That might look like it works if you only use the exploded war, but the
files don't actually make it into the war
Hi Everyone,
I noticed continuum only extract the changes from scm between builds. Is it
possible to configure continuum to blow away
the existing source tree and extract everything again from scratch ?
--
-Gautham Pamu
Check this out to actually use another JDK
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
forktrue/fork
compilerVersion1.3/compilerVersion
executableC:/Program
I'm writing a plugin that, among other things, needs to know where exactly a
dependency came from; that is, a fully qualified URL to the remote repository
where the artifact was retrieved.
Seemed easy at first - write a mojo, iterate through project.getArtifacts(),
call
Hi All,
I had maven2, and continuum setup then i deleted all those projects.
then tried adding new projects, everything works fine, but the only
problem is its having the group name from my old project and i dont want
it that way is there a way to change it
Anyone please advice
Thanks,
Wayne,
Could you post the solution here? I have the same problem.
thanks in advance,
Fabbrício Lemos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Here's the content of the email I mentioned...
The maven-jar-plugin version 2.1-SNAPSHOT does not exist on ibiblio,
as you can see here:
http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-jar-plugin/
It only exists in the Codehaus Maven repo:
I actually hadn't run into the problem with Jetty, but instead with
JSPC plugin, which has dependencies on the same Tomcat artifacts,
which are still missing pom.xml files last I checked... So I'm
probably not the right person to answer this Jetty6 question. ;-)
Boris??
Wayne
On 3/28/06, Jan
Hello,
I can't use the $P4USER setting for the machines, and need to use a property
for it/specify it to the Perforce SCM plugin.
The format on the docs (http://maven.apache.org/scm/perforce.html) says:
scm:perforce:[EMAIL PROTECTED]:[port:]path_to_repository
If I use the SCM URL format that
OK, I got this to work by changing:
phasepackage/phase
to:
phaseprocess-resources/phase
that phase being the only one that made any sense at all and that comes
before package, but it feels like a hack. If there's a better way, I'm all
ears.
Also, the whole dependency plugin seems
hi
i'm using maven 1.0.2 genapp plugin
it does'nt conform to the standards that
src/java source java files
src/test test files
but when i change the unitSourceDirectory and unitTestDirectory tags in my
POM,
it its not creating this structurei want which is as follows.
Upgrade your genapp plugin:
maven plugin:download
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
-DgroupId=maven -DartifactId=maven-genapp-plugin -Dversion=2.3
HTH,
-Lukas
raja bangaru wrote:
hi
i'm using maven 1.0.2 genapp plugin
it does'nt conform
Thanks lucas
On 3/29/06, Lukas Theussl [EMAIL PROTECTED] wrote:
Upgrade your genapp plugin:
maven plugin:download
-Dmaven.repo.remote=http://www.ibiblio.org/maven,
http://cvs.apache.org/repository/
-DgroupId=maven -DartifactId=maven-genapp-plugin -Dversion=2.3
HTH,
-Lukas
raja
I have also tried this and came to the same conclusion - properties in the
version tag are not expanded. I dont know if this is intended behaviour.
-- jarl
--
View this message in context:
http://www.nabble.com/Passing-Version-number-thru-properties-in-depdency-section-t1326797.html#a3644433
my maven-2.0.3 shows ${project.build.directory}=target. Instead of the
fullpath
this surely breaks the reactor build/test.
Does any one encounter the same problem?
-D
If that is the case, that is certainly bad - but I know we've had that
regression before, and I thought there were tests in to enforce it, so
I'd like to see a test case...
- Brett
On 3/29/06, dan tran [EMAIL PROTECTED] wrote:
my maven-2.0.3 shows ${project.build.directory}=target. Instead of
I'd like to add JRE rt.jar as a dependency to my POM, so that I can
use it in compiler plugin configuration :
bootclasspath${pom.getDependencyPath('jara:rt')}/bootclasspath
As this jar should be devivered on the system, I've set scope to system :
dependency
groupIdjava/groupId
HI
i'm goint to start a maven project in Eclipse IDE...
i've 4 projects which share the jar and ear files
How can i start the application???/
Any guidance from people who have implemented multiprojects with maven???
Help pls
Hi all,
the eclipse plugin seems to have a similar problme as the archetype plugin.
It fails if the command is executed in a directory with a pom.xml file:
C:\dev\trunk\mvn eclipse:add-maven-repo -Declipse.workspace=C:\dev\work\test
[INFO] Scanning for projects...
[INFO]
systemPath${java.home}/../rt.jar/systemPath
That's how it's supposed to work.
in my opinion it'd probably be better in the repository also, but
anyway it's not redistributable.
On 3/29/06, Nicolas De Loof [EMAIL PROTECTED] wrote:
I'd like to add JRE rt.jar as a dependency to my POM, so that I
Can anyone tell me
what plugins r required for multiproject build??? in eclipse IDE???
like
mulitproject
dashboard...etc..
here you go, single pom would do
?xml version=1.0?
project
modelVersion4.0.0/modelVersion
!--
parent
groupIdtest/groupId
artifactIdparent/artifactId
version1.0-SNAPSHOT/version
/parent
--
packagingjar/packaging
groupIdtest/groupId
artifactIdchild/artifactId
I also have considered adding it to my private repository.
Would you consider using java groupId a good practice (according to
SUN jar conventions), or may I use com.sun to put SUN JRE jars
in my repo ?
Carlos Sanchez a écrit :
systemPath${java.home}/../rt.jar/systemPath
That's how it's
Confirmed :(
2.0.3 = project.build.directory:target
2.0.2 = project.build.directory:C:\Documents and
Settings\csanchez\Local Settings\Temp\target
You know what to do next, don't you? ;)
On 3/29/06, dan tran [EMAIL PROTECTED] wrote:
here you go, single pom would do
?xml version=1.0?
project
FWIW I've seen this problem when the pom is encoded in a charset
different than the one declared in the xml header (UTF8 by default).
Under Sun's JDK there's no error but under IBM JDK it crashes with
sun.io.MalformedInputException
On 3/28/06, Gautham Pamu [EMAIL PROTECTED] wrote:
mvn install or
http://jira.codehaus.org/browse/MNG-2186
On 3/28/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
Confirmed :(
2.0.3 = project.build.directory:target
2.0.2 = project.build.directory:C:\Documents and
Settings\csanchez\Local Settings\Temp\target
You know what to do next, don't you? ;)
On
in the mean time you can create a shell project which calls mvn
scm:bootstrap to fetch brand new source tree for each invocation.
-D
On 3/28/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
It isn't possible actually, it will be a feature of 1.1
Emmanuel
Gautham Pamu a écrit :
Hi Everyone,
please do create standard pom.
-D
On 3/28/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
I would say com.sun
Also if you want to make poms i'm open to put them in ibiblio for
better consistency.
On 3/29/06, Nicolas De Loof [EMAIL PROTECTED] wrote:
I also have considered adding it to my
90 matches
Mail list logo