Re: Sharing checkstyle configuration across multiple maven projects

2009-06-23 Thread Stephen Connolly
it's even better if your source control is subversion fronted by apache... 2009/6/23 Mohan KR kmoh@gmail.com: I have always used the remote location for checkstyle, especially for sharing cs configuration for *disconnected* projects. And then nice thing is if using eclipse, with

Re: Snippets of APT files

2009-06-23 Thread Lukas Theussl
I would :) file a patch at http://jira.codehaus.org/browse/DOXIA Thanks! -Lukas nsowatsk wrote: Hi Barrie Thanks for this. That does work, but, as you say, it ends up in a box as literal text. I can probably write a APT snippet macro. If I do, who would be able to commit it? Thanks

Re: Snippets of APT files

2009-06-23 Thread nsowatsk
OK, stay tuned. Thanks Nathan On 23/06/2009 08:07, Lukas Theussl ltheu...@apache.org wrote: I would :) file a patch at http://jira.codehaus.org/browse/DOXIA Thanks! -Lukas nsowatsk wrote: Hi Barrie Thanks for this. That does work, but, as you say, it ends up in a box as

Re: Sharing checkstyle configuration across multiple maven projects

2009-06-23 Thread Stevo Slavić
It's even nicer if you need to control the access to such resource and bugs come by (http://jira.codehaus.org/browse/MCHECKSTYLE-109, http://jira.codehaus.org/browse/PLXCOMP-128) To share such common resources and configuration (checkstyle, license, ..) with other maven projects I needed a maven

how can I filter the resources of one of the dependencies before building an EAR?

2009-06-23 Thread Sergio Rodriguez
Hello, I have an EJB project that is a dependency of several of my projects. I need to modify the JNDI name at the EJB's jboss.xml so I can deploy several apps on the same jboss server. How can I filter the resources of an already-compiled dependency? I have tried to unpack-dependencies and

jar-with-dependencies fais with error in opening zip file

2009-06-23 Thread Alexy Khrabrov
I deployed the same pom.xml which works fine on Mac OSX to CentOS, and doing mvn package there croaks: Failed to create assembly: Error creating assembly archive jar-with-dependencies: error in opening zip file I'm using the standard jar-with-dependencies descriptorRef, attached to the package

Re: Snippets of APT files

2009-06-23 Thread Barrie Treloar
On Tue, Jun 23, 2009 at 3:24 PM, nsowatsknsowa...@cisco.com wrote: Hi Barrie Thanks for this. That does work, but, as you say, it ends up in a box as literal text. I can probably write a APT snippet macro. If I do, who would be able to commit it? Did you try verbatim=false? As the default

Re: Snippets of APT files

2009-06-23 Thread Lukas Theussl
I don't think this will do what he wants either. It only means that special apt characters won't be escaped so the text is sent as-is, but it won't be parsed again. -Lukas Barrie Treloar wrote: On Tue, Jun 23, 2009 at 3:24 PM, nsowatsknsowa...@cisco.com wrote: Hi Barrie Thanks for this.

references to other repositories in poms in central repo

2009-06-23 Thread Reto Bachmann-Gmür
Hi I'm having problem with a build downloading an invalid jar for commons-logging, actually the content of the jar is a redirection page. It turns out, that the jar is being downloaded from a repository at dev java.net defined in the pom of castor [1]. Two questions: 1. Artifacts in the

Re: Mantis integration? mantis-report..?

2009-06-23 Thread turbo-555
this is the jira issue..posted almost 2 years ago... http://jira.codehaus.org/browse/MCHANGES-84?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aworklog-tabpanel JIRA ISSUE MCHANGES 84 nothing new on this front? thanks pawel, I'll eventually try your way too...I have to see if it

Re: Snippets of APT files

2009-06-23 Thread nsowatsk
Hi all I tried. The verbatim flag doesn't appear to make any difference at all, but it has at least given me something to think about. Many thanks Nathan On 23/06/2009 11:57, Lukas Theussl ltheu...@apache.org wrote: I don't think this will do what he wants either. It only means that

Re: Snippets of APT files

2009-06-23 Thread Barrie Treloar
On Tue, Jun 23, 2009 at 8:36 PM, nsowatsknsowa...@cisco.com wrote: Hi all I tried. The verbatim flag doesn't appear to make any difference at all, but it has at least given me something to think about. Maybe you can extend the snippet macro with another flag include or something.

Re: Snippets of APT files

2009-06-23 Thread nsowatsk
Yes, #include already exists as a Velocity macro, but I could never get that to work with APT files. This would be like that, but with snippet identifiers, so the word include would have the same semantics, which is good. Thanks Nathan On 23/06/2009 13:34, Barrie Treloar baerr...@gmail.com

RE: Snippets of APT files

2009-06-23 Thread Martin Gainty
are you using Appfuse? http://static.appfuse.org/plugins/appfuse-maven-plugin/plugin-info.html if so which Appfuse goal are you executing? please display contents of pom.xml Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de

Re: Snippets of APT files

2009-06-23 Thread nsowatsk
Not using Appfuse, not sure I see the connection. Regards Nathan On 23/06/2009 13:47, Martin Gainty mgai...@hotmail.com wrote: are you using Appfuse? http://static.appfuse.org/plugins/appfuse-maven-plugin/plugin-info.html if so which Appfuse goal are you executing? please display

apache.commons.vfs

2009-06-23 Thread Lutchumaya
Hello everyone Is it possible to upload files to webserver by HTTPS protocol using VFS. Thank you Regards Lutchumaya -- View this message in context: http://www.nabble.com/apache.commons.vfs-tp24165036p24165036.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: error in POM

2009-06-23 Thread JC
I think you should use the maven central repository. Verify your settings.xml file in /root/.m2/ and check the repositories configuration. If you don't have any repository configured, by default, the maven central repository will be used. Refer to http://maven.apache.org/settings.html for

RE: Sharing checkstyle configuration across multiple maven projects

2009-06-23 Thread Mohan KR
Just curious apart from the bug, what is the reasoning behind 'protecting' a cs configuration ? Just trying to understand the 'abuse' part. Thanks, mohan kr -Original Message- From: Stevo Slavić [mailto:ssla...@gmail.com] Sent: Tuesday, June 23, 2009 1:24 AM To: Maven Users List

Re: how can I filter the resources of one of the dependencies before building an EAR?

2009-06-23 Thread Mark Bargen
Hi, I've been dealing with much the same requirement. I think you'll want to use the assembly plugin in order to pack them again, and you'll want the resulting EJB artifact to be a dependency for the project that builds the EAR. Just an observation: intuitively this approach strikes me as

Existing 1.1.1 project and Maven Plugin don't play nice.

2009-06-23 Thread kitplummer
I have an existing 1.1.1 project which I want to 'maveninze'. Unfortunately I can't get past the problem outline on here: http://grails.org/Maven+Integration (in the comments). Has this been fixed, or is there a known workaround that works? Is there a JIRA already for this that I can track...I

Concurrent access to local repository by multiple processes

2009-06-23 Thread Jason Voegele
I am wondering if it is now safe to have multiple Maven 2.1.0 processes running concurrently using the same local repository. I know that with older versions of Maven this was certainly not safe, but reading comments on some JIRA issues leads me to believe that this may have been addressed

[Maven User List] Maven for PHP with TYPO3 cms?

2009-06-23 Thread Yomo Guiamo
Hello list, Has anyone tried to set up TYPO3 (4.2.x or later) with Maven 2 (2.1.0)? Since TYPO3 is now using PHP5 which is OO, a solid OO-setup should be possible with Maven2, a Maven repository manager (e.g. Nexus or Artifactory), Subversion and a continuous integration tool (e.g. Hudson or

How does maven handle artifact's license files?

2009-06-23 Thread David Hoffer
Does maven have support for tracking license files my dependent artifacts may have and doing something with these files, such as installing with my product/application? If so, how? (Ideally I want to deploy license docs with each artifact that needs one (ideally public artifacts should already

RE: How does maven handle artifact's license files?

2009-06-23 Thread Todd Thiessen
The dependencies report show all transitive licenses that your project uses. I believe this report is part of the default maven site generation. Of course if artifacts don't have any license information in their pom, no information will be shown in the report. --- Todd Thiessen -Original

Re: How does maven handle artifact's license files?

2009-06-23 Thread David Hoffer
The report does show a list of known licenses and which artifact is associated with each. However most just say Unknown (likely because like you say the pom is missing the information). However this doesn't help the end product, that is, it doesn't do what the license says is needed...rather its

beyond Properies and Resource Filtering

2009-06-23 Thread Robert Glover
I have read chapter 13 of Maven: The Definitive Guide and did not find my question answered there. Here is what I need to do. I have two subdirectories as follows: src/main/resources/foo src/main/resources/bar I have the same file in each of those two directories:

Re: beyond Properies and Resource Filtering

2009-06-23 Thread David Weintraub
This should help: http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html And over here: http://maven.apache.org/plugins/maven-resources-plugin/copy-resources-mojo.html (Note the Examples links on the left side. They can provide you with specific pom.xml examples).

Re: beyond Properies and Resource Filtering

2009-06-23 Thread Mick Knutson
I use Annotations to instantiate my Spring context in my tests: @ContextConfiguration(locations = {classpath:*applicationContext-test.xml* }) public class UserWebServiceTest extends AbstractSpringTest { Then when I do not have to modify my Maven config in order to switch from test, to

Re: problem webapp integration test setup with seperate test module (handling of lifecycle dependencies).

2009-06-23 Thread aldana
yes, test-webapp tests http-endpoints exposed from webapp only. mickknutson wrote: Are you only trying to run integration tests against your webapp? Is that why you created the test-webapp? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design,

Re: problem webapp integration test setup with seperate test module (handling of lifecycle dependencies).

2009-06-23 Thread aldana
to clarify: -inside test-webapp I need to disable the tests (because jetty isn't running), during the lifecycle the tests are compiled -inside the webapp I need to access the test-cases of test-webapp and integrate them inside phase integration-test. The access would be done by passing the path

Re: Manual Steps for Integrating Maven with Eclipse...

2009-06-23 Thread Barrie Treloar
On Wed, Jun 24, 2009 at 3:28 AM, Shesadri Parthasarathysparthasarat...@sapient.com wrote: Hi , We are working for one of our clients and all our development happens thru Eclipse 3.1. We are using Maven Project for Build and deployment process. As there is some issues in doing the

Re: How does maven handle artifact's license files?

2009-06-23 Thread Stevo Slavić
... pluginRepositories ... pluginRepository idrepository.jboss.org/id urlhttp://repository.jboss.org/maven2/url releases enabledtrue/enabled /releases snapshots enabledfalse/enabled

Re: How does maven handle artifact's license files?

2009-06-23 Thread David Hoffer
What does the maven-jboss-license-plugin do? On Tue, Jun 23, 2009 at 5:03 PM, Stevo Slavić ssla...@gmail.com wrote: ... pluginRepositories ... pluginRepository idrepository.jboss.org/id urlhttp://repository.jboss.org/maven2/url

artifacts not downloading

2009-06-23 Thread Wes Wannemacher
Hello, Lately I have noticed that while building, maven is downloading its dependencies, but once in a while, an artifact will come over incorrectly (I suspect a bad mirror somewhere). For instance, if I look at the contents of ~/.m2/repository/cglib/cglib-full/2.0.2/cglib-full-2.0.2.jar I see -

Help with linkage error while running plugin goal

2009-06-23 Thread Jerry Lin
Hello, I am trying to develop a maven plugin. When I explicitly invoke the plug-in, I get a linkage error which I have had a very hard time resolving. Any help would be greatly appreciated. I am using the m2 Eclipse plugin to build my maven projects. I have tried deleting the local repository

Re: artifacts not downloading

2009-06-23 Thread Barrie Treloar
On Wed, Jun 24, 2009 at 1:54 PM, Wes Wannemacherw...@wantii.com wrote: Hello, Lately I have noticed that while building, maven is downloading its dependencies, but once in a while, an artifact will come over incorrectly (I suspect a bad mirror somewhere). For instance, if I look at the

Re: artifacts not downloading

2009-06-23 Thread Wes Wannemacher
It is a large multi-module build (the struts2 build, in fact) and a quick glance/grep through poms didn't yield any obvious entries pointing to download.java.net, but I will dig further tomorrow. I noticed the same thing at my office recently and I did get around it by using nexus. I just wasn't