Dear all,
Sorry for asking, but I am newbie to maven.
By following instructions at
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html
misses profiles tag.
Even after putting settingsprofilesprofile in ~/.m2/settings.xml,
and using mvn -Papache
Creating maven project using mvn archetype:create -
DgropuId=com.project.interfaces\ -DartifactId=my-proj
got exception. What can be wrong with this command?
project
modelVersion4.0.0/modelVersion
groupIdcom.project.interfaces/groupId
artifactIdmy-proj/artifactId
packagingjar/packaging
Bob Aiello [EMAIL PROTECTED] writes:
I have a file that ends up being created with some
permissions that are not what I expected. Is this
a (known) maven bug or does anyone have a suggestion
on how I can debug this.
Yes, this used to be a knwn bug: file permissions numbers were
Thanks Scott,
I managed to sort this out - there were two issues, the first was
(as you suspected) the weblogic.jar in the repository was a dud (empty
file?!)
The second issue was that the weblogic and webservices jars were not in
mvn's
Classpath. I modified the mvn.bat file to add these two
in conf/plexus.xml, you configure the jndi parameters for the mail session like
that:
resource
namemail/Session/name
typejavax.mail.Session/type
properties
property
namemail.smtp.host/name
It depends on what the error is, but if the structure below is your
whole pom file, it isn't valid XML, it's missing a closing tag for
project and the last /dependency tag should be /dependencies. So
some more information may be necessary.
Hth,
Nick Stolwijk
Dmitry wrote:
Creating maven
In my projects, all jars add build time in its name, like
aaa-1.0-snapshot-20070731.jar.
Some project's artifact is eclipse plugin jar and depends other jars.
In eclipse plugin's MANIFEST.MF file, specify depend jars:
Bundle-ClassPath: ./,
lib/aaa-1.0-snapshot-20070731.jar.,
...
Since the
In my projects, all jars add build time in its name, like
aaa-1.0-snapshot-20070731.jar.
Some project's artifact is eclipse plugin jar and depends other jars.
In eclipse plugin's MANIFEST.MF file, specify depend jars:
Bundle-ClassPath: ./,
lib/aaa-1.0-snapshot-20070731.jar.,
...
Since the
Hi
Try using filtering
Hermod
-Original Message-
From: wanyna [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 02, 2007 9:38 AM
To: users@maven.apache.org
Subject: how to auto replace jar name in resource file?
In my projects, all jars add build time in its name, like
HI ,
I have used maven2 for several month,I finded maven can't satisfy my
requirements,eg.:Can maven build tow or more jar package for a project?And
maven can't take out some classes file which is compiled by itself when it
build a jar package,Some times I don't want to pack
all the classes
Go through the same link:
http://maven.apache.org
and start with a Maven in 20 minutes(the provided link).I guess there
are some other link also which includes the examples and goals required.
-Original Message-
From: Haraprasad [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 02,
Also this [1] page lists all the packaging types with the attached goals
and phases.
Hth,
Nick Stolwijk
[1] http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html
[EMAIL PROTECTED] wrote:
Go through the same link:
http://maven.apache.org
and start with a Maven in 20
I am looking for examples... where can i find it ?
Nick Stolwijk wrote:
Also this [1] page lists all the packaging types with the attached goals
and phases.
Hth,
Nick Stolwijk
[1]
http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html
[EMAIL PROTECTED] wrote:
The easiest way to get example is to have a look at that page I send you
and for each plugin you want an example, look at the plugin overview
page[1], click the plugin and look at the usage and goal pages.
Hth,
Nick Stolwijk
[1] http://maven.apache.org/plugins/index.html
Haraprasad wrote:
I am Looking also for a Solution on this.
Any Hints ?
- Jens
I have over 50 modules in my project and they all have headers like:
groupIdorg.delta.esp.dap.c2.services/groupId
version1.0.0.0/version
artifactIdc2-ear/artifactId
packagingear/packaging
parent
I'm finding that my mojos always print the log output even when debug
output is not selected. I'm also finding the message type prints in
lower case. Any ideas what my problem is. I use getLog to get the Log
object in the usual way.
The online mojo API docs say use
I'm using Archiva 1.0 Alpha 2,
When I edit a repository definition and disable Scannable and save
my changes, the changes appear to be ignored on the Repositories
screen.
There also appears to be no information about how much work is left in a scan.
When I watch the logs from the repository
Hi
In maven 1 you can modify the version of a dependency in the project.xml of
a sub-project through a master project.properties file.
e.g in several project.xml you have
version${library.axis.version}/version and in a master
project.properties you have library.axis.version=1.2.9. Hence you
There are at the moment two good books:
Better builds with maven [1]
Maven: The Definitive Guide [2]
The second book is newer.
Hth,
Nick Stolwijk
[1] http://www.devzuz.com/web/guest/products/resources#BBWM
[2] http://www.sonatype.com/book/
Dmitry wrote:
check book - Better Build with
Through dependency management section of the parent pom. In short, you
don't specify a version in the dependency section of the child pom and
specify the version in the dependency management section. In long, see
Pom Relationships in the new Maven book. [1]
Hth,
Nick Stolwijk
[1]
check book - Better Build with Maven: goals - package, install, deploy,
test
and specific to IDE like for instance mvn eclipse:eclipse
thanks,
DT
www.ejinz.com
Search Blogs News
- Original Message -
From: Haraprasad [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Thursday, August
Hey,
Sorry for the late reply, I lost that one.
On 7/31/07, Marc Chung [EMAIL PROTECTED] wrote:
1. What does the pom.xml for a WSR project look like? There is
neither a WSR packaging type nor a plugin, that I have found, that
manages it. (I'm thinking of something similar to the jboss-sar
Even better - you can do away with the system property requirement if you use
Maven Filtering with spring. That way you can set the parameters at build
time, and not have to depend on a system parameter existing.
e.g. you use maven filtering to replace ${dev} inside your spring xml files
with
On 02/08/07, Arash Amiri [EMAIL PROTECTED] wrote:
Hi
I have a question considering maven and osgi bundles:
I create an eclipse plugin-project and enable maven (using the codehaus
maven-eclipse plugin).
Any dependencies in the pom.xml (let's say for example
commons-httpclient) wont be
Hi
I have a question considering maven and osgi bundles:
I create an eclipse plugin-project and enable maven (using the codehaus
maven-eclipse plugin).
Any dependencies in the pom.xml (let's say for example
commons-httpclient) wont be included in the bundle.
Is there any way to automatically
:) Thanks.
I see it, but I set JAVA_HOME, and that, plus M2_HOME eliminated all
but those three. Sadly, it didn't clear up the remainder.
Christian.
On Jul 31, 2007, at 4:55 PM, LAMY Olivier wrote:
Yes.
http://jira.codehaus.org/browse/CONTINUUM-1356
;-)
--
Olivier
Ahmed Ashour wrote:
Dear all,
Sorry for asking, but I am newbie to maven.
By following instructions at
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html misses
profiles tag.
I've updated the site docs.
Even after putting settingsprofilesprofile in
Wouldn't this still result in different artifacts for different environments?
If so, this is what I want to avoid. I would like my artifacts to be
environment agnostic. If you are building a single artifact, perhaps you
could explain how this works.
Thanks,
John
Antony Stubbs wrote:
Even
Dear Dennis,
Thanks a lot for your help.
I've updated the site docs.
I am afriad the site still lacks the profiles
Please try again.
Well, it is the same: the following are the steps:
1- Run mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
-DgroupId=com.mycompany.app
Girish1702 wrote:
Hi
In maven 1 you can modify the version of a dependency in the project.xml of
a sub-project through a master project.properties file.
e.g in several project.xml you have
version${library.axis.version}/version and in a master
project.properties you have
sam [EMAIL PROTECTED] writes:
HI ,
I have used maven2 for several month,I finded maven can't satisfy my
requirements,eg.:Can maven build tow or more jar package for a project?And
maven can't take out some classes file which is compiled by itself when it
build a jar package,Some times
Ahmed Ashour wrote:
Dear Dennis,
Thanks a lot for your help.
I've updated the site docs.
I am afriad the site still lacks the profiles
Yes I know, its fixed in SVN but not published yet.
Please try again.
Well, it is the same: the following are the steps:
1- Run mvn archetype:create
We're really going to be stuck with these for another five months? :-(
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 5:01 PM
To: Maven Users List
Subject: Julia Vilke/Moscow/Canon/FI is out of the office.
I will be out of
Emmanuel,
What about the mail configuration that is in:
apps/continuum/webapps/WEB-INF/classes/META-INF/plexus/application.xml
There are some mail configs here, some there - which are correct? Is one set a
leftover from a prior version?
Regards,
Randall
-Original Message-
On Wed, Aug 01, 2007 at 10:10:13PM -0400, Timothy Reilly spake thus:
Is there additional information on Wagon besides
http://maven.apache.org/wagon ?
I have been working with wagon for the last couple of days. The best
I've personally have found is to read the code:
That's exactly what I am doing.
And it works fine except for the problem that I mention in this thread of
the project artifactId being added to some urls like the scmConnection.
On 8/1/07, Bryan Loofbourrow [EMAIL PROTECTED] wrote:
I'm wondering if the following would work:
- Make your
Actually, I think the best way to achieve this is to use the
dependenciesManagement section in the parent POM.
In your parent POM you define the specific versions of the
dependencies you want in the dependenciesManagement section. These are
not actual dependencies of the parent project, just a
should be fixed on trunk now, it was a errant 1.1-SNAPSHOT parent reference
in a test case
On 7/31/07, Christian Gruber [EMAIL PROTECTED] wrote:
:) Thanks.
I see it, but I set JAVA_HOME, and that, plus M2_HOME eliminated all
but those three. Sadly, it didn't clear up the remainder.
Dear Dennis,
Did you specify the version of the checkstyle plugin in your pom?
That's the reason, thanks so much for your help.
Ahmed
Ready
for the edge of your seat?
Check out tonight's top picks on
Hi,
---
Here is my setting.xml:
settings
profiles
profile
iddefault/id
activation
activeByDefault/
/activation
properties
myusernamemy username/myusername
mypasswordsecret/mypassword
Hello Guys,
I need to setup some memory config from my maven-jetty plugin.
Tried to set MAVEN_OPTS=-Xms1024M -Xmx1024M -XX:PermSize=96M
-XX:MaxPermSize=128M
but didn't work.
The best scenario for me would be configure this within my pom.xml file.
Any idea if that is possible?
Any solution
Cool. Thanks.
Christian
On Aug 2, 2007, at 9:29 AM, Jesse McConnell wrote:
should be fixed on trunk now, it was a errant 1.1-SNAPSHOT parent
reference
in a test case
On 7/31/07, Christian Gruber [EMAIL PROTECTED] wrote:
:) Thanks.
I see it, but I set JAVA_HOME, and that, plus M2_HOME
Hello,
simple question :
How can i Change the localhost so that someone can click on that link directly
in his mail client ?
Sample from mail Notification:
Online report :
http://localhost:8080/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/55/buildId/66
Build
Is there a search interface for this mailing list?
Thanks in advance.
--
Ale Feltes Quenhan
http://tinymailto.com/alefeltes
Hi,
We have been using m2 and the release plugin for some time and there are a
couple of things that have been bothering me for a while now:
1) When we do a release, the SVN label for the release must be located on
the branches/ directory of SVN. This is because the plugin creates the
label,
Hi,
I am on M2 and doing site generation. The reports are coming up fine. I
wanted to add couple of documentation links. I have a local document
like user guide and developer guide pages which i want to add to the
site generation. I have them as HTML files and when i link it as shown
I tried searching the forum and didn't come up with anything on this. I'm
using Maven's Assembly Plugin 2.2-beta-1 (I need some of the features in the
newer version) and my users have been noticing that images included in the
releases (both ZIP and TAR GZ) are corrupted. On the other hand, the
Vijay Venkataraman [EMAIL PROTECTED] writes:
Hi,
Hi Vijay,
Problem
When i click on the user guide / developer guide link, they open in
the same window replacing the existing one. I want them to open in the
right hand side, just as it happens for other standard reports,
showing
A few months ago I posted several times about the deficiencies of wagon.
You can probably find them in the archives. If not let me know and I
can repost them.
But through all the smoke and mirrors, one of the most important modules
wagon encapsulates is com.jcraft.jsch. If you look at this
Hi,
I want the builds launched by continuum to use jdk1.5 while the default in
my windows machine is jdk1.4.
When doing a manual start with run.bat it can be done by setting the
JAVA_HOME in run.bat like that:
[...]
rem At runtime, the current directory will be that of Wrapper.exe
rem
:startup
Hi,
I am trying to install continuum 1.1-beta-1. In
apps/continuum/conf/application.xml I see a reference to jetty.port.
Where are supposed to set this property?
Thanks
Oscar
I need some assistance in how to add a folder to the classpath for JUnit
testing.
My situation is this...we use Spring to wire most of our stuff together. I
would like to have some JUnits that use a test configuration for Spring.
The Spring config file(s) are located in
see if you can use this link to reconfigure your NT startup command/params
http://wrapper.tanukisoftware.org/doc/english/props-envvars.html
-D
On 8/2/07, Oscar Picasso [EMAIL PROTECTED] wrote:
Hi,
I want the builds launched by continuum to use jdk1.5 while the default in
my windows
Anyone ???
I am Looking also for a Solution on this.
Any Hints ?
- Jens
I have over 50 modules in my project and they all have headers like:
groupIdorg.delta.esp.dap.c2.services/groupId
version1.0.0.0/version
artifactIdc2-ear/artifactId
packagingear/packaging
parent
Hi,
Have a look
http://maven.apache.org/continuum/guides/mini/guide-configuration.html section
Example Jetty Configuration
--
Olivier
-Message d'origine-
De : Oscar Picasso [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 2 août 2007 18:16
À : [EMAIL PROTECTED]
Objet : Jetty port in
mbabauer [EMAIL PROTECTED] writes:
I need some assistance in how to add a folder to the classpath for JUnit
testing.
My situation is this...we use Spring to wire most of our stuff together. I
would like to have some JUnits that use a test configuration for Spring.
The Spring config
I have started creating archetypes, and want to know if anyone has created a
batch file already that would prompt the user for inputs required for
creating the new module from an archetype?
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
By default, without configuration it should take
C:\Documents and Settings\usedid\.maven\repository
but it is not taking
In project.xml I have given the dependencies jars list
also such as
**
dependency
groupIdoracle/groupId
I keep getting line not tested for private constructors. How do I ignore
this?
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
I have the following declaration for an xml beans jar module:
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;
That is something coming in the new re-write of archetype. I'm surprised
it's not out yet.
--
Eric Redmond
http://blog.propellors.net
On 8/2/07, Mick Knutson [EMAIL PROTECTED] wrote:
I have started creating archetypes, and want to know if anyone has created
a
batch file already that would
Hello,
I was looking for the pomtools plugin but could notfind it anywhere.
Does anybody knows where it is located ?
Thanks a lot
--
OQube software engineering \ génie logiciel
Arnaud Bailly, Dr.
\web http://www.oqube.com
-
I would like to install Continuum 1.1-alpha-2. Will I be able to use
Maven 2.0.5 and Java 1.4.2_10? Thank you.
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended
yes, you can use those with the profile setup, just register those
installations of maven and the jdk and you'll be in good shape
ping here if you have issues
cheers!
jesse
On 8/2/07, Morgovsky, Alexander (US - Glen Mills)
[EMAIL PROTECTED] wrote:
I would like to install Continuum
Hi Deng,
Thanks for the reply. Your suggestion (to place the descriptors in the pom)
worked. Thanks a lot. But is there a way to just specify from command line?
The reason i need this is, i have few assembly descriptors (for various
sources, javadocs and few for binaries). I have a plugin that
profiles/installations are in 1.1-beta-1 not in 1.1-alpha-2
Jesse McConnell a écrit :
yes, you can use those with the profile setup, just register those
installations of maven and the jdk and you'll be in good shape
ping here if you have issues
cheers!
jesse
On 8/2/07, Morgovsky, Alexander
We are pleased to announce the release of Dependency Analyzer version
1.0.3-rc0
http://dep-analyzer.sourceforge.net
Release Notes
-
** New Feature
* [MDV-21] - Ability to see as a tool-tip on a link where the
dependency comes from
* [MDV-27] - Show the path(s) from
On Thursday 02 August 2007 18:18:30 mbabauer wrote:
I need some assistance in how to add a folder to the classpath for JUnit
testing.
My situation is this...we use Spring to wire most of our stuff together. I
would like to have some JUnits that use a test configuration for Spring.
The
Hi Everyone,
I have a odd situation here. I run maven 2.0.6 on multi-module project.
One of those projects wants to include the java docs for several but not all
of the other projects. What would be the best way to get the generated java
docs from the aggragrate/parent pom the the sub-project
Jose Alberto Fernandez wrote:
1) When we do a release, the SVN label for the release must be located on
the branches/ directory of SVN. This is because the plugin creates the
label, then changes the POMs to remove the SNAPSHOT and then tries to
commit. By default committing on the tags/
Well, I deleted my local repository cache and reissued the command and it
worked ... for a time. Now, I'm back at this point again and specifying the
version didn't help (and I've never had to do that before). This is very
frustrating, anyone have any ideas how I can troubleshoot this? I think
This exact same problem (essentially) was posted a couple days ago,
and I responded to it at the time, and I will give you the same
answer. I imagine you're running into exactly the same problem... If
this doesn't work for you, post back and we'll try to help more.
to Maven Users List
I will be out of the office starting 16.05.2007 and will not return until
08.01.2008.
I'm on maternity leave till January 2008.
In case of Canon Consumable business, please contact Mikhail Popov, in case
of Paper business - Maria Bondarenko.
David Williams on 02/08/07 19:57, wrote:
Hi Everyone,
I have a odd situation here. I run maven 2.0.6 on multi-module project.
One of those projects wants to include the java docs for several but not all
of the other projects. What would be the best way to get the generated java
docs from the
Hi,
I've just installed the latest Cygwin and maven 2.0.6
When I open a cygwin window and attempt to execute maven --version I get the
following:
bash-3.2$ mvn --version
bash: /cygdrive/c/bin/maven-2.0.6/bin/mvn: /bin/sh: bad interpreter: No such
file or directory
Also - please reply directly
Actually, that looks like you have a dos2unix problem
(If the first line of your mvn script has #!/bin/sh^M
rather than just #!/bin/sh you might get that message)
Dana
-Original Message-
From: Alex Worden [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 02, 2007 3:34 PM
To:
http://www.nabble.com/Maven---Users-f178.html
On 8/2/07, Alex Worden [EMAIL PROTECTED] wrote:
Hi,
I've just installed the latest Cygwin and maven 2.0.6
When I open a cygwin window and attempt to execute maven --version I get the
following:
bash-3.2$ mvn --version
bash:
I have run it under cygwin - although actually I did build it locally
first. There were some tweaks necessary.
Bob
raiello at acm.org
-Original Message-
From: Alex Worden [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 02, 2007 6:34 PM
To: users@maven.apache.org
Subject: Does maven
Works fine for me:
$ which mvn
/cygdrive/c/java/maven-2.0.5/bin/mvn
$ mvn --version
Maven version: 2.0.5
Only catch I have is that some of my pom.xml files have
antrun sections that refer to C:\ paths and that doesn't
quite resolve 100% some of the time, but for pure java
stuff it works fine
Hi,
I finally resorted to re-installing cygwin again. I must have somehow gotten
a corrupt version of it. I think things are working now.
Thanks for your help.
Hey - also... Thanks to Bob for the link to this forum. Is this part of the
official maven site? I can't see any links to the forum
On 03/08/07, Mick Knutson [EMAIL PROTECTED] wrote:
I have started creating archetypes, and want to know if anyone has created a
batch file already that would prompt the user for inputs required for
creating the new module from an archetype?
as Eric said, there's the new archetype code
What specifically do you mean by non-deterministic? Simply saying
not always correct is not sufficient -- we need details about what
you expect to occur vs what did occur, etc.
jwsc takes the service implementation with annotations and produces
various artifacts. One of them is java-wsdl-mapping
Barrie Treloar wrote:
I'm using Archiva 1.0 Alpha 2,
When I edit a repository definition and disable Scannable and save
my changes, the changes appear to be ignored on the Repositories
screen.
There also appears to be no information about how much work is left in a scan.
When I watch the logs
The proxy connector only allows linking an internal repository with a
remote repository.
At the moment I have our repositories physically separated on disk (a
hang over from maven-proxy setup)
I have the following layout:
* internal
* internal_snapshot
* maven_proxy
I would like to keep these
Hi Jesse. I was thinking of using alpha-2 because I had read that some users
on this forum had some concerns about installing beta-1, and I figured that I
should try it with the previous version to the last. However, I will certainly
install beta-1 if that is the recommended version at this
well, most of the issues I have seen with beta-1 have been largely benign...
we are trying to push things now though towards a beta-2 in a week or
two I believe. I wouldn't wait though, I would start hopping on the
beta's and help us get them tested and out the door :) the upgrade
path from
Hi,
I am in the process to migration quite a lot of projects from cruise
control.
Do you advise to stick with 1.0.3 or can now use 1.1-beta-1 for production?
Thanks
Oscar
Take a look:
http://maven.apache.org/continuum/release-notes.html
Seems a bit outdates. Maven-blogs.com do notr exist ...
Hi,
I have forced to build a project. It succeeded.
The project continuum group has an email notifier with events =
Error/Failure/Success/Warning.
I don't receive any email notification and noticed in the logs:
1603973 [pool-1-thread-1] INFO
89 matches
Mail list logo