Question regarding modular project

2007-08-16 Thread Boryan Yotov
Hi, I'm playing around adding a Maven 2.0 project, which contains of a parent projects and few child projects (defined as modules in the parent POM) into Continuum 1.0.3. Initially the number of modules is limited to one. If I a add the parent POM into Continuum, it also successfully resolves

Where to find build logging?

2007-08-16 Thread Gert Vanthienen
L.S., I have downloaded and installed Continuum (version 1.1-beta-1) and succeeded in adding a Maven 2 project. It has been checked out of the SVN repository successfully, but whenever it builds, I get this message on the Continuum console: jvm 1| 2007-08-16 15:13:42,653 [Thread-6] WARN

Re: Question regarding modular project

2007-08-16 Thread Boryan Yotov
Hi, please ignore my question. I've just found the related key issue at: http://jira.codehaus.org/browse/CONTINUUM-798 Regards, Boryan Am 16.08.2007 15:39, Boryan Yotov schrieb: Hi, I'm playing around adding a Maven 2.0 project, which contains of a parent projects and few child projects

Re: Continuum build has out of memory exceptions but wont die

2007-08-16 Thread Cla Emanuel Monsch
hi skip this information could be interesting for you: http://mail-archives.apache.org/mod_mbox/maven-continuum-users/200705.mbox/[EMAIL PROTECTED] cheers cla SkipWalker wrote: With no solution forthcoming, here's an update. I let the server alone while I went to lunch. When I came back,

Re: Question regarding modular project

2007-08-16 Thread Erik Drolshammer
Boryan Yotov wrote: Is there a way to tell Continuum 1.0.3 to reread the modules list of a certain project POM (without manually removing the project definition and adding it again) and to add all new entries to its list of projects? I use 1.1-beta-1 and have a similar question; When I add or

Re: Generating EJB home/remote interfaces with maven

2007-08-16 Thread Tim Kettler
Ok. I just made a quick test: 1.0-alpha-1 (as shown in the examples) seems to be to old and doesn't work with the current maven version. I found a snapshot version 1.0-beta-1-SNAPSHOT deployed on the codehaus snapshot repository [1]. This version seems to work. To be able to use the snapshot

Re: Buildnumber plugin and svn

2007-08-16 Thread DCVer
I've made a mistake, sorry. On the Continuum server there is version 1.1.4 of the svn, not 1.4.4.. ben short-2 wrote: I would ofr started by typing svn --version on you continuum server, to get the version. If your using a redhat box then chances are its svn version 1 or something. But

Re: Buildnumber plugin and svn

2007-08-16 Thread ben short
Right so it dosent support that flag. Time for an upgrade :) On 8/16/07, DCVer [EMAIL PROTECTED] wrote: I've made a mistake, sorry. On the Continuum server there is version 1.1.4 of the svn, not 1.4.4.. ben short-2 wrote: I would ofr started by typing svn --version on you continuum

Re: customized Site Skin/Template for use in different projects

2007-08-16 Thread fuvo
Hello Wayne and Dennis, of course, we have our own parent pom which is the parent for all our projects. And of Course, I have found the documentation of the site plugin. But I cant see there, how and where I have to configure the use of our own site. Ok, I can change the site.xml to format the

NullPointerException with mvn dependency:sources

2007-08-16 Thread SamImari
Hello I got a NPE when I use mvn dependency:sources to download all the sources Any hints? Regards, SAM $ mvn -e -U dependency:sources + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO]

Re: Rulesets on PMD site report

2007-08-16 Thread Joakim Erdfelt
There's been DNS issues at apache in the past 2 days. I've seen duplicate posts in other apache mailing lists too. As for listing the pmd rules in the report ... * the checkstyle plugin does this already. * the pmd plugin does not have this functionality right now. * there is no jira issue to

Invoke a plug-in/goal configured in a pom.xml from cmd line

2007-08-16 Thread Farhan Sarwar
Hi All, Is there a way I can invoke a plug-in/goal (not linked with any phase) configured in a project's pom.xml (within an execution tag) from the command line directly, also the idea is to invoke the goal irrespective of the maven build cycle. To be more precise let's say if I have a

Maven2 newbie help: getting cobertura reports

2007-08-16 Thread NORTH, Dan, GBM
Hi folks. I have a simple build across a few modules and I want to get the following sequence of events: - compile sources - instrument them with cobertura - compile junit tests - run junit tests against instrumented classes - generate junit failure report if any tests fail - generate

RE: Generating EJB home/remote interfaces with maven

2007-08-16 Thread Jörg Schaible
use 1.0-alpha-2: http://www.mvnrepository.com/artifact/org.codehaus.mojo/xdoclet-maven-plugin Tim Kettler wrote on Thursday, August 16, 2007 8:47 AM: Ok. I just made a quick test: 1.0-alpha-1 (as shown in the examples) seems to be to old and doesn't work with the current maven version. I

More than one test source directory

2007-08-16 Thread Vihung Marathe
Am I missing something, or is it not possible to specify more then one directory as a test source directory? I am working with an existing project that has two separate directories for tests - one for unit tests and one for integration tests -- Vihung

Site plugin: internationalization - css and image resource duplication

2007-08-16 Thread Alexander Hars
Hi, I am trying to use the site plugin with several languages. Unfortunately, the site plugin copies all its css files and image resources into each locale. This is inefficient, furthermore I run into a problem when I use my own css files or image resources to override the default maven

Version Management

2007-08-16 Thread Hemant Ved
Hi Can Maven be used as a Version mangement tool? Is it possible to automate the Version management using Maven? Thanks and Regards Hemant Ved

manifest classpath

2007-08-16 Thread robert . egan
I've looked through the examples for this and it seems simple enough. However, I'd really like to have my classpath as a series of path elements for the sake of legibility and future maintnance, i.e. classpath entrypath1/entry entrypath2/entry entrypath3/entry /classpath

RE: Version Management

2007-08-16 Thread Vaishali.Pande
Yes, Maven can be used as a Version management tool. The first time written POM file should have the version number and all other file can include a relative path for the versions later on. Thanks and Regards Vaishali G.P. | Cognizant Technology Solutions, Pune-India | PSTN: +9120 40051735 |

spaces in java.library.path in pom.xml

2007-08-16 Thread bgik
Hi All Although this must be a common problem I can't find a satisfactory answer anywhere. I am looking to run junits using the surefire plug in. These junits rely on a dll so I am supplying the location of this dll in my pom.xml as follows plugin

RE: Tests fail (class not found) when running against non-standard local repository location

2007-08-16 Thread Vihung Marathe
That is a brilliant example of lateral thinking, and a horrible horrible hack! But it works. Thanks for that -- Vihung -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 5:58 PM To: Maven Users List Subject: Re: Tests fail (class not found)

Re: Why does Maven2 by default generate Java 1.1 byte code?

2007-08-16 Thread Gisbert Amm
Wayne Fay wrote: This has been discussed several times on this list. Sorry, I haven't found these discussions, neihter by searching for compiler defaults nor by searching for byte code [version] IMO, the default compilation target being 1.1 (or another hard-defined version) meets the rule

RE: Version Management

2007-08-16 Thread Arne Styve
Hi Hermant, No, Maven cannot be used as a Version management tool. Maven is a build tool, an advanced build tool. You can, however, interact with a version management tool (like Subversion) from within Maven, so that Maven performs checking in and checking out (commit and update) to and from

RE: expand war deps

2007-08-16 Thread John Coleman
Hi Stephane, I grafted an example off the dependency plugin site, but it didn't go too well as you can see below! I just want to unpack that JAR instead of add it to lib directory. Any ideas what is wrong? I'm a bit concerned that I have both a declared dependency at the top of my pom and

Re: Had to manually install artifact which was already in the repository

2007-08-16 Thread Yuen Chi Lian
Hi Deng, Yea, I copied the missing JAR from my repo to a directory then install it manually, for my case, it was 'D:\repository\maven2-downloaded-jars'. I then noticed that the modified date of the origin is changed after executing the installation manually. In another way: foo/A copied to

Can you have Maven create a jar and a war for an artifact

2007-08-16 Thread David Williams
Hi Eveyone, We currently create a war file for a certain artifact. Now another group has created an application that requires the first artifact to be a jar not a war. Is there any way to have maven create both a jar and a war for a single artifact? Thanks, David

Re: Tests fail (class not found) when running against non-standard local repository location

2007-08-16 Thread Wayne Fay
I only thought of it because I've used it previously for similar reasons with another piece of software. In my experience, it usually works. Glad to hear it helped! ;-) On *nix, we have ln. On Windows, we have subst. Wayne On 8/16/07, Vihung Marathe [EMAIL PROTECTED] wrote: That is a brilliant

Re: Can you have Maven create a jar and a war for an artifact

2007-08-16 Thread John Casey
Typically, we recommend you split out the webapp-specific files into another project that depends on the first. Then, you can set the packaging of the first project to 'jar' and to 'war' for the second. Now, your other group can simply depend on the jar artifact. -john On Aug 16, 2007, at

Re: Can you have Maven create a jar and a war for an artifact

2007-08-16 Thread Mel Riffe
Hi David, I think the Maven Way suggests you have a project for the Jar and a project for the War. However, executing 'jar:jar' within the project should produce the desired results. HTH Mel On 8/16/07, David Williams [EMAIL PROTECTED] wrote: Hi Eveyone, We currently create a war file for

Re: Proxying central repo

2007-08-16 Thread John J. Franey
John J. Franey wrote: Wendy Smoak-3 wrote: 1.0-alpha-2 comes pre-configured to proxy the central repo. -- Wendy I'm using Beta-1. How do I add a caching proxy? The admin menu does not include 'proxy repositories'. This item is available in a version I have

Re: How to include the artfact/extraFiles/dependency in assembly (single module)

2007-08-16 Thread Bryan Noll
Thanks for following up and letting us know John. Good info. John Casey wrote: BTW, this problem is fixed in the latest snapshots of the assembly plugin, where there is a new flag in the assembly descriptor's dependencySet: useProjectArtifacttrue|false/useProjectArtifact. For compatibility

Hibernate and resources

2007-08-16 Thread Mathias P.W Nilsson
Ahhh I'm tearing hair out. I've set up maven, mysql, c3p0 and hibernate. Actually I want to use spring but I don't know how. Anyway when I test the application the testcase can't find hibernate.cfg.xml? I've read that all files,images should be in the src/main/java/resources. But for me to

Re: Why does Maven2 by default generate Java 1.1 byte code?

2007-08-16 Thread Wayne Fay
I haven't performed a complete, in-depth historical analysis of every thread involving compiler defaults to find all the discussions of this issue, but here are 2 email threads you can refer to... from David Smith to users@maven.apache.org date May 4, 2007 9:46 AM subject Maven 2.0.6 using

RE: Remote respository

2007-08-16 Thread Mathias P.W Nilsson
Thank you all! But if maven should upload to respository I need login because the jars is just for internal projects not for external. And I need to reach the remote respository from home. -- View this message in context: http://www.nabble.com/Remote-respository-tf4273892s177.html#a12183034

Re: Hibernate and resources

2007-08-16 Thread Wayne Fay
Not s/m/j/resources, simply src/main/resources. Try that and see if it works. And if this is simply for testing, put your file in src/test/resources. Wayne On 8/16/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Ahhh I'm tearing hair out. I've set up maven, mysql, c3p0 and hibernate.

Re: spaces in java.library.path in pom.xml

2007-08-16 Thread Wayne Fay
Perhaps not ideal, but one possible work-around is to use the MS-DOS command subst to create a new virtual drive M:\ which is actually c:\program files\your\app\. Then the path is simply M:\lib which has no spaces. Wayne On 8/16/07, bgik [EMAIL PROTECTED] wrote: Hi All Although this must be

Re: Can you have Maven create a jar and a war for an artifact

2007-08-16 Thread John Casey
Sure. The problem you're going to have with this is, both jar:jar and war:war (if that's the right mojo name) will set the main project artifact to their respective output...leaving you with the question Which one will be installed in the local repository and the more important question

Re: Hibernate and resources

2007-08-16 Thread Mathias P.W Nilsson
Yes! I did that and it worked! Thanks :) -- View this message in context: http://www.nabble.com/Hibernate-and-resources-tf4280221s177.html#a12183535 Sent from the Maven - Users mailing list archive at Nabble.com. - To

Re: manifest classpath

2007-08-16 Thread Wayne Fay
Are you asking about a Maven2 pom configuration entry, or the actual Class-Path line in your MANIFEST.MF file generated by Maven? If you're asking about Maven, please file a RFE in JIRA and someone will take a look at your issue. I'd suggest filing under MJAR: http://jira.codehaus.org/browse/MJAR

Date and time processing

2007-08-16 Thread robert . egan
Does Maven or one of it's plugins support date/time stamping? In particular, I'd like to add the build date to my Manifests with something like plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifestEntries ...

Re: manifest classpath

2007-08-16 Thread robert . egan
The former, and thanks for the link. I'll bring the issue there (if it hasn't been raised already). Robert Egan Wayne Fay [EMAIL PROTECTED] 16-Aug-2007 11:27 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: manifest

Re: Invoke a plug-in/goal configured in a pom.xml from cmd line

2007-08-16 Thread Steven Rowe
Hi Farhan, I don't know how to do exactly what you want, but you can do something close with a profile. If you put the antrun execution (or any other execution) in a profile with no explicit activation spec, and bind it to a really early phase (say, the initialize phase), then you can invoke it

Strange Behaviors in Continuum 1.1-betas as windows service

2007-08-16 Thread Dan Tran
Hello, I am seeing some strange behaviors in alpha, beta-1, and beta-2 ( still instaging area), that I hope someone can explain and/or confirm. - Unable to sync the project source when Continuum runs under NT service with a known admin user id. the build log shows Provider message: The

Re: More than one test source directory

2007-08-16 Thread Steven Rowe
Hi Vihung, What you want is build-helper-maven-plugin:add-test-source http://mojo.codehaus.org/build-helper-maven-plugin/ Steve Vihung Marathe wrote: Am I missing something, or is it not possible to specify more then one directory as a test source directory? I am working with an existing

Can the Maven Assembly Plugin create an exe file

2007-08-16 Thread David Williams
Can the Maven Assembly Plugin create an exe file? Thanks, David

hibernate3-maven-plugin not running

2007-08-16 Thread Mathias P.W Nilsson
I try to get a db schema out of maven. Here is my configuration build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdhibernate3-maven-plugin/artifactId version2.0-alpha-2/version

Re: Buildnumber plugin and svn

2007-08-16 Thread Julian Wood
If you run maven with the -X flag, you can see the commands that the buildnumber plugin creates. For example when doCheck=false and doUpdate=true, the buildnumber plugin executes svn --non-interactive update So you should login to your server and try the same command from the

Re: Date and time processing

2007-08-16 Thread Wayne Fay
This comes up pretty often, in fact, it has come up at least once a week lately. Search the list archives for timestamp. Wayne On 8/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does Maven or one of it's plugins support date/time stamping? In particular, I'd like to add the build date to

Re: hibernate3-maven-plugin not running

2007-08-16 Thread Wayne Fay
You didn't attach the plugin to any goals/phases, so it doesn't know when to run. Fortunately, this is covered in the documentation: http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/examples/phase_embedding.html Wayne On 8/16/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: I

Re: Can the Maven Assembly Plugin create an exe file

2007-08-16 Thread Wayne Fay
I'm not certain, but the NMaven team might have something you'd find useful: http://incubator.apache.org/nmaven/index.html Wayne On 8/16/07, David Williams [EMAIL PROTECTED] wrote: Can the Maven Assembly Plugin create an exe file? Thanks, David

Re: Can the Maven Assembly Plugin create an exe file

2007-08-16 Thread Mark Donszelmann
Or use the freehep-nar-plugin see: http://java.freehep.org/freehep-nar-plugin Regards Mark On Aug 16, 2007, at 9:43 AM, Wayne Fay wrote: I'm not certain, but the NMaven team might have something you'd find useful: http://incubator.apache.org/nmaven/index.html Wayne On 8/16/07, David

[m2]Error creating assembly with filtering ERROR: Cannot override read-only parameter: filters in goal: assembly:assembly

2007-08-16 Thread Mick Knutson
I want to filter the resources that I am adding to my assembly, but I get a read-only parameter error. plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-1/version configuration

Maven - selective inclusion of testcases in a package

2007-08-16 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: I have the following situation: com/mycompany/mypackage/application/ has my class files, while com/mycompany/testcases has my test cases (Cactus). In creating the WAR file, I want to be able to exclude the testcases package. I understand that I can use the warSourceExcludes tag for

Performance issues with multiple continuum instances on single server

2007-08-16 Thread Eric Roberts
I am currently running 2 instances of continuum as windows services on a single Windows 2003 server (running as a VMware virtual machine). The first instance was installed about 6 months ago and has run pretty well. I just installed a second instance and have noticed a problem with its

Re: [m2]Error creating assembly with filtering ERROR: Cannot override read-only parameter: filters in goal: assembly:assembly

2007-08-16 Thread Wayne Fay
Apparently the filters parameter is readonly in the mojo: https://svn.apache.org/repos/asf/maven/plugins/tags/maven-assembly-plugin-2.2-beta-1/src/main/java/org/apache/maven/plugin/assembly/mojos/AbstractAssemblyMojo.java The default value is ${project.build.filters} which means the assembly

Re: hibernate3-maven-plugin not running

2007-08-16 Thread Wayne Fay
Try mvn hibernate3:hbm2ddl compile. Wayne On 8/16/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: That didn't work. I sat an execution and a goal but it didn't work. -- View this message in context:

Maven Assembly Plugin Error

2007-08-16 Thread David Williams
I've create a basic descriptor for the maven assembly plugin. Which works fine if I don't try to filter dependencies. However when I try to add some include lines, I get the following error. [WARNING] The following patterns were never triggered in this artifact inclusion filter: o

Re: Maven Assembly Plugin Error

2007-08-16 Thread David Williams
I guess what I really want to do is filter out certain dependencies. Thanks Again, David On 8/16/07, David Williams [EMAIL PROTECTED] wrote: I've create a basic descriptor for the maven assembly plugin. Which works fine if I don't try to filter dependencies. However when I try to add some

Re: hibernate3-maven-plugin not running

2007-08-16 Thread Mathias P.W Nilsson
That didn't work. I sat an execution and a goal but it didn't work. -- View this message in context: http://www.nabble.com/hibernate3-maven-plugin-not-running-tf4280489s177.html#a12185558 Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Auto incrementing a build identifier

2007-08-16 Thread Julian Wood
Hi, I'm the author of the maven-buildnumber-plugin and have a few questions. On 5-Aug-07, at 4:42 AM, Antony Stubbs wrote: The problem with Mavin buildnumber plugin, is that it isn't synced with the build number repository. Can you clarify? I'm not sure what you mean at all. Do you mean

Re: hibernate3-maven-plugin not running

2007-08-16 Thread Mathias P.W Nilsson
I got Failed to configure plugin parameters for: org.codehaus.mojo:hibernate3-maven-plugin:2.0-alpha-2 here are the pom.xml build plugins plugin groupIdorg.codehaus.mojo/groupId

Re: Maven Assembly Plugin Error

2007-08-16 Thread David Williams
Nevermind. I figured it out. On 8/16/07, David Williams [EMAIL PROTECTED] wrote: I guess what I really want to do is filter out certain dependencies. Thanks Again, David On 8/16/07, David Williams [EMAIL PROTECTED] wrote: I've create a basic descriptor for the maven assembly plugin.

annotations are not supported in -source 1.3

2007-08-16 Thread Mathias P.W Nilsson
I get this error message when I run mvn compile annotations are not supported in -source 1.3 (try -source 1.5 to enable annotations) How is that? When I check java -version I get java version 1.5.0_07 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Client

Re: hibernate3-maven-plugin not running

2007-08-16 Thread Wayne Fay
The executions node goes inside configuration and outside of components. Wayne On 8/16/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: I got Failed to configure plugin parameters for: org.codehaus.mojo:hibernate3-maven-plugin:2.0-alpha-2 here are the pom.xml build plugins

Re: Maven Assembly Plugin Error

2007-08-16 Thread Mick Knutson
So post the fix On 8/16/07, David Williams [EMAIL PROTECTED] wrote: Nevermind. I figured it out. On 8/16/07, David Williams [EMAIL PROTECTED] wrote: I guess what I really want to do is filter out certain dependencies. Thanks Again, David On 8/16/07, David Williams [EMAIL

Re: [m2]Error creating assembly with filtering ERROR: Cannot override read-only parameter: filters in goal: assembly:assembly

2007-08-16 Thread Mick Knutson
OK, I have the following filter and resources attribultes in my master pom.xml: filters filter${basedir}/src/main/filters/filter.properties/filter /filters resources resource directory${basedir}/src/main/resources/directory

Re: hibernate3-maven-plugin not running

2007-08-16 Thread Mathias P.W Nilsson
Thanks for you pation but it still doesn't work I get this for all my classes. I'm using annotations. Worked perfectly when I was using ant. org.hibernate.MappingException: Unable to load class declared as mapping class=se.digitalsupport.ftc.dto.Customer/ in the configuration: at

Re: annotations are not supported in -source 1.3

2007-08-16 Thread Wayne Fay
Google.com maven compile source target Wayne On 8/16/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: I get this error message when I run mvn compile annotations are not supported in -source 1.3 (try -source 1.5 to enable annotations) How is that? When I check java -version I get java

Re: annotations are not supported in -source 1.3

2007-08-16 Thread Mathias P.W Nilsson
Yes thanks I read it in a thread on this forum. I do't get this maven thing. My respository is full of hibernate all all that need to be there. When I compile package javax.persistence does not exist and every other package as well I see the javax.presistence in my M2_REPO variable in

RE: NullPointerException with mvn dependency:sources

2007-08-16 Thread Brian E. Fox
Can you write a jira and attach a pom to reproduce it? Also note which version of maven you have, since the NPE is in the core. -Original Message- From: SamImari [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 4:06 AM To: users@maven.apache.org Subject: NullPointerException

RE: expand war deps

2007-08-16 Thread Brian E. Fox
Hi John, I see two issues below. The first is that the includes/excludes is only available in 2.0-alpha-5-SNAPSHOT. The second is more to your question. You can skip specifying a version in the artifactItems if you put that dependency version in your dependencyManagement section. Then you can

Building MDB's with Maven

2007-08-16 Thread Mark Eramo
Hello, I have a question. A few of the jars I currently build with Any also produce mdb's (message driven beans). I did not see a plugin for this but was wondering if anyone has accomplished this with Maven. If not, I might just end up calling an Ant script from the Maven build to do it.

Re: Building MDB's with Maven

2007-08-16 Thread Alexander Sack
What are you trying to do? MDBs are just Java files that get jared up. You need to be more specific. -aps On 8/16/07, Mark Eramo [EMAIL PROTECTED] wrote: Hello, I have a question. A few of the jars I currently build with Any also produce mdb's (message driven beans). I did not see a

Re: Building MDB's with Maven

2007-08-16 Thread Mick Knutson
it is an ejb project.. groupIdorg.delta.esp.dap.c2.business-services/groupId version1.0.0.0/version artifactIdTransformXEServerToC2-mdb/artifactId packagingejb/packaging On 8/16/07, Mark Eramo [EMAIL PROTECTED] wrote: Hello, I have a question. A few of the jars I

Re: annotations are not supported in -source 1.3

2007-08-16 Thread Wayne Fay
Simply having the files in your repo is not sufficient. You must add dependencies in your pom for each artifact that your project requires at compile, test, or runtime. I highly recommend you read one of the free pdf/ebooks on Maven -- one is from www.devzuz.com and another is from

Re: Building MDB's with Maven

2007-08-16 Thread Alan D. Salewski
On Thu, Aug 16, 2007 at 03:05:56PM -0400, Mark Eramo spake thus: Hello, I have a question. A few of the jars I currently build with Any also produce mdb's (message driven beans). I did not see a plugin for this but was wondering if anyone has accomplished this with Maven.[...] We use the

Re: annotations are not supported in -source 1.3

2007-08-16 Thread Mathias P.W Nilsson
But I have? I've posted my pom and hibernate is in the dependency! -- View this message in context: http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4281106s177.html#a12187764 Sent from the Maven - Users mailing list archive at Nabble.com.

[m2] Can I add a jar, inside a Jar in Maven?

2007-08-16 Thread Mick Knutson
I have a jar dependency I need to include inside my module jar I am creating. Can I accomplish this? -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com

Can't compile

2007-08-16 Thread Mathias P.W Nilsson
Ok this is very strange. I can't use mvn compile. I've tried it all. Delete all files in respository and try again. I then tried the mvn -e compile:compile and got the following error The plugin 'org.apache.maven.plugins:maven-compile-plugin' does not exist or no valid version could be found

Re: Can't compile

2007-08-16 Thread Wayne Fay
Try mvn compile. The name of the plugin is compiler. The method you're executing is named compile. So the long way would be mvn compiler:compile. Note the r in the first one. But mvn compile is a short-cut. Wayne On 8/16/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Ok this is very

Re: [m2] Can I add a jar, inside a Jar in Maven?

2007-08-16 Thread Wayne Fay
Assembly plugin using configuration jar-with-dependencies or create your own custom assembly descriptor. Wayne On 8/16/07, Mick Knutson [EMAIL PROTECTED] wrote: I have a jar dependency I need to include inside my module jar I am creating. Can I accomplish this? -- Thanks, Mick Knutson

Re: Question regarding modular project

2007-08-16 Thread Wendy Smoak
On 8/16/07, Erik Drolshammer [EMAIL PROTECTED] wrote: I use 1.1-beta-1 and have a similar question; When I add or remove a child project, these changes are not detected by Continuum. Is this normal behavior? That's the way it works in the current version. There is an enhancement request

Re: Building MDB's with Maven

2007-08-16 Thread Mark Eramo
Great! This is what I needed to know and it helps me out. Thanks for this info. Regards, Mark Alan D. Salewski wrote: On Thu, Aug 16, 2007 at 03:05:56PM -0400, Mark Eramo spake thus: Hello, I have a question. A few of the jars I currently build with Any also produce mdb's (message

Re: Can't compile

2007-08-16 Thread Mathias P.W Nilsson
getting exactly the same error.. I going mad here. Can't even compile. /Users/mathias/Documents/workspace/FTC/src/main/java/se/digitalsupport/ftc/dto/User.java:[11,25] package javax.persistence does not exist

Re: Can't compile

2007-08-16 Thread Wayne Fay
Apparently, you have not declared a dependency (probably want provided scope) against an artifact that contains javax.persistence classes. Again, Google is your friend (mvn hibernate jpa): http://rupeal.wordpress.com/2007/02/14/maven-2-and-hibernate-annotations/ Wayne On 8/16/07, Mathias P.W

Re: Date and time processing

2007-08-16 Thread Ken Tanaka
I was thinking the same thing myself. I searched at the archive http://www.nabble.com/Maven---Users-f178.html for timestamp and the one of the better threads seems to be http://www.nabble.com/Can-I-get-a-timestamp--tf3183791s177.html#a8836362 -Ken Wayne Fay wrote: This comes up pretty often,

Re: [m2]Error creating assembly with filtering ERROR: Cannot override read-only parameter: filters in goal: assembly:assembly

2007-08-16 Thread Mick Knutson
Is there something I am missing to just filter resources for an assembly? I can filter just fine for my modules (wars), but not creating an assembly. On 8/16/07, Mick Knutson [EMAIL PROTECTED] wrote: OK, I have the following filter and resources attribultes in my master pom.xml:

Re: [m2]Error creating assembly with filtering ERROR: Cannot override read-only parameter: filters in goal: assembly:assembly

2007-08-16 Thread Wayne Fay
I don't really have an answer for you. I'm not a big user of assembly plugin. Perhaps someone else who uses assembly + filters will respond. It is also possible that you've found a bug. Make a small test case and post it in JIRA if you're reasonably convinced its a bug. Wayne On 8/16/07, Mick

[m2] ant-contrib in Maven?

2007-08-16 Thread Mick Knutson
I want to use the ant-run plugin and my ant task relies upon ant-contrib but I can seem to find it in ibiblio in a way that I can get it into my project this does not work: dependency groupIdant-contrib/groupId artifactIdjars/artifactId

Re: clover issue when executing from a high level multi modules pom.xml?

2007-08-16 Thread Baz
Anyone? I try to add ${basedir} in various places but still not working. What changes should I make? On 8/15/07, Baz [EMAIL PROTECTED] wrote: It seems like the paths are set in the parent pom.xml for clover implementation: include implementation=java.lang.String

Re: Can't compile

2007-08-16 Thread Mathias P.W Nilsson
Thanks! You a lifesaver. By supplying provided instead of runtime it worked. Thanks again! :clap: -- View this message in context: http://www.nabble.com/Can%27t-compile-tf4281613s177.html#a12188842 Sent from the Maven - Users mailing list archive at Nabble.com.

Re: [m2] ant-contrib in Maven?

2007-08-16 Thread Steven Rowe
Hi Mick, According to the Sonatype book http://www.sonatype.com/book/lifecycle.html#a_structure_for_goal_execution, the artifactId should be ant-contrib. Steve Mick Knutson wrote: I want to use the ant-run plugin and my ant task relies upon ant-contrib but I can seem to find it in ibiblio in

Re: [m2] ant-contrib in Maven?

2007-08-16 Thread Wayne Fay
In the future, search for your artifact at http://mvnrepository.com/ for the correct dependency declaration. Wayne On 8/16/07, Mick Knutson [EMAIL PROTECTED] wrote: Perfect. I just had to add: taskdef resource=net/sf/antcontrib/antcontrib.properties/ and then dependencies

Re: Can't compile

2007-08-16 Thread Tom Huybrechts
On 8/16/07, Wayne Fay [EMAIL PROTECTED] wrote: Try mvn compile. The name of the plugin is compiler. The method you're executing is named compile. So the long way would be mvn compiler:compile. Note the r in the first one. But mvn compile is a short-cut. It's not really a shortcut (they are

Re: [m2] ant-contrib in Maven?

2007-08-16 Thread Mick Knutson
Perfect. I just had to add: taskdef resource=net/sf/antcontrib/antcontrib.properties/ and then dependencies dependency groupIdant-contrib/groupId artifactIdant-contrib/artifactId version1.0b2/version /dependency /dependencies and

Profiles in maven - help!

2007-08-16 Thread Vaidya, Supriya A \(US - Chicago\)
HI: I have a profiles.xml in my project root folder, that has the following structure: settings profiles profile iddevelopment/id activation activeByDefaulttrue/activeByDefault /activation properties

RE: maven plugin for ckjm ...

2007-08-16 Thread Giovanni Azua
Wow cool! That was fast :) so we would get xml but no html or? Many many thanks! Good job! Regards, Giovanni -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 5:23 AM To: Maven Users List Subject: Re: maven plugin for ckjm ... I got bored

Re: [m2]Error creating assembly with filtering ERROR: Cannot override read-only parameter: filters in goal: assembly:assembly

2007-08-16 Thread Mick Knutson
So has anyone out there ever gotten any filter example to work with assemblies? On 8/16/07, Wayne Fay [EMAIL PROTECTED] wrote: I don't really have an answer for you. I'm not a big user of assembly plugin. Perhaps someone else who uses assembly + filters will respond. It is also possible

Re: Profiles in maven - help!

2007-08-16 Thread Federico Schroder
Have you enabled filtering for this? Federico. On Thu, 2007-08-16 at 16:10 -0500, Vaidya, Supriya A (US - Chicago) wrote: HI: I have a profiles.xml in my project root folder, that has the following structure: settings profiles profile iddevelopment/id

Re: expand war deps

2007-08-16 Thread Stephane Nicoll
Anyway an ArtifactItem does not need the version, the plugin is able to detect it automatically from the project's dependencies. You only need to specify all parameters if you want to act on an artifact that is not a dependency of the project. Stéphane On 8/16/07, Brian E. Fox [EMAIL PROTECTED]

  1   2   >