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

2009-06-23 Thread Stevo Slavić
It scans through your project's dependencies, looks for licenses definitions, and tries to download them (based on given license URL) into a destination you designate via outputDirectory parameter (defaults to ${project.build.directory}/licenses). It can do the license scanning/downloading quietly

Re: artifacts not downloading

2009-06-23 Thread Barrie Treloar
On Wed, Jun 24, 2009 at 2:35 PM, Wes Wannemacher wrote: > 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 r

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 su

Re: artifacts not downloading

2009-06-23 Thread Barrie Treloar
On Wed, Jun 24, 2009 at 1:54 PM, Wes Wannemacher 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 contents of > ~

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 and

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 -

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ć wrote: >... > >... > >repository.jboss.org >http://repository.jboss.org/maven2 > >true > > >

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

2009-06-23 Thread Stevo Slavić
... ... repository.jboss.org http://repository.jboss.org/maven2 true false ... ... ... ...

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

2009-06-23 Thread Barrie Treloar
On Wed, Jun 24, 2009 at 3:28 AM, Shesadri Parthasarathy 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 installation of the maven plugin

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 t

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,

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 producti

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).

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: src/main/resources/

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

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

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 ha

[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 Cruise

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 wit

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

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

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 Subjec

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 setting

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: 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" 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 contents of p

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 c

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" wrote: > On Tue, J

Re: Snippets of APT files

2009-06-23 Thread Barrie Treloar
On Tue, Jun 23, 2009 at 8:36 PM, nsowatsk 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
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" wrote: > > I don't think this will do what he wants either. It only means that special > apt > char

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 can

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 central

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, nsowatsk wrote: Hi Barrie Thanks for this. That does work, but

Re: Snippets of APT files

2009-06-23 Thread Barrie Treloar
On Tue, Jun 23, 2009 at 3:24 PM, 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? Did you try verbatim=false? As the default is true.

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 ph

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 filt