Hi all,
If I visit the site of Maven Release Plugin I can see the following goals:
Goals Overview
* release:clean Clean up after a release preparation.
* release:perform Perform a release from SCM
* release:prepare Prepare for a release in SCM.
* release:rollback Rollback a previ
Yes I got the solution.
I modified POM.xml ( tag) to take the sources from required
location.
Thanks & Regards
Ramesh Babu.P
-Original Message-
From: Ramesh Babu Pokala - TLS, Chennai
Sent: Tuesday, April 24, 2007 10:32 AM
To: Maven Users List
Subject: RE: Problem in packaging mu
Maven2 requires Java source code to be in:
my-app/src/main/java
You can change some settings in the pom so your source directory is
app/src/java for example, but you'll need to figure this out on your
own -- its documented on the Maven site. I suggest you don't head down
the path of changing all
Hi,
One small query:
my-app
> |-- pom.xml
> `-- src
>-- main
> `-- java
> `-- package1
> `-- package2
> `-- package3
> | `-- App.java
> `-- package4
> `-
Hi All,
The following errors are coming while trying to build Eclipse RCP
Application using pde-maven-plugin.
I have not at all used the plugins those are listed as missing in the
log below.
But it is asking these plugin.
What might be the problem...any gusses?
* LOG
Great thread - with a lot going on. A significant part of the discussion is
about how to make sure one's overall Maven system is in a known state with
known quality. That then brings up who establishes that quality and what is
the governance around it and whether all that process will limit folk
Hi,
You can set the username and password either in your
$M2_HOME/conf/settings.xml or
in ${user.dir}/.m2/settings.xml
For more info about this, please see:
http://maven.apache.org/settings.html
Thanks,
Deng
[EMAIL PROTECTED] wrote:
Hi Everyone,
Can someone tell me how do i get Maven to
This should give you a start...
http://www.nabble.com/Remove-auto-resolution-of-plugin-versions-from-Maven-2.1-tf3560617s177.html#a10144515
Wayne
On 4/23/07, gilclark <[EMAIL PROTECTED]> wrote:
Sorry to be a NewB, I'm having trouble finding the @dev discussion.
A couple weeks back I downloade
Sorry to be a NewB, I'm having trouble finding the @dev discussion.
A couple weeks back I downloaded and modified the 2.0.6 source to do what I
need. It was nothing too complicated but since it is core code and a
fundamental shift in how folks expect version selection to work, I can
understand t
I checked the user@ archive and sure enough, this is a bug in the
documentation -- you must wrap the nodes insides .
Same with and I assume .
Wayne
On 4/23/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
Any reason you're using 2.0 instead of 2.1? Give it a try and see if
it works any better.
Also,
Any reason you're using 2.0 instead of 2.1? Give it a try and see if
it works any better.
Also, perhaps try wrapping your ignore node(s) inside an ignores node:
...
Wayne
On 4/22/07, Adrian Herscu <[EMAIL PROTECTED]> wrote:
Hi all,
I am using the cobertura-maven-plugin 2.0 and I want to mak
Are you sure Assembly is finding the assembly.xml you've specified
during the reactor build? I know paths specified in child pom plugins
sometimes don't work as expected during reactor builds, etc.
As a test, rename the assembly.xml file to .blah and run from child.
If the assembly plugin "looks"
Hi,
If in addition to publishing an artifact to a repository I wanted to
move the artifact to a remote server after the build which plugin
would be best suited for this?
Thanks
Larry
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Yes and yes, plus longer questions are less likely to be answered than
shorter ones. Also it feels like you haven't done all of your own
homework on these issues, so rather than trying things out and then
asking for specific help with things when you're stuck, you're just
throwing it out there to
You'll need to read the thread on dev@ to see how people have
responded thus far. But based on the initial response, I just don't
see it happening.
Admittedly, this issue hasn't had a terribly thorough discussion etc
so feel free to take that on if you are seriously interested. I just
think its g
So, what would it take to get this sort of thing in place? It's not such a
futuristic need - some of the big budget SCM tools allow for the component
query to include a quality level and indeed Ivy allows for this as well. Is
the reasoning in the Maven community that this is not necessary or tha
Yes. Thank you. That worked.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Marcelo Colomer Cornejo
Sent: Monday, April 23, 2007 3:30 PM
To: Maven Users List
Subject: RE: Correct location for properies files
We put them into src/main/resources.
The pac
Is there a way I can access the current execution ID if I have multiple
executions of a plugin?
I have multiple executions of the surefire plugin, and I would like the
output to go to a different directory for each execution.
So in my plugin configuration I would like to have something like:
We put them into src/main/resources.
The package goal copy them into Web-inf/classes.
src/main/java
target/${artifactId}-${version}/WEB-INF/classes
src/main/resources
target
${artifactId}
Is the question too general or too open ended?
On 4/22/07, Baz <[EMAIL PROTECTED]> wrote:
All,
I would like to obtain simple instructions of incoroperating the use
of release goals in my build system that consists of CruiseControl or
Continuum and Maven 2. I have read the pages in
http://maven.
src/main/resources
Add this path to your source folders in Eclipse, then both Eclipse and
Maven will be happy with you.
Holt, Jack C. wrote:
Where is the correct location in the project directory tree for
properties files?
For instance, I am using a file I call message_en.properties that
Where is the correct location in the project directory tree for
properties files?
For instance, I am using a file I call message_en.properties that is
used to contain the i18n messages that I want to access using resource
bundles. In other words, it contains the English version of
international
Yes, just use the unique version of the snapshot like you would do for a
release version:
4.1.2-20070321.174345-38
Kalle
On 4/23/07, Borut Bolčina <[EMAIL PROTECTED]> wrote:
Hello,
how can I use last known good snapshot, if the latest isn't working? Let's
say a third party or in-house snapsho
I'd like to preface my answer below with the small fact that we don't
actually deploy our eclipse plugins in-house, and hence we had not
encountered this issue at the time of writing the article. We have build
machines that run Continuum and locally we all simply do "mvn clean install"
on all our
Under Maven v2.0.6, with Surefire plugin v2.3, the directory containing
the .class files generated by the test-compile phase
(${basedir}/target/test-classes/) is not included in java.class.path
when I run "mvn test". (I got this info from the
target/surefire-reports/TEST-.xml file for a failing te
Hello,
how can I use last known good snapshot, if the latest isn't working? Let's
say a third party or in-house snapshot jar is downloaded to my local repo
which brakes my application. If I don't want to use for example:
tapestry-framework-4.1.2-SNAPSHOT.jar
and instead want a few days older one
is certainly not currently available. And I doubt it will
be available at any time in the future. It was simply a suggestion
from a user on the dev@ list.
This is like seeing a movie on Sci Fi channel about flying cars and
asking GM where you can buy one. ;-)
Wayne
On 4/23/07, gilclark <[EMAIL
Hi,
I'm trying to work out using the release-plugin with a multi-project
setup. All of my sub-projects refer to the parent project and inherit
its version - not declaring one of their own. I use ${project.version}
in my dependencies so that inter-project dependencies can refer to the
curren
I saw a post recently that referred to a attribute being used
during plugin resolution. The purpose of the attribute was to make sure
that only "released" or "beta", etc. versions were selected rather than
alpha or lower level qualtiy.
As far as I can tell Maven doesn't use a quality level for
How do I change the log level of the surefire plugin? I would like to
change the log level from DEBUG to INFO.
If I have multiple execution IDs in my surefire configuration, is there
a way to run just one of the executions? I could do it using profiles,
but I was wondering if there is an e
I am using the maven-plugin-testing-harness for general unit-testing of my
plugins, but I find that I need something to test how I am processing
dependencies. Does anybody have a good strategy for unit-testing behavior that
depends on the dependencies?
Thanks
Liz
[EMAIL PROTECTED]
Hi Everyone,
Can someone tell me how do i get Maven to connect to a windows https:
remote server. Can I pass the username and password?
Thanks,
David
Hi Wayne,
mvn -X looks like this (I think it's the relevant portion -- if you need
the entire log please let me know):
[INFO] Preparing exec:java
[WARNING] Removing: java from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[DEBUG]
org.acme.l
Yes it does work in the same server for the same user! and exactly the same
configuration for maven.
Wayne Fay wrote:
>
> Does it work from Maven on the same server, with the same user?
>
> Wayne
>
> On 4/23/07, monsterkhan <[EMAIL PROTECTED]> wrote:
>>
>> Thanks for the reply Wayne. This wo
Have you tried this.
mvn -e scm:checkout -DcheckoutDirectory=src/main/java -Dincludes=*.java
-DscmVersion=My_Release_1_0 -DscmVersionType=branch
-Dmaven.scm.provider.cvs.implementation=cvs_native
-DconnectionUrl=scm:cvs:pserver:user_name:[EMAIL
PROTECTED]:my_cvs_home_path:my_cvs_module_path
Does it work from Maven on the same server, with the same user?
Wayne
On 4/23/07, monsterkhan <[EMAIL PROTECTED]> wrote:
Thanks for the reply Wayne. This works in maven on commandline perfectly, its
only after the maven/mks integration has matured have we moved on to
Continuum. Any more valuab
On 4/23/07, Geoffrey De Smet <[EMAIL PROTECTED]> wrote:
I also have a dependency on spring-core:
/repo/org/springframework/spring-core/2.0.2/spring-core-2.0.2.jar
So I need a different classpathPrefix depending on the dependency.
what is your use case ?
I am not sure that the repository-like
Thanks for the reply Wayne. This works in maven on commandline perfectly, its
only after the maven/mks integration has matured have we moved on to
Continuum. Any more valuable suggestions are welcome.
Wayne Fay wrote:
>
> I'd make this SCM w/MKS work in Maven first, then worry about making
> i
sorry, I thought I've sent the first mail to the proximity list so I sent this
one to the maven list due to the fact that I'm feeling like it's a maven's
configuration related
because it's just a proxy configuration I think ! isn't it Mr Wayne ? :-)
have you experienced using the eclipse plugin
I'd make this SCM w/MKS work in Maven first, then worry about making
it work in Continuum. Or does it work fine in Maven (stand alone from
command line) but not Continuum?
Wayne
On 4/23/07, monsterkhan <[EMAIL PROTECTED]> wrote:
That is something that I get in the failed build list on the fron
What's mvn -X look like?
Wayne
On 4/23/07, Adrian Herscu <[EMAIL PROTECTED]> wrote:
Hi all,
Using Maven 2.0.6 and the exec-maven-plugin 1.1-beta-1, the following
messages appear during the java goal execution:
[INFO] Preparing exec:java
[WARNING] Removing: java from forked lifecycle, to preve
1. You sent this same exact email to this list 2hrs ago. Do NOT resend
emails repeatedly to this list, its just rude. Your problem is no more
important than anyone else's.
2. For all intents, your questions are entirely Proximity related.
Send them to the Proximity User list.
Wayne
On 4/23/07,
For a starter, see http://maven.apache.org/guides/mini/guide-m1-m2.html.
For subscribing to the mailing list, see
http://maven.apache.org/mail-lists.html.
HTH,
-Lukas
jill han wrote:
Thanks for your reply. Here is the part of project.xml
../project.xml
NEO
NEO
c:
Please send all Proximity User questions to the Proximity list...
Wayne
On 4/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi all,
I'm really newbie with maven2 and Proximity, but I have to set up an inhouse
repository architecture by putting some libraries (artifacts--jars) on a local
Archiva downloads artifacts on demand via HTTP using wagon-http. I use a
similar config with no issue, but I don't have any proxy to set to access
repo1.
AFAIK rsync is not yet available.
2007/4/23, M Wurm <[EMAIL PROTECTED]>:
Hi there,
I've set up Archiva and (almost everything) works fine.
Hi all,
I'm really newbie with maven2 and Proximity, but I
have to set up an inhouse repository architecture by putting some
libraries (artifacts--jars) on a local web server.
We were first
using Ant, so the jars was just in a lib directory ! but now I think
that maven have more complicated way to
Hi there,
I've set up Archiva and (almost everything) works fine. I can retrieve
artifacts I deployed manually, can deploy artifacts via webdav, but
proxied repositories don't seem to work.
Now I wanted to ask how Archiva proxies a repository. Somewhere I've
read Archiva loads artifacts from dem
Hello,
i have a problem with the test plugin of maven (1.x). When i add log4j
configuration to project, it seems part of output that should go in
test-report/xxx.yyy.TestZzz.txt does in fact go out on the user console.
This is a problem because we get the test report stripped out of most of
it's o
Thanks for your reply. Here is the part of project.xml
../project.xml
NEO
NEO
c:\Tomcat4_1_27\webapps
commons-codec
1.0-dev
true
commons-fileupload
1. Move to Subversion. File refactoring does not lose history.
2. There is no module excludes. Instead we have a notion of profiles
in M2. So you would set your default in the top parent pom.xml to have
say either zero or very few modules defined, and then in a separate
profile (call it "all"), y
Simple question, is there anyway to get Maven to prompt the user to input a
variable? The scenario is that I have a proxy server that requires a username
and password, I do not want to store the password on the file system and would
like to have Maven prompt for it whenever mvn is run and the ${
Hi,
There only ever is one 'pom.xml' per project. The project structure
below really shows all essential file needed.
I suggest you set up a simple test project up-to the point where you can
successfully compile and package it and then venture on from this
starting point. The test project would h
Hello,
i have a problem with the test plugin of maven (1.x). When i add log4j
configuration to project, it seems part of output that should go in
test-report/xxx.yyy.TestZzz.txt does in fact go out on the user console.
This is a problem because we get the test report stripped out of most of
it's o
I also have a dependency on spring-core:
/repo/org/springframework/spring-core/2.0.2/spring-core-2.0.2.jar
So I need a different classpathPrefix depending on the dependency.
With kind regards,
Geoffrey De Smet
Ian Springer schreef:
Hi,
Add:
../../../../org/ggg/ggg-core/1.0/
as a child elem
Hi all,
I have an assembly linked into the mvn build lifecycle like below using
the "attached" goal.
When mvn install is run from the assembly artifact, the assembly is built
correctly.
If however mvn install is run from the root pom (ie a reactor build), the
assembly plugin goes through the mot
Hi,
Add:
../../../../org/ggg/ggg-core/1.0/
as a child element of the element.
Ian
Geoffrey De Smet wrote:
Hi all,
With the assembly plugin I can put all my module jars in repository like
structure:
/repo/org/ggg/ggg-core/1.0/ggg-core-1.0.jar
/repo/org/ggg/ggg-ftp-app/1.0/ggg-ftp-app-1.0
I have maven 1.0-rc1 on the system. Is there any easy way to upgrade to
maven2?
Thanks for the help as always.
1.1 RC1 I suppose ..
if you didn't customised a lot maven 1 you can use mvn one:convert to
transform your POM.
Regards
Arnaud
On 23/04/07, jill han <[EMAIL PROTECTED]> wrote:
I have maven 1.0-rc1 on the system. Is there any easy way to upgrade to
maven2?
Thanks for the help as always.
Hi all,
With the assembly plugin I can put all my module jars in repository like
structure:
/repo/org/ggg/ggg-core/1.0/ggg-core-1.0.jar
/repo/org/ggg/ggg-ftp-app/1.0/ggg-ftp-app-1.0.jar depends on ggg-core
/repo/org/ggg/ggg-http-app/1.0/ggg-http-app-1.0.jar depends on ggg-core
I've configured
Thanks for your response.
I am following the following structure as u mentioned
my-app
|-- pom.xml
`-- src
-- main
`-- java
`-- package1
`-- package2
`-- package3
| `-- App.java
`--
Hi all,
I'm really newbie with maven2 and Proximity, but I have to set up an inhouse
repository architecture by putting some libraries (artifacts--jars) on a local
web server.
We were first using Ant, so the jars was just in a lib directory ! but now I
think that maven have more complicated way
Hi all,
I have developed a Maven 2 plugin. This plugin modifies some files created
by the Maven Eclipse plugin.
Thus, for the moment, I need to execute the following commands:
mvn eclipse:clean
mvn eclipse:eclipse
mvn myplugin:mygoal
Now, I want to have both 'clean' and 'eclipse' goals of Maven
Try using this plugin:
http://individual.utoronto.ca/zarar/properties-maven-plugin/site/introdu
ction.html
Regards,
Ravi
-Original Message-
From: Depthblue [mailto:[EMAIL PROTECTED]
Sent: Monday, April 23, 2007 4:13 PM
To: users@maven.apache.org
Subject: Loading property from specific fil
Hi,
I have some questions about aggregation modules in maven2.
Let me explain how we were working with maven 1.1 and why I don`t fully
understand how we should work with maven 2.
We have some maven 1 multi-projects saved in CVS as a single project.
A developer checks out the complete project i
Hi,
I am presently converting our projects from maven 1.1 to maven 2.
I must say that the transitive dependencies help a lot to reduce the pom and
makes upgrades easier.
But I would like to include optional dependencies as well, without having to
explicitly include them myself in the pom.
For
Hi,
You can refer to this document, in the "How do I filter resource files?"
section:
http://maven.apache.org/guides/getting-started/index.html
Thanks,
Deng
Depthblue wrote:
Hi everybody,
I need loading my property build.number from my file data.txt to Maven. And
I need using this propert
Hi all,
Using Maven 2.0.6 and maven-antlr-plugin 2.0-beta-2-SNAPSHOT configured
as follows:
${basedir}/src/main/antlr/com/acme/lang/compiler
${basedir}/src/main/antlr/com/acme/lang/compiler
super.g
ext1.g
Hi everybody,
I need loading my property build.number from my file data.txt to Maven. And
I need using this property in scm:tag for set tag name.
Thanks
--
View this message in context:
http://www.nabble.com/Loading-property-from-specific-file-tf3630468s177.html#a10137472
Sent from the Maven -
3Ms is certainly a big file especially since the raw reports are
probably bigger... did you try already to disable some of the checks? I
just ran checkstyle on a project with 207 files, the
checkstyle-summary-report.xml is 5450 bytes and it took exactly 1
minute, so 4mins for your project doesn
i found out that the part that takes the most of time (4 minutes for
500 files) is
that's the raw report...
and the file generated has 3088523 bytes. Is it normal?
thanks
emerson
On 23/04/07, emerson cargnin <[EMAIL PROTECTED]> wrote:
anyone has any clue how I could investigate this better?
OK ! So what can you advise me to get it working ? (don't forget that I'm a
newbie ;-) )
Thanks
Nawfel
- Message d'origine
De : Mykel Alvis <[EMAIL PROTECTED]>
À : Maven Users List
Envoyé le : Vendredi, 20 Avril 2007, 19h26mn 22s
Objet : Re: Re : Re : Re : Proximity
My $.02 (that's "
anyone has any clue how I could investigate this better???
thanks
On 20/04/07, emerson cargnin <[EMAIL PROTECTED]> wrote:
ok
thanks a lot
would anyone else have a clue why my build hangs for so long on the
following point?
[exec] checkstyle:report-internal:
[exec] [mkdir] Created
Hi,
I've defined in settings.xml file (under M2_HOME/conf/) a profile
(my-profile) and set it to be activated.
I removed file "C:\Documents and Settings\\.m2\settings.xml".
When I run build using maven, it knows to uses my-profile, but when I
create a maven project using the maven-embedder, it does
i get this error while executing the site:
[exec] [junitreport] [Fatal Error] :-1:-1: Premature end of file.
[exec] [junitreport] The file
/subversion/users/svnclient/cruise/checkout/build-module1/modules/com.mycompany.indexing/target/test-reports/TEST-com.mycompany.indexing.framework
Solved by adding that classpath using the build-helper-maven-plugin.
Thorsten Heit wrote:
Hi Adrian,
Is there some way to add a classpathentry such as
to the .classpath file?
It seems that the plugin knows only about classpath containers :-(
AFAIK no. The plugin only adds all the depe
what is your SCM plugin version?
Emmanuel
yi bo a écrit :
> Hey, all. I can't for the life of me figure out why the CVS SCM provider
> can't check out my source files from CVS. I noticed in a couple prior posts
> that the CVSNT executable requires a login from the same shell prior to
> starting
Hi all,
Using Maven 2.0.6 and the exec-maven-plugin 1.1-beta-1, the following
messages appear during the java goal execution:
[INFO] Preparing exec:java
[WARNING] Removing: java from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [exe
Hey, all. I can't for the life of me figure out why the CVS SCM provider
can't check out my source files from CVS. I noticed in a couple prior posts
that the CVSNT executable requires a login from the same shell prior to
starting Continuum. I've done this, yet I still get a build error with
"Use
The Maven team is pleased to announce the release of the Maven Clover
plugin, version 2.4.
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-clover-plugin
2.4
Here are the release
You can look at the Maven-SCM plugin :
http://maven.apache.org/scm/plugins/index.html
Emmanuel
yi bo a écrit :
> Hey:
>Everyone!I have paid attention to maven for some time.But now i have
> some problems.
>Awaiting for your help!
>
>i want to kown:
>Is maven can auto chec
Ok, just did those things. URL for output is
http://rafb.net/p/Kf10Cs17.html
There was no particular reason - I guess I got into the habit of it and
didn't go back! This output was running "mvn site -X"
Regards,
Ian
- Message from "Wendy Smoak" <[EMAIL PROTECTED]> on Sun, 22 Apr 2007
81 matches
Mail list logo