RE: force tasks

2007-01-05 Thread Marcelo Takeshi Fukushima
Cool! Can i checkout from svn and play with it? i mean, is it stable enough? many thanks -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 5 de janeiro de 2007 10:49 To: continuum-users@maven.apache.org Subject: Re: force tasks Not in 1.0.3 but

About config

2007-01-05 Thread fy
Hi, I created a webapp,and I executed mvn jboss:harddeploy .now,The webapp have a file src/main/config/web-config.xml, I want to deploy the file into the webapp.war when I executed mvn jboss:harddeploy .how I to do? -- View this message in context:

Re: AspectJ plugin and java 1.3 target JRE

2007-01-05 Thread nicolas de loof
I've created MOJO-606 for this and attached a patch. Nico. 2006/12/22, nicolas de loof [EMAIL PROTECTED]: I was searching for the m2 plugin. I have no maven1 project that uses AspectJ compiler targeting a pre-java5 runtime, so I have no build ready for testing a fix. Is there any similar

Re: Invoking ant java Task from Maven or similar approaches in MAVEN

2007-01-05 Thread Marco Mistroni
Hi, you can use maven ant plugin and use same code that is within your target elements not sure if it can be an alternative, but if you are doing xslt there's an xslt task in ant. hth marco On 1/5/07, raju [EMAIL PROTECTED] wrote: Hi , Currently I am invoking java

how deploy a jar in the webapp?

2007-01-05 Thread fy
Hi, I created a webapp,The maven created the webapp.war when I executed mvn package. now I want deploy some *.java (src\main\java\itms\dto\*.java) into webapp.jar when I executed mvn package ,how I to do? -- View this message in context:

Re: Giving up on Archiva

2007-01-05 Thread Michael Horwitz
Hi, Got to share some of the frustrations in setting things up - took a while to learn which was the correct URL to use to access a repository, but once that was sorted out Archiva is up and running and works as expected. It has been an asset to our build environment. Mike. On 1/5/07, drekka

Re: Invoking ant java Task from Maven or similar approaches in MAVEN

2007-01-05 Thread dawn.angelito
Hi Raju, You can do this by adding this snippet of code to your pom.xml: configuration tasks ant antfile=${basedir}/build.xml inheritRefs=true target name=test/ /ant /tasks /configuration You

Bad Xref report generation for internationalized sites

2007-01-05 Thread Géraud DUGE de BERNONVILLE
Hello, I'm trying to generate a site with two locales (en, fr) for my project. The mvn site command works well except for the XRef reports which are only generated for the default locale (en). I use maven 2.0.4. After launching mvn site, the following directories are created : target/ |__

Using Custom Class Loader to load test classes

2007-01-05 Thread Balasubramanian, Ravi Shankar
Hi all, I am using the maven-surefire-plugin to run the testNG cases for my project. The test case calls an API internally that expects the current class loader to be a custom class loader. It does something like the following: CustomClassLoader customClassLoader = (CustomClassLoader)

unable to build

2007-01-05 Thread Murugan
Hi i created a maven project,but when i am trying compile the project the build failure erroe will be occured. mvn compile [INFO] Scanning for projects... [INFO] [INFO] Building my-app [INFO]task-segment:

Re: how deploy a jar in the webapp?

2007-01-05 Thread garbandi
I'm still quite new to maven, so excuse if i'm wrong, but as far as i know, maven deploys compiled java-classes as class-files into WEB-INF/classes. If you really need your classes to be deployed as a jar file, i think you'll have to create a separate jar-project and add this as a dependency to

Re: Packaging application with dependent jars?

2007-01-05 Thread mxc
Hi all, Well this is what I have worked out. 1) Matthew's XML snippet runs the assembly as part of the build packaging process. To run it using the mvn assembly:assembly command you need to edit the pom.xml and add a configuration section. 2) You can use the default descriptor targets such as

Re: how deploy a jar in the webapp?

2007-01-05 Thread kovalen pechaycaren
Let the packaging be 'jar', then use the maven-war-plugin to create a war.

Re: unable to build

2007-01-05 Thread kovalen pechaycaren
Try version *1.5* for plexus-compiler-manager. see: http://repo1.maven.org/maven2/plexus/plexus-compiler-manager/ Kovalen

Src directory not in the same pom.xml directory

2007-01-05 Thread Rahamim, Zvi \(Zvi\)
Hi, In case I have a pom.xml file in a directory and I want that it will take the src directory from another location than the pom.xml How can I do it? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Src directory not in the same pom.xml directory

2007-01-05 Thread Niels Gylling
In you pom: build sourceDirectoryanywhere/sourceDirectory /build /Niels - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: force tasks

2007-01-05 Thread Emmanuel Venisse
Not in 1.0.3 but available in 1.1 with a full checkout on each run Emmanuel Marcelo Takeshi Fukushima a écrit : Hello folks! the disappering of tasks seens to not be happening anymore wich is weird by itself. Anyhow, is there any way to schedule a task to always run regardless of its state in

RE: using hibernate3-maven-plugin:hmb2ddl with test-classes

2007-01-05 Thread garbandi
hi johann, thanks for your help. adding the flag to the properties leads to various lines of output [INFO] found EJB3 Entity bean: XXX where XXX now contains the classes in the test-classes directory but then i receive a new ClassNotFoundException for those classes: Caused by:

Disassemble Plugin

2007-01-05 Thread takai
Hi, i'm looking for a plugin that disassembles a given artifact into some target directory. Does anybody know of a plugin? Thanks a bunch! Daniel -- View this message in context: http://www.nabble.com/Disassemble-Plugin-tf2925448s177.html#a8177790 Sent from the Maven - Users mailing list

Re: Overriding properties in a dependency's pom.xml

2007-01-05 Thread Larry Meadors
On 1/4/07, mraible [EMAIL PROTECTED] wrote: Is Maven like Ant in that properties are immutable? If so, can I hook into the lifecycle sooner and set this dao.framework property from the local pom.xml? I was thinking the same thing - it sure is acting like that is the case, no? Larry

Re: Disassemble Plugin

2007-01-05 Thread Andrius Šabanas
takai wrote: Hi, i'm looking for a plugin that disassembles a given artifact into some target directory. Does anybody know of a plugin? Thanks a bunch! Daniel Take a look at maven-dependency-plugin, http://maven.apache.org/plugins/maven-dependency-plugin/ cheers, Andrius

Re: Disassemble Plugin

2007-01-05 Thread takai
Brilliant! That's what I need. But how to get the plugin? It's not in the maven repo at ibiblio: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/ There seems to be another version at codehaus called dependency-maven-plugin. But the doc says it's not the same thing and

Dealing with properties in Maven 1.x

2007-01-05 Thread Rakesh Patel
Hi, I am new to Maven so apologies if this is obvious to people. I have a need to keep a set of properties and use them in various other files eg database connection settings need to make it to the tomcat server.xml file, the spring configuration file, etc. Previously i used Ant and i would

Re: unable to build

2007-01-05 Thread Murugan
Hi kovalen, Thx for yr reply.Stil i get same error. I am new to Maven. can u explain how to build a maven project. kovalen pechaycaren wrote: Try version *1.5* for plexus-compiler-manager. see: http://repo1.maven.org/maven2/plexus/plexus-compiler-manager/ Kovalen

RE: using hibernate3-maven-plugin:hmb2ddl with test-classes

2007-01-05 Thread Johann Reyes
Hello Andi Well you just found a bug. I fixed already in SVN and deployed a new snapshot. Try it out and let me know how it works Regards Johann Reyes -Original Message- From: garbandi [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 8:02 AM To: users@maven.apache.org Subject:

Re: Disassemble Plugin

2007-01-05 Thread Andrius Šabanas
takai wrote: Brilliant! That's what I need. But how to get the plugin? It's not in the maven repo at ibiblio: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/ There seems to be another version at codehaus called dependency-maven-plugin. But the doc says it's not the same

Re: jmeter maven plugin

2007-01-05 Thread JC Walmetz
Hi, Did you find some more information about the JMeter plugin ? J-C Ed Young wrote: I found a jmeter maven plugin that has been developed and I am having some difficulty installing it. I found the wiki here: http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin Are there any more

Re: Disassemble Plugin

2007-01-05 Thread takai
The main trunk from http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/ does not build. I use the Codehaus version now which works fine. Thanks a bunch! Andrius Šabanas wrote: takai wrote: Brilliant! That's what I need. But how to get the plugin? It's not in the

RE: Disassemble Plugin

2007-01-05 Thread Brian E. Fox
The apache version should be released by this weekend. A vote was called on Tuesday and it must wait 72hrs. -Original Message- From: takai [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 9:30 AM To: users@maven.apache.org Subject: Re: Disassemble Plugin The main trunk from

Corrupt GIF image file resource when filtered on Linux

2007-01-05 Thread Morris Jones
Hi ... I subscribed to the list to pose this problem, but I found a solution and wanted to share it. In my resources folder (src/main/resources) for a webapp I have several property files which get filtered for local environment, along with a couple of GIF icon image files. I thought

Re: unable to build

2007-01-05 Thread Patrick Schneider
Murugan, Are there any special settings in your settings.xml file? (~/.m2/settings.xml) A 403 response for that artifact is odd -- click on the link; it should work. (Works for me at least.) I assume your internet connection is working on the machine from which you are trying to build?

[m2] maven-native-plugin TEMP dir problem

2007-01-05 Thread hgv
Hi! I'm trying to build the JNI example, but the linker informs me that it cannot open 'TEMPFILE'. I've tried to find out if the %TMP% or %TEMP% variables are changed using an ant echo goal, but no luck just yet (it won't run the task if the jar's not present). Any hints to solve this would be

Re: uml reports

2007-01-05 Thread Dmitry Beransky
I'd like to have images (png, png, vml, etc.) On 1/4/07, Wayne Fay [EMAIL PROTECTED] wrote: What do you want to do with them -- convert to JPG or PNG and include in Javadoc or another webpage? Or just include links to the UML files? Wayne

Re: [m2] maven-native-plugin TEMP dir problem

2007-01-05 Thread Dan Tran
Try with JDK5. I think there is a problem with JDK4 with maven-native where TMP var is nullified. -D On 1/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi! I'm trying to build the JNI example, but the linker informs me that it cannot open 'TEMPFILE'. I've tried to find out if the

Re: Where did tomahawk get moved to on ibiblio???

2007-01-05 Thread Mick Knutson
1. Is that the same as: repository idMyFaces Staging/id nameMyFaces Staging Repository/name urlhttp://myfaces.zones.apache.org/dist/maven-repository/url snapshots enabledtrue/enabled /snapshots releases

Re: Corrupt GIF image file resource when filtered on Linux

2007-01-05 Thread Torsten Stolpmann
Hi Morris, I can confirm this behavior - we also stumbled upon this problem. AFAIK this relates to a CR/LF - CR conversion occurring during the filtering of the binary image resources. HTH, Torsten Morris Jones wrote: Hi ... I subscribed to the list to pose this problem, but I

Where did tomahawk get moved to on ibiblio???

2007-01-05 Thread Mick Knutson
This does not work anymore: dependency groupIdorg.apache.myfaces.tomahawk/groupId artifactIdtomahawk/artifactId version1.1.3/version scopecompile/scope typejar/type /dependency and it is not

Re: Where did tomahawk get moved to on ibiblio???

2007-01-05 Thread Carlos Sanchez
I don't think it was ever there, nothing gets deleted from ibiblio you probably are confusing with http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/tomahawk/ On 1/5/07, Mick Knutson [EMAIL PROTECTED] wrote: This does not work anymore: dependency

Re: Where did tomahawk get moved to on ibiblio???

2007-01-05 Thread Carlos Sanchez
that's something myfaces developers would have to tell you, it is not a maven issue On 1/5/07, Mick Knutson [EMAIL PROTECTED] wrote: 1. Is that the same as: repository idMyFaces Staging/id nameMyFaces Staging Repository/name

RE: maven version management in ant

2007-01-05 Thread EJ Ciramella
New question, so I'm loading via a pom.xml file, how can I reference the classpath (filled with dependencies)? project name=capi default=compile xmlns:artifact=antlib:org.apache.maven.artifact.ant target name=init artifact:pom id=project file=pom.xml / echoThe version is

Re: First impressions of using maven (long)

2007-01-05 Thread Johannes Schneider
Hi, thanks for your post. I think you have addressed several issues that should be fixed asap. But unfortunately the developing speed of Maven seems to be very low. There exist many bugs and shortcomings everybody complains about (e.g. site generation for multi module projects...) :-(. The

Different scopes for same jar depending on profile?

2007-01-05 Thread Thierry Lach
I'm putting together a build process in which I want to be able to customize the war build to optionally exclude certain jars under certain profiles. Specifically, I want to exclude the junit jar from WEB-INF/lib if (and only if) I'm building using the profile jboss, triggered by -Djboss-build on

Using version range fails build, but exact version works

2007-01-05 Thread matthewadams
Hi all, I'm using Maven 2.0.4 and the maven-antrun-plugin, and I express a dependency on a version of an artifact in the plugin. If I use an exact version number for that artifact, Maven2 succeeds. If I change the version number from an exact version to a version range, Maven fails to resolve

Re: force tasks

2007-01-05 Thread Wendy Smoak
On 1/5/07, Marcelo Takeshi Fukushima [EMAIL PROTECTED] wrote: Can i checkout from svn and play with it? i mean, is it stable enough? many thanks If the 'build fresh' feature is what you're looking for, better wait until this one is fixed: http://jira.codehaus.org/browse/CONTINUUM-1103 --

RE: maven version management in ant

2007-01-05 Thread EJ Ciramella
I made it a bit further: project name=capi default=compile xmlns:artifact=antlib:org.apache.maven.artifact.ant target name=init artifact:pom id=project file=pom.xml/ echoThe version is ${project.version}/echo echo ${project.build.directory}/echo echo

Re: Corrupt GIF image file resource when filtered on Linux

2007-01-05 Thread Morris Jones
I would have suspected CR vs. CRLF treatment as well, but in such an instance the file size would change, and it doesn't in this case. I haven't analyzed the actual change to the file with a hex dump (they're small enough that I could), but noted that the checksum of the file was certainly

Re: Corrupt GIF image file resource when filtered on Linux

2007-01-05 Thread Max Cooper
Whatever the cause of the different behavior on Windows versus Linux, binary resources should never be filtered. An image file could contain bytes that equal ${pom.version} (or some other filterable variable) when viewed as a string. Filtering binary files is asking for trouble, and wastes

Java EE 5 in Java.net Maven repo soon (Forwarded)

2007-01-05 Thread Wayne Fay
Just forwarding from Glassfish Dev list... Wayne -- Forwarded message -- From: Ludovic Champenois [EMAIL PROTECTED] Date: Jan 5, 2007 11:26 AM Subject: Re: ... and EJB API not in the maven repository Cc: [EMAIL PROTECTED] Breaking news: I am back from the winter break and a

Re: Checksum on the pom for maven-ear-plugin is wrong

2007-01-05 Thread tquach
The central (http://repo1.maven.org/maven2) repository has the invalid checksum: [INFO] artifact org.apache.maven.plugins:maven-ear-plugin: checking for updates from central [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'e672c73f1430e99f1886bdf5bb9ae7a3cc2faf63'; remote =

Re: Giving up on Archiva

2007-01-05 Thread Henri Yandell
On 1/4/07, drekka [EMAIL PROTECTED] wrote: Hi all I've now been struggling with Archiva for over two days and we are going to drop it. All we wanted to do was: Thanks for the email Derek, it's very constructive criticism. 1. Have a local company repository so that we can centrally store

Re: unable to build

2007-01-05 Thread Murugan
Hi Patrick Thx for yr reply..but in my folder setting doesn't have settings.xml. Actualy i did following things.. 1. mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app 2. Automatically create App.jav file in my local Repository. my folder setting like this

Re: unable to build

2007-01-05 Thread Wayne Fay
I'll repeat Patrick's request since you didn't respond to it... Did you try using the URL to download the file yourself manually from a web browser using the same computer you're attempting to build your Maven project on?

Need Help | Restricting execution to a particular phase only

2007-01-05 Thread shinjan sen
Hi, I wanted to restrict the execution of maven-antrun-plugin to a particular phase. Normally if we specify the phase as install then whatever is specified in the phase install gets executed alongwith phases preceeding that in maven execution hierarchy, for example, test, compile etc. Is there