Re: RE : deploy .war to tomcat after continuum detects changes

2006-01-11 Thread Punkin Head
Thanks all, I got it using Cargo. :) On 1/11/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: you can also read this : http://blogs.codehaus.org/people/vmassol/archives/001307_cargo_v07_and_maven2_plugin_v01.html Arnaud On 1/11/06, Olivier Lamy [EMAIL PROTECTED] wrote: Look at the cargo

Re: Exception with Maven under MacOS X 10.4 -- solved

2006-01-11 Thread Romain Rouvoy
Hi, In fact I had a environment variable containing a carriage return :-( declare -x __CF_USER_TEXT_ENCODING=0x1F5:0:91\ I override its definition to: declare -x __CF_USER_TEXT_ENCODING=0x1F5:0:91 and now it works fine :-) But anyway, it's too bad that if any application defines an

Re: Experience with maven-proxy.rb

2006-01-11 Thread Man-Chi Leung
i found the site here: https://is-micro.myip.hu/projects/ismicro- commons/proximity/ btw, I just managed to get maven-proxy running. how different is Proximity vs Maven-proxy? ~manchi On Jan 11, 2006, at 3:45 PM, Jason Dillon wrote: FYI, I have been testing out Proximity today... And I

SV: Not possible to add multiple test resources

2006-01-11 Thread Bengt-Erik Fröberg
Thanks, it works in the way that M2 doesn't protest, but it still doesn't seems to include the additional directory in the classpath. Is there a way to debug and see what directories are included in the test classpath, or do the surefire plugin just use the local JUnit-settings? Regards, /B-E

[m2] jxr plugin: wrong link to javadoc

2006-01-11 Thread Alexandre Russel
Hi all, I installed the jxr-plugin. It create the report well, but in the report the link to view javadoc is wrong. Are they any other setting to put than the one on the web: http://mojo.codehaus.org/jxr-maven-plugin/howto.html any help welcome, thanks in advance. Alexandre.

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-11 Thread Man-Chi Leung
but I do not understand why there are 2 different locations for getting m2 plugins? i could find some plugins in http://www.ibiblio.org/maven2/plugins/ but not in http://www.ibiblio.org/maven2 what is happening for this? ~manchi On Jan 11, 2006, at 2:35 AM, dan tran wrote: btw

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-11 Thread dan tran
http://www.ibiblio.org/maven2/plugins/ is old, all new plugins are in http://www.ibiblio.org/maven2/ -D On 1/11/06, Man-Chi Leung [EMAIL PROTECTED] wrote: but I do not understand why there are 2 different locations for getting m2 plugins? i could find some plugins in

Re: Maven 2 and Ant classpath issue

2006-01-11 Thread hassan . h . sajjad
NB: Replaying message, as the mail client messed-up the xml extract of the previous message Hi Chris Had my first go at the lists, but hasn't been very lucky there :( I first tried this: ant antfile=build/ant-build.xml dir=${basedir} inheritRefs=true target name=generate-sources/ /ant

Re: unit testing MOJOs

2006-01-11 Thread Michael Böckling
Hi, I had the same Problem and so I tried to use the Maven embedder, so the whole Plexus variable injection thing takes place, but unfortunately I did not manage to execute it successfully (I don't how mature the embedder is). Take a look:

compile - removing source files from target directory

2006-01-11 Thread Sean Clarkson
Hi, I'm new to Maven 2 - I was wondering if there was any setting you could add to the compiler to prevent source files being copied to the target directory, or removing them automatically after compilation. Do I need to use the process-classes phase and do something there with an

[Newbie]Mavan2 Proxies and settings and other questions

2006-01-11 Thread martin.me.roberts
I started to build using maven having used ANT for sometime. I am using eclipse and have a load of libraries *.jar files that are in a local directory. Some of these are related to each other: JDOM.jar and JDOM-CONTRIB.jar but when I look in the repository I do not fing the JDOM-Contrib.jar.

[m2] Where can I find this information?

2006-01-11 Thread John Wells
Where can I find the Javadoc and other information about things like: import org.codehaus.plexus.archiver.jar.JarArchiver; import org.codehaus.plexus.util.FileUtils; ??? Also, where can I find the Javadoc and other information about things like: import

Re: [m2] Where can I find this information?

2006-01-11 Thread Emmanuel Venisse
John Wells a écrit : Where can I find the Javadoc and other information about things like: import org.codehaus.plexus.archiver.jar.JarArchiver; import org.codehaus.plexus.util.FileUtils;

RE: [m2] jxr plugin: wrong link to javadoc

2006-01-11 Thread Mike Perham
I believe this is fixed in svn but has not been released yet. http://jira.codehaus.org/browse/JXR-6 -Original Message- From: Alexandre Russel [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 2:43 AM To: Maven Users List Subject: [m2] jxr plugin: wrong link to javadoc Hi all,

[m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Geoffrey
Hi, What is the best practice to add a second source directory? I am aware it is not recommended to have more then one, but it's unavoidable at this time in the project: src/main/java src/sandbox/java There are cyclic dependencies between both, so making a separate project for both is not

RE: [m2] child-level transitive dependency builds?

2006-01-11 Thread Christopher Cobb
-Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Although, I have to say, when you did some changes on P4, you should be building it anyway, right? Because you'll need to run the tests, etc. and make sure that everything's still fine. But my IDE thinks this is all

RE: [m2] Using variables from parent pom.xml - like version etc.

2006-01-11 Thread Brian E. Fox
Once you've done that, you can leave off the child version/ elements, and the parent's version will be used. I'll add that it's common to inherit the group too. -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 11:56 PM To: Maven Users List

RE: [m2 dependency plugin] updated dependency not copied

2006-01-11 Thread Christopher Cobb
-Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] This is because the dependency plugin looks for the existing file before copying over. We originally had the ability to force an overwrite but took it out before release. The reasoning was that artifacts should be

RE: [m2 dependency plugin] updated dependency not copied

2006-01-11 Thread Brian E. Fox
So a simple overWrite flag per artifact would solve this for you? -Original Message- From: Christopher Cobb [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 8:41 AM To: 'Maven Users List' Subject: RE: [m2 dependency plugin] updated dependency not copied -Original

Re: M2 multiprojects, build dependent projects builded too

2006-01-11 Thread Emmanuel Venisse
Building dependent project is a planned feature : http://jira.codehaus.org/browse/CONTINUUM-58 and building when a dependency or parent change too : http://jira.codehaus.org/browse/CONTINUUM-232 Emmanuel Jens Zastrow a écrit : The multiproject structure. A (parent) B (extends A) C

RE: [m2] copy contents of maven.runtime.classpath for packaging

2006-01-11 Thread Darren Hartford
Thanks Yann, I'm now following the e-mail thread for building Eclipse plugins, features, and updates as that is my actual goal. The http://maven.apache.org/guides/mini/guide-assemblies.html shows the assembly file can include dependencySets based on scope, so I will be playing with that. -D

RE: Overwriting a goal in subproject

2006-01-11 Thread Dixit, Sandeep (ProSource Solutions)
No, I rather don't know how to override a phase:goal written using maven-antrun-plugin. Could you give me an example? Thanks, Sandeep -Original Message- From: Henry Isidro [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 6:45 PM To: Maven Users List Subject: Re: Overwriting a

RE: Need help with ibiblio problems

2006-01-11 Thread Helck, Christopher
Yes, it is working. Thanks for the prompt help. -chris -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 10:18 PM To: Maven Users List Subject: Re: Need help with ibiblio problems fixed. Not sure why it was working for other jars before

Need more help with broken ibiblio: 404 on werkz-1.0-beta-10.jar

2006-01-11 Thread Helck, Christopher
I browse to http://www.ibiblio.org/maven/werkz/jars/ and werkz-1.0-beta-10.jar is visible, but when I click on it I get 404 error. Same is true for some some other files in the directory: werkz-1.0-beta-11.jar and werkz-1.0-beta-3.20020715.042250.jar to name a few. -chris Thank you for being

Antw: [M2] loader constraints violated when linking org/xml/sax/InputSource class

2006-01-11 Thread Stefan Rademacher
Hello, I still have no idea, what the error described below is about. Is there anyone with any suggestions? Thank you, Stefan [EMAIL PROTECTED] 09.01.2006 15:58:31 Hello *, when running the JUnit tests of my project with maven, I get the following error (JUnit tests within Eclipse work

RE: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-11 Thread Darren Hartford
I have tried the ANT-tasks that eclipse provides, and at least for plugin-packaging they seem over-complicated. I have had success (just recently based on the mini-guide for assembly) in packaging the update-jar for an eclipse plugin as follows: Pom.xml (note I'm specifying a MANIFEST.MF file)

deploy .war to tomcat after continuum detects changes

2006-01-11 Thread Punkin Head
Greetings: I am a first time user of Continuum. I have recently got it working and now would like it to deploy the snapshot .war to tomcat once a change is detected to continually have the most recent version of the project online. Is anyone aware of a way that this can be done? Thanks. Adam

Re: [M2] loader constraints violated when linking org/xml/sax/InputSource class

2006-01-11 Thread Carlos Sanchez
Try forking the unit tests in maven, see surefire plugin docs On 1/11/06, Stefan Rademacher [EMAIL PROTECTED] wrote: Hello, I still have no idea, what the error described below is about. Is there anyone with any suggestions? Thank you, Stefan [EMAIL PROTECTED] 09.01.2006 15:58:31

RE: [m2] Using variables from parent pom.xml - like version etc.

2006-01-11 Thread Sean McNamara
Does this really address the issue that Sanjay is trying to solve? If the parent definition requires the version to be added, then every time the version is incremented all child POMs must be updated to reflect the new parent version. This means that all POMs in the inheritance heirarchy must be

Help manually building a debug jar

2006-01-11 Thread Greene,Darren
I'm looking for a way to manually build a debug jar for one of my projects in maven. I'm assuming there is a command somewhere to do this but I can't seem to find it. Currently I can manually build a jar from the command prompt on the build box by issuing the following commands

[M1.1b2] Cyclic dependencies debugging

2006-01-11 Thread Kleiderman, Matthew
Hi, I'm getting a A cycle was detected message during a multi-project build. Running the build with -e and -X doesn't really tell me where the reactor thinks the problem is. I think I've found the dependency the reactor is complaining about. By process of elimination I was able to get the

Re: Maven 2 and Ant classpath issue

2006-01-11 Thread Carlos Sanchez
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html On 1/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: NB: Replaying message, as the mail client messed-up the xml extract of the previous message Hi Chris Had my first go at the lists, but hasn't been very lucky there :(

Re: deploy .war to tomcat after continuum detects changes

2006-01-11 Thread Yann Le Du
Hi Adam, We have the same needs here. Currently, we are using a shell script that is launched by Continuum (Shell Project). But we're looking forward to using http://mojo.codehaus.org/tomcat-maven-plugin/ HTH, -- Yann 2006/1/11, Punkin Head [EMAIL PROTECTED]: Greetings: I am a first time

RE : deploy .war to tomcat after continuum detects changes

2006-01-11 Thread Olivier Lamy
Look at the cargo m2 plugin. http://cargo.codehaus.org/Maven2+plugin Add in a profile in your pom which declare a cargo deploy. Attach this to a phase (package) and add -P profileid in your continuum build. - Olivier -Message d'origine- De : Punkin Head [mailto:[EMAIL PROTECTED] Envoyé

[m2] Repository download failure when defining an xdoclet2 dependency

2006-01-11 Thread Romain Rouvoy
Hi, When trying to compile my project, I got the following error :-( I added an xdoclet2 dependency but for now the build always fails ... :-/ If the download from the central fails, why does not it try tu use a mirror I defined in my settings.xml file ? Does anyone has a practical

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-11 Thread Sanjay Choudhary
I agree with Sean, it will be a pain and time comsuming effort if all the child project's POM needs to be updated. -Sanjay On 1/11/06, Sean McNamara [EMAIL PROTECTED] wrote: Does this really address the issue that Sanjay is trying to solve? If the parent definition requires the version to

[m2] Jetty6 plugin new feature

2006-01-11 Thread Jan Bartel
Apologies for the noise, but as there's been some discussion about the jetty6 plugin lately I thought it may be useful to post this here: A new snapshot release 20060111.124832-7 is available of Jetty6 and the maven-jetty6-plugin from http://www.mortbay.com/maven2/snapshot/ The

RE: [m2 dependency plugin] updated dependency not copied

2006-01-11 Thread Christopher Cobb
That would work for me. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 8:49 AM To: Maven Users List Subject: RE: [m2 dependency plugin] updated dependency not copied So a simple overWrite flag per artifact would solve this for

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread dan tran
http://mojo.codehaus.org/build-helper-maven-plugin/ On 1/11/06, Geoffrey [EMAIL PROTECTED] wrote: Hi, What is the best practice to add a second source directory? I am aware it is not recommended to have more then one, but it's unavoidable at this time in the project: src/main/java

Re: [m2] Repository download failure when defining an xdoclet2 dependency

2006-01-11 Thread Yann Le Du
Hi Romain, These dependencies / versions aren't in central, so they won't be in mirrors either. If you think you don't need these dependencies for xdoclet, you can : 1. exclude them :

RE: [m2] copy contents of maven.runtime.classpath [dependency-maven-plugin]

2006-01-11 Thread Darren Hartford
I mis-spoke earlier, the assembly doesn't seem to do what I would want. I did try this: Pom.xml === plugin groupIdorg.codehaus.mojo/groupId artifactIddependency-maven-plugin/artifactId executions execution

C#

2006-01-11 Thread ir. ing. Jan Dockx
Does anybody have any experience with using maven with C# and Visual Studio? Are there best practices for directory layout, which files to store in CVS and which not, etcetera? Ok, I know a visual-studio plugin like the eclipse or netbeans plugin probably won't exist, but any experience would be

Re: C#

2006-01-11 Thread Carlos Sanchez
There were several threads in the mailing list about C# Some docs here: http://docs.codehaus.org/display/MAVEN/Support+for+other+languages On 1/11/06, ir. ing. Jan Dockx [EMAIL PROTECTED] wrote: Does anybody have any experience with using maven with C# and Visual Studio? Are there best

RE: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-11 Thread Darren Hartford
Found a reference on the mevenide-user mailing list with some good info: http://www.nabble.com/-mevenide-user-Re%3A-Project-status-t481604.html#a 1310842 I'm still stuck on including runtime-scope dependencies into the packaged jar (under /lib). Maven-dependency-plugin seems to be the right

Re: [m2] copy contents of maven.runtime.classpath [dependency-maven-plugin]

2006-01-11 Thread Yann Le Du
Comments inline, -- Yann 2006/1/11, Darren Hartford [EMAIL PROTECTED] : I mis-spoke earlier, the assembly doesn't seem to do what I would want. I did try this: Pom.xml === plugin groupIdorg.codehaus.mojo/groupId

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Karthik V
I need to add the sources generated thru xdoclet (its in a separate folder).. is there a cleaner way of adding it, other than using this build-helper? On 1/11/06, dan tran [EMAIL PROTECTED] wrote: http://mojo.codehaus.org/build-helper-maven-plugin/ On 1/11/06, Geoffrey [EMAIL PROTECTED]

Re: Support for mojos written in Ant

2006-01-11 Thread Michael Böckling
Hi Michal, thank you for your information. Now I tried to do the same, and I get the exact same error as you. It seems the support for mojos written in ANT is unusable in its current state. Maybe some developer can say something? Regards, Michael -Original Message- From:

RE: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-11 Thread Jim Babka
So, the questions then are, (a) where and how do I specify the classifier, and (b) how do I write a custom plugin that creates a second artifact? Regarding the second, the source code for the Javadoc plugin was not terribly helpful because it uses a MavenProjectHelper class for which I could find

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread dan tran
the xdocdet mojo, if available, will add the generated source automatically However, if you are using antrun plugin to generate source, it can do that for you http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html -D On 1/11/06, Karthik V [EMAIL PROTECTED] wrote: I need to add

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Karthik V
I am using xdoclet from codehaus in the generate-sources phase... but durin the compile phase, i get errors that all those classes r missing ... On 1/11/06, dan tran [EMAIL PROTECTED] wrote: the xdocdet mojo, if available, will add the generated source automatically However, if you are

RE: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Allison, Bob
The XDoclet plugin for Maven expects to place the generated sources in target/generated-sources/xdoclet and adds it to the compile source list. If you are specifying a different destination, that may be part of the problem if the plugin is not doing things quite right. Try changing your output

Wagon ssh external

2006-01-11 Thread Todd Nine
We're migrating to Maven 2.1, and I am having a very difficult time utilizing an internal repository for deploying files. We are using windows clients and I need a hand getting things set up. I have plink, pscp, and pageant all in my path. I can load my key using pageant, then execute plink

[m2] How to prevent transitive dependencies from a given dependency?

2006-01-11 Thread Alessio Pace
Hi, is there a way in maven2 to specify in my pom.xml that, for a given dependency, I want to get it alone and not all the dependencies it requires? Thanks in advance for any help -- Alessio Pace. - To unsubscribe, e-mail:

RE: C#

2006-01-11 Thread Stevenson, Chris
Hey Jan, I'm currently working on CSharp support in m2. There is a bug oustanding with maven core which is currently blocking beta release of my plugins: (see http://jira.codehaus.org/browse/MNG-1933 http://jira.codehaus.org/browse/MNG-1933 ) but I spoke to Brett today about it and he said he

RE: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-11 Thread Jim Babka
Maven is building the JAR that contains the compiled plugin code (which goes into the repository), and a zip file that contains the 3 things discussed below (which just sits in the target directory). The latter can be directly unzipped into an Eclipse plugins directory, but is not suitable for an

Re: Support for mojos written in Ant

2006-01-11 Thread Chris Berry
I use Ant as a fundamental scripting language for Maven. I use the antrun plugin. I have a hacked up version that allows me to build Plugins that hold an Ant build file and a simple, thin Mojo that extends the Antrun base class. When executed this Plugin unpacks the Ant build.xml and executes

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Karthik V
You were right. I had placed it in target/gen-src. It works now.. but is there a way to configure this? Thanks very much. On 1/11/06, Allison, Bob [EMAIL PROTECTED] wrote: The XDoclet plugin for Maven expects to place the generated sources in target/generated-sources/xdoclet and adds it to

RE: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-11 Thread Jim Babka
Looks interesting, but I think that this is causing the main plugin JAR to be replaced in the repository by the assembly. I can't do that - I must have the main plugin JAR in the repository because other projects have a compile-time dependency upon the code there. Jim Babka Senior Software

Re: [m2] How to prevent transitive dependencies from a given dependency?

2006-01-11 Thread Yann Le Du
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-CanIdisabletransitivedependencies%3F 2006/1/11, Alessio Pace [EMAIL PROTECTED]: Hi, is there a way in maven2 to specify in my pom.xml that, for a given dependency, I want to get it alone and not all the dependencies it requires? Thanks

Re: Support for mojos written in Ant

2006-01-11 Thread Chris Berry
http://maven.apache.org/plugins/maven-antrun-plugin/introduction.html On 1/11/06, Chris Berry [EMAIL PROTECTED] wrote: I use Ant as a fundamental scripting language for Maven. I use the antrun plugin. I have a hacked up version that allows me to build Plugins that hold an Ant build file and

Filtering resources

2006-01-11 Thread Karthik V
In m2, how do I prevent some classes from being included to the final jar file? Also, I need to add some files (like the xmls generated by xdoclet) to the jar. These files go to the generated-sources directory and not to the src/main/resources. How do I add these to the final jar?

[maven1] Classes that use javax.xml.parsers.SAXParserFactory.setXIncludeAware(boolean) do not compile

2006-01-11 Thread Minds Work
Hi I have a class that uses the method setXIncludeAware(boolean) from javax.xml.parsers.SAXParserFactory (jdk1.5) The class compiles in eclipse. But when I run maven, maven does not compile the class, it says that this method does not exists. I tried in others machines, but the error is alwalys

Re: Filtering resources

2006-01-11 Thread Karthik V
ok .. that 2nd question was silly .. i managed it ... pls help me wth the 1st one. On 1/11/06, Karthik V [EMAIL PROTECTED] wrote: In m2, how do I prevent some classes from being included to the final jar file? Also, I need to add some files (like the xmls generated by xdoclet) to the jar.

RE: [m2] copy contents of maven.runtime.classpath [dependency-maven-plugin]

2006-01-11 Thread Darren Hartford
Thank you Yann! The 'generate-resources' phase was the key - I had tried 'process-resources' and gave up after that, thank you for following up! And the fix for scope from http://jira.codehaus.org/browse/MOJO-213 is already available, very nice! -D

What's the reason for the following exception?

2006-01-11 Thread Quenten VanEgeren
I'm new to Maven2 and this list and I'm having the following problem. When I run 'mvn test' I get the following output : [INFO]task-segment: [test] [INFO] [INFO] [resources:resources] [INFO] Using default encoding

Re: [maven1] Classes that use javax.xml.parsers.SAXParserFactory.setXIncludeAware(boolean) do not compile

2006-01-11 Thread Doug Douglass
Freddy, Add the following to you project.properties and try maven java:compile again: maven.compile.source=1.5 maven.compile.target=1.5 Doug Minds Work wrote: Hi I have a class that uses the method setXIncludeAware(boolean) from javax.xml.parsers.SAXParserFactory (jdk1.5) The class

Re: Support for mojos written in Ant

2006-01-11 Thread Brett Porter
John wrote up the Ant plugin integration (available in 2.0.1) yesterday: http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html - Brett On 1/12/06, Chris Berry [EMAIL PROTECTED] wrote: http://maven.apache.org/plugins/maven-antrun-plugin/introduction.html On 1/11/06, Chris

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-11 Thread Brett Porter
As Sean said, the release plugin can do this. http://maven.apache.org/guides/mini/guide-releasing.html In 2.1, we are planning to make it automatic: MNG-624 You can emulate M1 behaviour by using a version of SNAPSHOT and never changing it. Building will always require the full checkout

Problems with a not valide pom

2006-01-11 Thread Gerald Müllan
Hi *, I started to migrate the structure of a project to maven 2.0.1. The project consists of three modules, like this: -Base -Main -Other Stuff However, the last two have a dependency to the base module. So, first task was to install a jar from base module to the local repository. This works

[M2] Build SLOW.

2006-01-11 Thread Sanjay Choudhary
I have copied several third party jars ( Websphere application server Lib into the repository). I installed them using the following commiand Now when I build I get the following message call mvn install:install-file -Dfile=./filename -DgroupId=oracle -DartifactId=classes12 -Dversion=9.0.2.0.0

Re: [M2] Build SLOW.

2006-01-11 Thread Brett Porter
A new version of the install plugin will be released shortly that you can use: -DgeneratePom=true In the mean time, you can create a small POM in the local repository for the libraries. - Brett On 1/12/06, Sanjay Choudhary [EMAIL PROTECTED] wrote: I have copied several third party jars (

Re: [M2] Build SLOW.

2006-01-11 Thread Carlos Sanchez
yes, create a pom for that jar. On 1/11/06, Sanjay Choudhary [EMAIL PROTECTED] wrote: I have copied several third party jars ( Websphere application server Lib into the repository). I installed them using the following commiand Now when I build I get the following message call mvn

[m2] war project and dll dependency

2006-01-11 Thread Piotr Bzdyl
Hello, In my war project I use java library which requires native dll library. I created following: project modelVersion4.0.0/modelVersion groupIdcom.domain/groupId artifactIdlibraryx-api/artifactId packagingjar/packaging namelibraryx/name version1.0/version

Re: [maven1] Classes that use javax.xml.parsers.SAXParserFactory.setXIncludeAware(boolean) do not compile

2006-01-11 Thread Minds Work
Hi Doug These property are already in my project.properties But these properties has nothing with classes or methods the compiler does not find. (For example, you can use classes/methods that only exists in Jdk1.5 (like java.util.Fotmatter) and compile with maven.compile.source=1.4 and

Re: Need more help with broken ibiblio: 404 on werkz-1.0-beta-10.jar

2006-01-11 Thread Brett Porter
Another strange one. They are there, and my local copy with near identical rules works. I'll investigate... - Brett On 1/12/06, Helck, Christopher [EMAIL PROTECTED] wrote: I browse to http://www.ibiblio.org/maven/werkz/jars/ and werkz-1.0-beta-10.jar is visible, but when I click on it I get

Standard Directory Layout , src/main/config, and profiles

2006-01-11 Thread Stephen Duncan
I've got a few questions on the Standard Directory Layout described here: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html For the most part I assume that what makes them standard is having a maven plugin (i.e. one that works out of the box without a

CheckStyle Report

2006-01-11 Thread Durfee, Bernard
When generating the RSS for the report, where does the plugin get the URL to use for the links? It looks like it's using the 'url' element from the POM, shouldn't it really be using the 'siteAddress' element? Bernie - To

Re: Standard Directory Layout , src/main/config, and profiles

2006-01-11 Thread Charles Daniels
I agree with creating a more detailed document regarding directory conventions. I like the conventions documented so far, but there do seem to be some ambiguities and holes. I too have been unsure of the purpose of src/main/config. However, I have been putting design-time and build-time

Re: Advanced File Modification Plugins (XSLT, XSLT Replacement, Regular Expression Replacement)

2006-01-11 Thread Charles Daniels
Stephen, Which app server are you using? I know that Tomcat allows you to override settings in web.xml with an environment-specific file (can't recall the name of the file). This allows you to deploy the same web.xml to each environment, but provide environment-specific overrides within each

Re: [M2] Build SLOW.

2006-01-11 Thread Sanjay Choudhary
Hi Bret, Had it been handful files I would have created the POMs? Thanks for making the new plugin available. How will I know it is available? Also, how do I know that plug in is associated with which phase? Can I find this information somewhere? Regards, sanjay On 1/11/06, Brett Porter

Re: [M2] Build SLOW.

2006-01-11 Thread Brett Porter
The plugin is not associated with a phase at present. It is available now, but needs to reach the mirrors before being announced. - Brett On 1/12/06, Sanjay Choudhary [EMAIL PROTECTED] wrote: Hi Bret, Had it been handful files I would have created the POMs? Thanks for making the new plugin

RE: [m2] Maven2 building Eclipse plugins, features, and update si tes

2006-01-11 Thread Treloar, Barrie (SAPOL)
In any case, because I have to get something done quickly, I am abandoning the effort of putting a second JAR in the repository. I'm going to hack around this and use a temporary directory for all the meta-JARs that I need, and then I'll have a feature build ANT goal that pulls from that

RE: [Newbie]Mavan2 Proxies and settings and other questions

2006-01-11 Thread Treloar, Barrie (SAPOL)
?xml version=1.0? settings proxies proxy activetrue/active protocolhttp/protocol hostproxy.intra.bt.com/host port8080/port /proxy /proxies /settings But this does not seem to work Your settings.xml looks fine. What errors are you getting? Does

Re: [M2] Build SLOW.

2006-01-11 Thread Sanjay Choudhary
Brett, Thanks once again. My question on plugin and phase association was generic. For example, if I want to know ejb plugin is associated with which phase. Where do I find this information? (I know from mailing list that is associated with package phase). Thanks, sanjay On 1/11/06, Brett

Re: [M2] Build SLOW.

2006-01-11 Thread Brett Porter
Actually, we aren't currently putting that in the documentation, so you'd need to see the source code. A worthy feature request. - Brett On 1/12/06, Sanjay Choudhary [EMAIL PROTECTED] wrote: Brett, Thanks once again. My question on plugin and phase association was generic. For example, if

RE: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-11 Thread Darren Hartford
Hi Jim, Actually putting the eclipse-pde-plugin-jar in my repo is also one of my goals. The recommendation I offered using the assembly-mode was based on a 'dirty' environment and once I figured out what was going on, this will not work as expected. What I have gone forward with is using a

Re: [maven1] Classes that use javax.xml.parsers.SAXParserFactory.setXIncludeAware(boolean) do not compile

2006-01-11 Thread Dion Gillard
Any ideas on when 1.1-beta 3 will be? On 1/12/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Maven 1.0 bundles xerces which is not the case in the maven 1.1. The compatibility with the jdk 5 will be better if you use maven 1.1. You can try the beta 2 or this snapshot to see if it fixes your

Re: Problems with a not valide pom

2006-01-11 Thread Alexandre Poitras
Can you copy one of the pom? Hard to tell without any information. On 1/11/06, Gerald Müllan [EMAIL PROTECTED] wrote: Hi *, I started to migrate the structure of a project to maven 2.0.1. The project consists of three modules, like this: -Base -Main -Other Stuff However, the last two

Re: jar plugin, how can i set Main-Class: at MANIFEST.MF

2006-01-11 Thread Alexandre Poitras
From this guide : http://maven.apache.org/guides/mini/guid-manifest.html plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifest mainClasscom.mycompany.app.App/mainClass

Re: [maven1] Classes that use javax.xml.parsers.SAXParserFactory.setXIncludeAware(boolean) do not compile

2006-01-11 Thread Arnaud HERITIER
Unfortunately no :-( We are very few to work on it and we don't have a lot of free time to spend on it. We have a lot of plugins to release and some important bugs in the core. For example we have MAVEN-1691 which is certainly related to Jelly. Thus we'll need to fix them in Jelly before to be

Re: Problems with a not valide pom

2006-01-11 Thread Gerald Müllan
Yes, sure; you are absolutely right :) original pom is: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion

RE: [m2] Using variables from parent pom.xml - like version etc.

2006-01-11 Thread Brian E. Fox
I agree. See here and vote: http://jira.codehaus.org/browse/MNG-624 -Original Message- From: Sean McNamara [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 10:20 AM To: Maven Users List Subject: RE: [m2] Using variables from parent pom.xml - like version etc. Does this

RE: [m2] copy contents of maven.runtime.classpath [dependency-maven-plugin]

2006-01-11 Thread Brian E. Fox
I can't say why it doesn't get included until the second pass, but the scope filtering has been added to 1.1-SNAPSHOT. See the mojo page for how to get this out of the repo. -Original Message- From: Darren Hartford [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 11:16 AM To:

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-11 Thread dan tran
maven-release-plugin will do all that update for you -D On 1/11/06, Sanjay Choudhary [EMAIL PROTECTED] wrote: I agree with Sean, it will be a pain and time comsuming effort if all the child project's POM needs to be updated. -Sanjay On 1/11/06, Sean McNamara [EMAIL PROTECTED] wrote:

Re: Overwriting a goal in subproject

2006-01-11 Thread Henry Isidro
I mean try placing this in the child pom: plugin ... configuration inherited${inheritGoal}/inherited /configuration /plugin It might override the parent's setting. HTH, Henry Dixit, Sandeep (ProSource Solutions) wrote: No, I rather don't know how to override a phase:goal

Re: compile - removing source files from target directory

2006-01-11 Thread Henry Isidro
Hi Sean, Can you explain what you mean by source files being copied to the target directory? AFAIK, this isn't the case, source files are never copied to the target directory. Regards, Henry Sean Clarkson wrote: Hi, I'm new to Maven 2 - I was wondering if there was any setting you

Re: Help manually building a debug jar

2006-01-11 Thread Alexandre Poitras
Are you using Maven 2 or Maven 1? On 1/11/06, Greene,Darren [EMAIL PROTECTED] wrote: I'm looking for a way to manually build a debug jar for one of my projects in maven. I'm assuming there is a command somewhere to do this but I can't seem to find it. Currently I can manually build a jar

Re: Help manually building a debug jar

2006-01-11 Thread Alexandre Poitras
Dumb*. Maven 1 I can see it from your command line. Sorry I can't help you with Maven 1, I have never used it. On 1/11/06, Alexandre Poitras [EMAIL PROTECTED] wrote: Are you using Maven 2 or Maven 1? On 1/11/06, Greene,Darren [EMAIL PROTECTED] wrote: I'm looking for a way to manually

Re: Overwriting a goal in subproject

2006-01-11 Thread Henry Isidro
oops make that: inheritedfalse/inherited -Henry Henry Isidro wrote: I mean try placing this in the child pom: plugin ... configuration inherited${inheritGoal}/inherited /configuration /plugin It might override the parent's setting. HTH, Henry Dixit, Sandeep (ProSource

Re: [Newbie]Mavan2 Proxies and settings and other questions

2006-01-11 Thread Alexandre Poitras
On 1/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I started to build using maven having used ANT for sometime. I am using eclipse and have a load of libraries *.jar files that are in a local directory. Some of these are related to each other: JDOM.jar and JDOM-CONTRIB.jar but when I

  1   2   >