Anyone? :-)
> -Ursprüngliche Nachricht-
> Von: Lewis, Eric [mailto:eric.le...@ipi.ch]
> Gesendet: Dienstag, 13. Januar 2009 14:15
> An: Maven Users List
> Betreff: How to add a dependency dynamically during the build
> in a plugin?
>
> Hi
>
> I just started to write my first plugin w
It would be simpler if you could install a Maven Repository Management
in your Intranet, or copy the local repository from one machine to the
build machine, then run maven offline.
-Original Message-
From: Thummala, Sandhya [mailto:sandhya.thumm...@ca.com]
Sent: Thursday, January 15, 2009
2009/1/15 Guofeng Zhang
> It would be simpler if you could install a Maven Repository Management
> in your Intranet, or copy the local repository from one machine to the
> build machine, then run maven offline.
>
I agree with Zhang, this is the typical scenario for a Maven repository
manager whi
zhang's suggestion is better^_^
yes ,copy the local repo from another machine also is good !
On Thu, Jan 15, 2009 at 4:53 PM, Gabriele Columbro <
g.colum...@sourcesense.com> wrote:
> 2009/1/15 Guofeng Zhang
>
> > It would be simpler if you could install a Maven Repository Management
> > in your
does the pluginGroups in the setting.xml work? anybody comes to this
problem?
On Mon, Nov 24, 2008 at 3:21 PM, 苏林冲 wrote:
> Anybody konw this?
>
> 2008/11/21 苏林冲
>
> Hi, all
>> I have set below in setting.xml
>>
>> com.mycompany.maven.plugins
>>
>>
>> when i run myplugin:exec , maven pr
Hi,
I've got a java package (along with the jar dependencies it uses) that I do
not want to be added to the war file we send to our client. Also, I do not
want the pom.xml to be part of the war file.
(This is the default, the devevelopment war file is build by using a
profile).
I tried this:
I can't recall where I read the advice but I've been using profiles to set
up various test scenarios. This works well as I can then use the dependency
logic. These are manually run tests via the command like as in
mvn -Ptest1
Within the profile I can then create a database, load it with test data
Hello Maveneers,
i am kinda freshman in maven and in java world as well so please excuse me
if the question is kinda easy to answer but i am really frustrated.
I am developing an OSGI bundle using Eclipse , m2eclipse ,
maven-bundle-plugin for the packaging and pax cursor for running the OSGI
envi
Hi all,
I need the "testng-5.8-jdk15.jar" in my program and I find it under:
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/testng/testng/5.8/
I put this dependency in the "pom.xml" as follow but it couldn't find that.
What is the correct writting for ?
thomas2004 wrote:
>
> I need the "testng-5.8-jdk15.jar" in my program and I find it under:
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/testng/testng/5.8/
>
I tried the following in Eclipse and worked fine
org.testng
test
inbroker wrote:
>
>
> I tried the following in Eclipse and worked fine
>
> org.testng
> testng
> 5.8
> jar
> jdk15
>
Yes, it works. The file is supposed to be called settings.xml.
On Jan 15, 2009, at 6:05 AM, "linchongsu"
wrote:
does the pluginGroups in the setting.xml work? anybody comes to this
problem?
On Mon, Nov 24, 2008 at 3:21 PM, 苏林冲
wrote:
> Anybody konw this?
>
> 2008/11/21 苏林冲
>
> Hi, a
Hi!
On Thursday 15 January 2009 thomas2004 wrote:
> I need the "testng-5.8-jdk15.jar" in my program and I find it under:
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/testng/testng/5.8/
>
> I put this dependency in the "pom.xml" as follow but it couldn't find
> that. What is the correct writ
Hello,
I am experienced with maven but new to Eclipse IDE. I have used maven
with Netbeans IDE and the mevenide Netbeans plugin. WHat I liked about
it was how Netbeans was completely driven by the pom configuration and
how natural and familiar everything was for a maven user.
I would like t
On Thursday 15 January 2009 Farrukh Najmi wrote:
> I am experienced with maven but new to Eclipse IDE. I have used maven
> with Netbeans IDE and the mevenide Netbeans plugin. WHat I liked about
> it was how Netbeans was completely driven by the pom configuration and
> how natural and familiar every
Try this if you want an Eclipse plug-in to manage the integration:
http://m2eclipse.sonatype.org/ [1]
Try this if you want a Maven plug-in instead:
http://maven.apache.org/plugins/maven-eclipse-plugin/ [2]
I tend to lean to [2], but then I'm happier just using command line
mojos to get some of th
Eric,
Short answer, please don't do it. Plugins that add dependencies like that
cause major grief to any ide integrations and also make it impossible to
change versions of used dependencies, essentially making your plugin less
useful.
regards,
Eugene
Lewis, Eric-2 wrote:
>
> Anyone? :
Adam Leggett wrote:
>
> I tend to lean to [2], but then I'm happier just using command line
> mojos to get some of the additional value add that's in [1] (and it does
> have some pretty slick features, which you'll see if you try it). For
> example, I'd do something like mvn dependency:tree > d
there's also Eclipse IAM (formerly Q4E) http://code.google.com/p/q4e/
re: dependency tree, I use all the time Q4E dependency analysis
http://code.google.com/p/q4e/wiki/DependencyAnalysis
On Thu, Jan 15, 2009 at 3:43 PM, Adam Leggett wrote:
> Try this if you want an Eclipse plug-in to manage th
Hi,
I have some documents authored in APT that get bundled with the
project web site when doing "mvn site". This transforms the APTs into
separate HTML files, but each one has a copy of the site's sidebar,
header, and footer. This is fine when viewing the document as part of
the site, but
Hi,
I have two profiles defined in pom.xml. Any ways I can build two wars of
both profiles in on line of command? i.e. mvn install -P
development,production and place them at different location?
Thanks in advance,
Vincent
--
View this message in context:
http://www.nabble.com/Build-problem-usi
>> I just started to write my first plugin which should add some JARs
>> dynamically to the project's dependencies.
Adding dependencies dynamically during the build is generally regarded
as a "bad idea" for various reasons.
So, I don't expect that you will get much of a response to this...
Wayne
> I've got a java package (along with the jar dependencies it uses) that I do
> not want to be added to the war file we send to our client. Also, I do not
> want the pom.xml to be part of the war file.
I would move the code in that java package and its dependencies out of
the war to its own module
On Wed, Jan 14, 2009 at 5:39 PM, Stephen Duncan Jr wrote:
> I'm following the instructions here to set the context-root for my web
> modules as specified here:
> http://maven.apache.org/plugins/maven-ear-plugin/examples/customizing-context-root.html
>
> It seems to have no effect on the generated
> For now I've worked around the issue by using the applicationXml
> configuration to point to my own application.xml with the context-root being
> set, instead of using the generated one. I'd still like to know if this is
> just broken for everyone, or if there's something I'm missing so I can
>
Hi,
I want to modify my "release:perform" goal, so it will automatically upload my
assemblies to sourceforge, so I can easily provide them on the sourceforge
download page.
Yet I can build the assemblies and upload the site on using "release:perform"
by using this:
--- SNIP ---
Let`s say we have 2 branches Infrastructure and Web.
The project web-core depends on infra-persist.
We want to be able to manage the versions of the infra-persist and
at the same time have a default value of 0.0.1-SNAPSHOT if no version
is specified.
Infrastructure
infra-parent
infra
Hi,
I have a custom plugin that I've written, and I need it to call out to
some other plugin. For example, I've got the following code in a POM:
maven-assembly-plugin
installer
package
directory-si
I have some jar files under src/test/resources folder. I have enabled
filter for the test resources. Now during filtering jar files get
corrupted. I have tried the following configuration but does not seem
to work.
org.apache.maven.plugins
maven-resources-plugin
jar
Any help?
Hi,
I have a question about developing maven plugin.
A plugin can get the property value of POM.xml, as "@parameter" annotation does.
But how can I create a new property in maven plugin, which can also be accessed
in POM.xml?
That is, how can I update the property value of POM.xml in a maven
> I have some jar files under src/test/resources folder. I have enabled
> filter for the test resources. Now during filtering jar files get
> corrupted. I have tried the following configuration but does not seem
Many people use /src/main/resources/filtered and
/src/main/resources/unfiltered for th
Any suggestions please?
--
View this message in context:
http://www.nabble.com/Maven-bundle-plugin-and-Swing-tp21476430p21494022.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: us
32 matches
Mail list logo