Hi all,
Formerly I use the maven1 and in the "project.xml" I have the
as follow:
jsf-facelets
jsf-facelets
1.1.12
jar
And in the repository the dir-structure looks as follow:
/repo
/jsf-facelets
/jars
--jsf-facelets-1.1.12.jar
If I hav
I think maybe you haven't understood what my question means since I haven't
cleared my question clearly. :-)
Surely I will not put the jar-files in my local repository. But sometimes I
have to put the jar-files in the remote repository in the server machine. For
example by using spring. Th
You should use the deploy plugin to do it:
http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html
Hand based manipulations are forbidden on local and remote repositories
Jeff
On Jan 8, 2008 10:27 AM, Thomas Chang <[EMAIL PROTECTED]> wrote:
> I think maybe you haven't und
There is a nice way to do it. Don't start putting your own files in your local
repository. Take a look at mvn install:install-file [1] or mvn
deploy:deploy-file [2] if you are working with a team.
Hth,
Nick Stolwijk
[1] http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.htm
i have a zip-mojo which provides a ZIP-Archetype. It was available once and I
downloaded it. If you want i can
send it to you.
brgds
Dominique
-Original Message-
From: Matthew Tordoff [mailto:[EMAIL PROTECTED]
Sent: Friday, January 04, 2008 04:49 PM
To: Maven Users List
Subject: RE:
Hi Fred,
i definded a profile in my personal settings.xml
scmProfile
userid
password
scmProfile
And in the Super-POM (e.g. company POM) i defined the scm plugin like
this
Hi,
I'd like to write a script that downloads a number of artefacts stored
in a maven repo.
The main artefacts are jar files, but I have attached a zip file
containing all dependencies, start and stop scripts and configuration
files so that i can distribute this to customers. It is the zip
Hi Bashar,
An issue has already been filed for this problem, please see:
http://jira.codehaus.org/browse/MRM-633
You can reduce the logging by changing the log level (in log4j.xml) for the
repo scanner from 'debug' to 'info' as shown below.
The log4j.xml file is found in this directory:
Hi,
We've been using TeamCity to build and test a project. The project builds
and all tests are run, but TeamCity displays an incorrect number of tests in
the output. This is the end of the console output from TeamCity:
Failed tests:
[12:02:11]: [bt6]
[12:02:11]: [bt6] Tests run: 740, Failures
Thanks for your answer !
I have read some documentation on using dependency range, but I havent
used it in any real world project yet. The documentation I have found
sometimes makes me think this is a work still in progress. As you seem
to be using it in real world projects, could you please share
Hi,
I am building a WAR, but I see some jar files in the lib WEB-INF\lib folder
in the build which are not mentioned in the pom.xml, and probably are
transitive dependencies. How do I make sure the transitive dependencies are
not put in the lib folder.
I looked on maven-war-plugin FAQs but not any
Hi,
I search into archive but I didn't found.
I'm searching a way to include files (shell script, properties files,
etc.) from an another module, and I didn't know how to do it.
Best regards,
--
François Xavier Gendrin
IT Engineer
[EMAIL PROTECTED]
__
Hi Olivier,
Thanks for the help. ;) I do know that lifecycle.xml is for this
problem but I have not found any proper example for components.xml
versus lifecycle.xml yet. :( Does anybody have a detailed example
lifecycle.xml?
cheers,
Zsolt
On 2008-01-08 01:47, Olivier Dehon wrote:
> On Tue, 200
Hi!
On Tuesday 08 January 2008 wrote ivan:
> I've installed continuum 1.1 as single application (Debian 4.0). And
> under "admin" I can log-in and build projects... Also mails are comming
> on e-mail about status of building. Ive added another user. But I can
> not log-in.
>
> Web-page shows follo
Instead of using the unpack-dependencies goal, try just using the unpack
goal, and specify each individual artifact you require ...
(I have attached my execution to the validate phase since I require the
files I import and unpack as part of later stages of the build).
org.apache.maven.p
Hi Francois,
To retrieve any files you first of all need to install them into the Maven
repository in some way, and to install them into the Maven repository so they
are accessible by other modules which can then retrieve them. The basic steps
are: Package/Assemble, Install/Deploy, Retrieve.
-
The way I do this (and there may be another or better way), I add
explicitly add the transitive dependencies to my pom, and mark them as
scope "provided".
Wayne
On 1/8/08, amit kumar <[EMAIL PROTECTED]> wrote:
> Hi,
> I am building a WAR, but I see some jar files in the lib WEB-INF\lib folder
> i
Of course when you use release:prepare release:perform it will publish your
username and password in the pom.xml that gets tagged
On Jan 8, 2008 10:11 AM, Boeckli, Dominique <[EMAIL PROTECTED]>
wrote:
> Hi Fred,
>
> i definded a profile in my personal settings.xml
>
>
>
>
you can also configure mail via the security.properties file in .m2/
directory
email.jndiSessionName=java:comp/env/mail/Session
email.smtp.host=
email.smtp.port=
email.smtp.auth=
email.smtp.ssl.enabled=
email.smtp.tls.enabled=
email.smtp.username=
email.smtp.password=
cheers!
On Jan 8, 2008 9:06
You can also filter the files being included by unpack-dependencies, you
can use scope,transitive,groupId,artifactId,type,classifier etc. You
should be able to narrow it down to just the ones you want.
Here's the intended distinction between copy/unpack and
copy-dependencies/unpack-dependencies:
I
On 08/01/2008, Thor <[EMAIL PROTECTED]> wrote:
>
> Hello everyone. Thanks for reading.
> I'm having some issues while executing an Archetype that I've created
> (using
> the Guide to Creating Archetypes).
> This archetype creates a webapp that already has several components: JSPs,
> XML files, CSS,
Hello everyone. Thanks for reading.
I'm having some issues while executing an Archetype that I've created (using
the Guide to Creating Archetypes).
This archetype creates a webapp that already has several components: JSPs,
XML files, CSS, JS, and so on, that I need as templates for developing web
a
Thanks a lot Stuart...
I'll try that right away...
On Jan 8, 2008 9:44 AM, Stuart McCulloch <[EMAIL PROTECTED]>
wrote:
> On 08/01/2008, Thor <[EMAIL PROTECTED]> wrote:
> >
> > Hello everyone. Thanks for reading.
> > I'm having some issues while executing an Archetype that I've created
> > (using
Hello,
I have generated the documentation's site for my project with maven
2.0.8.
My project depends of a project A and a project B. The project B depends
of a project A.
All these depends are with a scope 'compile'.
The dependencies' page of the documentation's site show that :
-)
Hi list,
I have couple feedback after some usages of the application.
The menu item "Find Artifact" seems very confusing. Is it allowing me to
upload a artifact into an internal repo? why not label so "upload artifact"?
Also, the notes on this form is very confusing too. For example: "The entire
Anyone?
On Jan 5, 2008 6:44 PM, Kallin Nagelberg <[EMAIL PROTECTED]> wrote:
> Im trying to use the groovy-maven-plugin to execute some groovy scripts
> that make use of the antbuilder. I need to be able to use the
> maven-ant-tasks within this script, which I've tried to do as follows:
>
> def mv
On Jan 8, 2008 9:45 AM, Zemian Deng <[EMAIL PROTECTED]> wrote:
> The menu item "Find Artifact" seems very confusing. Is it allowing me to
> upload a artifact into an internal repo? why not label so "upload artifact"?
>
> Also, the notes on this form is very confusing too. For example: "The entire
Hello,
To release my project I need to call a rather complex maven command :
"mvn install assembly:attached com.mycompany:myplugin:post-goal"
I'd like to provide in my corporate POM some "macro command" to define
custom goals / lifecycle phases to run such commands.
example : "mvn release" to cr
I've seen other people doing this by creating their own batch/shell
scripts in the project directory eg mvn-release.bat and
mvn-release.sh.
We actually used to do this with Ant since we could never remember the
various targets we wanted.
Wayne
On 1/8/08, nicolas de loof <[EMAIL PROTECTED]> wrote
Hi,
I am trying to add more resources to EAR, but unable to do so.
Is there any way to add resources to my EAR package?
I need to add some xml files to EAR/APP-INF/classes/
Thanks,
Raghu
The Maven team is pleased to announce the release of Maven PMD
Plugin, version 2.3.
http://maven.apache.org/plugins/maven-pmd-plugin/
You can run 'mvn -up' to get the latest version of the plugin, or
specify the version in your project's plugin configuration:
org.apache.maven.plugins
maven-p
Thanks you so much, it worked fine for me :). Appreciate for your help
I have one more question, is there any way to customize this path. Can I
specify the path?
Thanks,
Raghu
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2008 2:13 PM
To: Mav
I tried that in both plug-in section and build section. It did not work.
Thanks,
Raghu
-Original Message-
From: Ian Springer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2008 2:09 PM
To: Maven Users List
Subject: Re: Adding resources to EAR
Use the standard resources section of
The source of the ear plugin has this part:
//**
* Single directory for extra files to include in the EAR.
*
* @parameter expression="${basedir}/src/main/application"
* @required
*//
*private* File earSourceDirectory;
I guess it should work by adding
your directory
I've been having some strange issues lately with Maven plugins not
downloading correctly from the central repository. In the course of
trying to track down the problem, I've discovered there's at least one
bad checksum in the central repo. I'm seeing this error:
Downloading:
http://repo1.maven.
I know that if you add a /src/main/application DIR, then add files there,
they will ge added.
So just create /src/main/application/APP-INF/classes/**/**.* should work.
On Jan 8, 2008 12:54 PM, Raghu Kasturi <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I am trying to add more resources to EAR, but
I don't see why adding APP-INF directory would not be included. I added
META-INF and it worked for me.
On Jan 8, 2008 1:20 PM, Raghu Kasturi <[EMAIL PROTECTED]> wrote:
> Thanks you so much, it worked fine for me :). Appreciate for your help
>
> I have one more question, is there any way to custom
Use the standard resources section of the pom, as you would for a jar
artifact.
Raghu Kasturi wrote:
Hi,
I am trying to add more resources to EAR, but unable to do so.
Is there any way to add resources to my EAR package?
I need to add some xml files to EAR/APP-INF/classes/
T
src/main/resources did not work. I just had this issue last week and solved
it with just adding a src/main/application folder then adding my stuff to
that.
On Jan 8, 2008 1:08 PM, Ian Springer <[EMAIL PROTECTED]> wrote:
> Use the standard resources section of the pom, as you would for a jar
> ar
I created a folder in the project src\main\application\APP-INF\classes\
and placed all my files there. It worked fine for me.
I am eager to know whether I can modify the folder. For example
..\someX\someY\APP-INF\classes\
Thanks,
Raghu
-Original Message-
From: Mick Knutson [mailto:[EMAIL
I could achieve it by creating a folder under
sr/main/application/APP-INF/classes and place by xml files there.
But regarding your suggestion:
I even tried that but did not work. I want to include some xml files in
myear.ear/APP-INF/classes/
Thanks,
Raghu
-Original Message-
From: Nick
I never tried. I go it to work, and had to move on to other things. Sorry.
On Jan 8, 2008 1:33 PM, Raghu Kasturi <[EMAIL PROTECTED]> wrote:
> I created a folder in the project src\main\application\APP-INF\classes\
> and placed all my files there. It worked fine for me.
>
> I am eager to know whe
Why do you want to exclude the transitive dependencies? Is it because
these provided by your container (JBoss, Tomcat) and you wish to use
those provided versions? How do you verify that the container's
versions are compatible?
Richard Brewster
Senior Associate
Perrin Quarles Associates
[EMAIL P
There is a JIRA project for reporting repository errors:
http://jira.codehaus.org/browse/MEV
John Williams wrote:
I've been having some strange issues lately with Maven plugins not
downloading correctly from the central repository. In the course of
trying to track down the problem, I've discov
I have accumulated many REPO entries over the past year and am confused as
to which ones are actually valid. Can someone tell me which ones I do not
need, and if there are any that might be better:
dap.internal
DAP Managed Internal Repository
htt
Hey,
It worked and I'll be using this.
Appreciate for your help.
Thanks,
Raghu
-Original Message-
From: Nick Stolwijk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2008 2:27 PM
To: Maven Users List
Subject: Re: Adding resources to EAR
The source of the ear plugin has this part
Anyways thanks for help. I'll look into this and if I could get some
luck. I'll let you know.
Thanks,
Raghu
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2008 2:39 PM
To: Maven Users List
Subject: Re: Adding resources to EAR
I never tried. I
I have created an issue in JIRA to attempt to resolve this.
>From further investigation, it seems that the classpath is different on
Windows and MacOSX.
However for now I'll keep the issue focussed on the example app, as it
may fix other platforms in the process.
Issue is here: http://jira.codeh
Good work Dennis,
what is next? javadoc plugin? :-)
On Jan 8, 2008 12:55 PM, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
> The Maven team is pleased to announce the release of Maven PMD
> Plugin, version 2.3.
>
> http://maven.apache.org/plugins/maven-pmd-plugin/
>
> You can run 'mvn -up' to get
hehe :)
Vincent
2008/1/8, Dan Tran <[EMAIL PROTECTED]>:
> Good work Dennis,
>
> what is next? javadoc plugin? :-)
>
>
>
> On Jan 8, 2008 12:55 PM, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
> > The Maven team is pleased to announce the release of Maven PMD
> > Plugin, version 2.3.
> >
> > http://
Hi,
I am using the continuum 1.1 final with M2 project.
I receive email only when the state of project changes.
Example:
build 1: successful
build 2: successful
build 3: successful
I receive only one email (of build 1).
In continuum´s log I get:
88928560 [pool-1-thread-1] INFO
org.codeh
Dennis < release manager
On Jan 8, 2008 4:37 PM, Vincent Siveton <[EMAIL PROTECTED]> wrote:
> hehe :)
>
> Vincent
>
> 2008/1/8, Dan Tran <[EMAIL PROTECTED]>:
>
> > Good work Dennis,
> >
> > what is next? javadoc plugin? :-)
> >
> >
> >
> > On Jan 8, 2008 12:55 PM, Dennis Lundberg <[EMAIL PROTE
> To release my project I need to call a rather complex maven command :
> "mvn install assembly:attached com.mycompany:myplugin:post-goal"
if you need to just run custom plugin during a release you could bind it to
the verify phase and define in a profile activated by the
property 'performRelease
why are you trying to 'release' with the install plugin?
you should use the release plugin and bind the assembly and custom plugin to a
phase of the project lifecycle, its all very well documented all over the
place
maven-assembly-plugin
2.2-beta-1
package
attached
Hi,
Got two questions:
1) is there a list of dependency available? example, i use JavaMail, and how
to specify this in the dependency?
2) I'm trying to convert my project to Maven2, I have some jar files, how to
add those jar files as one dependency to the project?
Thanks.
--
View this message
Hi,
I am building a WAR package, and every time I see
commons-logging-1.0.4being put in the WEB-INF\lib folder. Although
this is not described in my
pom.xml(I have commons-logging-1.1 as my dependency in the pom.xml) Still I
am getting it. I tried and used mvn package -X to see to which dependency
I just tried mvn site. It did not appear in dependency report as well :(
On Jan 9, 2008 11:38 AM, Dan Tran <[EMAIL PROTECTED]> wrote:
> do
>
> mvn site
>
> and trace it thru dependency report
>
> -D
>
> On Jan 8, 2008 9:56 PM, amit kumar <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I am building a WAR
The assembly plugin requires the package goal to be run prior (to get acces
to modules). mvn assembly:assembly fails with "xx-ear project has no file" !
-> mvn package assembly:attached (as described in plugin doc)
My project has some modules that builds maven plugins, used on other
modules, so in
do
mvn site
and trace it thru dependency report
-D
On Jan 8, 2008 9:56 PM, amit kumar <[EMAIL PROTECTED]> wrote:
> Hi,
> I am building a WAR package, and every time I see
> commons-logging-1.0.4being put in the WEB-INF\lib folder. Although
> this is not described in my
> pom.xml(I have common
The one reason at the moment of not including the transitive dependencies is
the redundant jar files in the lib folder of the packaged WAR.
For instance in the lib folder of the WAR i can see
commons-logging-1.0.4(transitive
dependency of something which I am not able to figure out even after using
Hi
I have also similar kind of problem and needs an effective solution.
Problem: Let's say we have one custom module for creating jar file let's
the name of the jar file is A.jar and that module is dependent upon
let's say 10 third party jars.
Now i have one module for creating war file and i
Which maven version are you using? There were a few problems like this in 2.0.4
and 2.05 IIRC.
Hth,
Nick Stolwijk
-Original Message-
From: amit kumar [mailto:[EMAIL PROTECTED]
Sent: Wed 1/9/2008 8:16 AM
To: Maven Users List
Subject: Re: How to avoid transitive Dependencies getting pack
62 matches
Mail list logo