No, it isn't cleaned.
Before to clean your local repo, you need to be sure all your snapshots are in
your remote repository. Without them, your builds will fail
Emmanuel
Johan Lindquist a écrit :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Do you mean the local repository? If so, no, i
please tell me the steps for building an eclipse RCP application using
maven.
--
View this message in context:
http://www.nabble.com/Building-eclipse-RCP-application-using-maven-tf3374419s177.html#a9390451
Sent from the Maven - Users mailing list archive at Nabble.com.
Phill Moran wrote:
This could be a dumb questions but why does maven SCM default to checkout to
/target/checkout? I would expect it to go to a dir under src/java. It also
seems
that the SCM plug-in does not allow this to be overridden. I have tried
setting
sourceDirectory and the others to
Hi,
I think I can use mvn package to do a multiproject build with Maven 2,
my
question is - how do I do a quick build with mvn package by bypassing
the
junit testing.
http://maven.apache.org/general.html#skip-test
Is that what you're looking for?
Cheers
Thorsten
Guys,
Thanks for this.
But have a look at the maven dependancy purge-local-
repository plugin
[1], which can clear out all depdencies for the project.
Ok... but I don't necessary want to use that on my development
machine... only on the CI server.
In that case, should I have some kind
Dear all
I would like to install to my local repository a jar (mosek a
optimisation toolbox) which requires additional files to work (
libguide.so libmosekjava4_0.so libsvml.so mosek.jar mskexpopt
libimf.so libmosek.so mampl moseksimskscopt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi David,
About the CI profile question - yes, that would be a sensible option.
Add a profile which includes a build element that defines the plugin.
Enable the profile using a system property or the like and set the
continuum command line to be
I don't think AspectJ and Clover are compatible. We use Cobertura
instead. The coverage report isn't as nice, but it is functional. For
maven1, there's also an emma plugin.
-Steve
Michael Waluk wrote:
Hi,
I can't find much else regarding using AspectJ with Clover. Were you
able
to get
I have being struggling with problems regarding dependencies on apparently
released artifacts (not snapshots), which contain snapshot or faulty
dependencies (maybe transitive). If the artifacts also define their own
remote repositories, I'm unable to fix the problem by patching the intranet
or
David Leangen a écrit :
Guys,
Thanks for this.
But have a look at the maven dependancy purge-local-
repository plugin
[1], which can clear out all depdencies for the project.
Ok... but I don't necessary want to use that on my development
machine... only on the CI server.
In that case,
You can put the integration test's module in a profile, and not
activate that profile when you release. You'll have to update the
version number for that module since the release plugin won't do it
for you.
Yes it's possible to use profiles but it would be better to have a skip
Hi,
I have a POM which is both a parent and a multi-module. When I build from
this POM I would like the plugins to be executed for the modules and not the
parent POM i.e. how can I supress the execution for the current POM but
still inherit the properties?
Aidan
Hi,
I've been using Maven2 for a couple of weeks now and I'm trying to
integrate PMD with Maven2.
I've managed to change my pom.xml by adding the pmd plugin and run the mvn
pmd:pmd succesfully.
The following step is to use my own ruleset and classes it depends upon.
I created a jar file
Just want to say that I too fixed the issue by updating the same section of
the plugin's pom.
I first tried making a dependency entry in my project pom for the plugin
using the exact same syntax and this did NOT work. I had to chance the
dependency in the plugin like Ryan describes.
Hopefully a
By putting the plugins in a pluginManagement section in the parent and then
just referencing the groupId:artifactId in the plugin section of the children
- Original Message
From: Aidan O'Donnell [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Friday, March 9, 2007 8:52:25 AM
Hi All,
I need to package my application into a war file before the test
phase to do some web tests, so I included the following code in my
pom.xml:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
executions
Mikis [EMAIL PROTECTED] wrote on 03/09/2007 07:17:32 AM:
I have being struggling with problems regarding dependencies on
apparently
released artifacts (not snapshots), which contain snapshot or faulty
dependencies (maybe transitive). If the artifacts also define their own
remote
Yes. take a look at maven-native's parent. but you must release the parent
first.
-D
On 3/9/07, Paul Gier [EMAIL PROTECTED] wrote:
Is there a way that the module version don't have to match the parent
version? I would like to be able to release the individual modules
separately. So for
I have a project with multiple modules, and I would like to assemble the
classes of the modules into a single jar file.
If the names of the modules (and directories) match the artifact ID, the
assembly works fine. But if the artifactId does not match the module
name, then the files are not picked
did you try to build the plugin from source and test with your project?
-D
On 3/9/07, jsolderitsch [EMAIL PROTECTED] wrote:
Just want to say that I too fixed the issue by updating the same section
of
the plugin's pom.
I first tried making a dependency entry in my project pom for the plugin
Plugin nodes can take dependencies directly. Try this instead:
reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
Not yet -- I confess I am new to maven and trying to build and use a plugin
is not something I know how to do, although it may be easy.
I presume I use svn to get the code from where?
And then I use mvn to build?
But then how do I arrange to use my own build to run the plugin from my
project
What about some (possibly maven-aware) HTTP proxy? Something like DSMP
should be able to solve the problem, no?
Greg, where did you find this about mirrorOf*/mirrorOf?
I did not find anything about it in release notes and Jira issues
~t~
On 3/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED]
checkout the source from
http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/jaxws-maven-plugin
then run
mvn install
your project will automatically pickup this plugin build, rather than the
old binary at codehaus snapshot
-D
On 3/9/07, jsolderitsch [EMAIL PROTECTED] wrote:
Not yet
I'm new to Maven and have been working with if for a few days. I've
been reading
through the documentation but haven't found the answer to this question.
I have two projects A and B with testing classes in both. The test
classes in B
Inherit from classes in A and they also use fixtures
The mirrorOf* is a new feature that we've discussed here on M-U and
M-D a bit the last few months. But it seems like it has not been
documented anywhere (!).
I'll post an issue in JIRA about this. Thanks for the note, Tamás.
Wayne
On 3/9/07, Tamás Cservenák [EMAIL PROTECTED] wrote:
What about
Hi Paul,
for example, in your assembly.xml, you could refer to the target class
directories of your modules like this:
assembly
idexample/id
formats
formatjar/format
/formats
includeBaseDirectoryfalse/includeBaseDirectory
fileSets
fileSet
move your common test classes to another project but place them in main
source ( ie src/main/java)
other project can refencence it via dependency mechanism to run the test
-D
On 3/9/07, Dave Rathnow [EMAIL PROTECTED] wrote:
I'm new to Maven and have been working with if for a few days.
Hello all,
Hopefully this will be my first and only query regarding Maven - I am trying
to build a SourceForge product that tell me I need to use Apache Maven
1.0.6but I can't find a specific download for this version on the site
- where
can I get it ? (I'm pretty sure version 1.0.6 isn't just
You need to use type test-jar:
http://maven.apache.org/guides/mini/guide-attached-tests.html
Wayne
On 3/9/07, Dave Rathnow [EMAIL PROTECTED] wrote:
I'm new to Maven and have been working with if for a few days. I've
been reading
through the documentation but haven't found the answer to
There is no such version of Maven. Latest released 1.x version is 1.0.2 (1.1
is somewhere in beta). Latest version of Maven2 is 2.0.5.
-Original Message-
From: Squatter Madras [mailto:[EMAIL PROTECTED]
Sent: Friday, March 09, 2007 11:39 AM
To: users@maven.apache.org
Subject: I need Maven
Hi,
I'm working on a plugin that I want to make interactive. I've looked into the
release-plugin for some samples, but I just can't figure out how the Prompter
gets set! The method 'setPrompter' seems to be only used by the tests...
I tried just calling a 'new Prompter()', but then the
The 1.0.6 seems to be a mistake on their page. As far as I know, there
has never been a 1.0.6 release of Maven.
Down below a little bit, they talk about 1.0.2:
export MAVEN_HOME=/java/maven-1.0.2
I would install Maven 1.0.2 and proceed with the rest of the instructions.
Wayne
On 3/9/07,
Clicking on the link you supplied, it gives a link to Maven with the same info
Daniel just gave you (1.0.2 is the latest).
However, a little further down in the text they use the line:
export MAVEN_HOME=/java/maven-1.0.2
I assume this means they want you to use 1.0.2 and the 1.0.6 above is
OK - thanks all - I will edit the Wiki page and use 1.0.2
Cheers.
On 3/9/07, Roland Asmann [EMAIL PROTECTED] wrote:
Clicking on the link you supplied, it gives a link to Maven with the same
info
Daniel just gave you (1.0.2 is the latest).
However, a little further down in the text they use
Thanks a lot, Thorsten
So I did mvn -Dmaven.test.skip=true package, it still compiled and ran the
JUNIT testing...
I also did mvn package compile, JUNIT is still running...
Maybe this is the purpose for a multiproject build to make sure that all the
projects get compiled and tested, but how
Hello,
I have tried several times to build Archiva from sources but each time,
I am unable to resolve all dependencies so I have given up.
How far is the Archiva project from releasing a binary build?
Thanks,
Gael
-
To
In your mojo try something like
/**
* @component
* @required
* @readonly
*/
private Prompter prompter;
Or longer one
/**
* @component role=org.codehaus.plexus.components.interactivity.Prompter
role-hint=default
* @required
* @readonly
*/
You need to add repos.
You can add a profile in your settings :
profile
idapache-snapshots/id
repositories
repository
idpeople.apache.org/id
urlhttp://people.apache.org/repo/m2-snapshot-repository/url
/repository
repository
I had no problem getting the sources and building it myself a couple of
days ago.
I can zip up the results and email it to you if you still can't get it
to work. Let me know.
-Original Message-
From: Marziou, Gael [mailto:[EMAIL PROTECTED]
Sent: Friday, March 09, 2007 10:12 AM
To:
I am working on a project that has many subprojects, from the root is there
a way to compile/install just a targeted subproject. I want to be able to
build/install proj1/sub
Thanks.
root/pom.xml
proj1/pom.xml
proj1/sub/pom.xml
Yes, this mailing list is where I heard of it. Perhaps searching the
archives would yield more info.
-Greg Vaughn
Wayne Fay [EMAIL PROTECTED] wrote on 03/09/2007 10:08:42 AM:
The mirrorOf* is a new feature that we've discussed here on M-U and
M-D a bit the last few months. But it seems like
This has been added to JIRA (already fixed by Brett, thanks) and the
Mirror mini-guide has been updated:
http://maven.apache.org/guides/mini/guide-mirror-settings.html
Wayne
On 3/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Yes, this mailing list is where I heard of it. Perhaps searching
Thanks Olivier,
I tried but it failed also.
Gael
mvn -P apache-snapshots -Dmaven.test.skip=true install
.
GroupId: org.slf4j
ArtifactId: slf4j-parent
Version: 1.0-SNAPSHOT
Reason: Unable to download the artifact from any repository
org.slf4j:slf4j-parent:pom:1.0-SNAPSHOT
from the
That seems to have done the trick! Thanks!
Roland
On Friday 09 March 2007 18:24, LAMY Olivier wrote:
/**
* @component
role=org.codehaus.plexus.components.interactivity.Prompter
role-hint=default * @required
* @readonly
*/
private Prompter prompter;
--
Roland Asmann
Change your directory to proj1/sub and run maven
On 3/9/07, Don Hill [EMAIL PROTECTED] wrote:
I am working on a project that has many subprojects, from the root is
there
a way to compile/install just a targeted subproject. I want to be able to
build/install proj1/sub
Thanks.
root/pom.xml
Strange I can't see link to this artifact in plexus-slf4j-logging
I see org.slf4j:slf4j-simple:1.2
Just try : mvn -P apache-snapshots -Dmaven.test.skip=true clean install -U
If doesn't work no more idea :-(
--
Olivier
[1]
Ramdas:
If you replace your ant build with builds with Maven, releasing versions of
your application is a snap.
I don't know of any application to help you release with Ant.
While Maven can play with ant, Maven is heavily about convention over
configuration -- the more you try to diverge from
Hi there
I have installed Tomcat 5.5 and let maven 1.0.2 build by mywebapp.war
file.
But how can I automatically move it to the Tomcat/webapps directory with
a maven goal?
Is there something similar to this (with Weblogic server)?:
!-- Deploy WAR --
goal name=war:deploy
echo
Yes! I built the plugin from source -- the POM no longer expresses a
dependency on tools.jar -- and using the plugin, I do NOT have to do
anything special for Max OS X support.
My project builds without any special considerations.
Thanks for the tutorial and advice.
Jim
dan tran wrote:
When do you plan to link to the GUI? I can't wait to try it out :)
Thanks
LJ
On 3/8/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
all the code is there but we need to link the gui to it.
This feature will be available only for *nix system
Emmanuel
L. J. a écrit :
Sorry if this question
Hello,
could you post your assembly descriptor and the plugin configuration?
Or try one of the predefined assemblies (e.g. jar-with-dependencies).
Best Regards
Kai Uwe Bachmann
Am 08.03.2007 um 21:35 schrieb Dave Maung:
thanks for answering my question. I did attached goal, however, it
Trouble is that this will not compile the prerequisite projects. You
would have to either accept the hit of a full reactor build or use your
inside knowledge and cd into all prerequisite subdirs, mvn install
those, then build your project.
--
cg
Thierry Lach wrote:
Change your directory to
The Maven team is pleased to announce the release of Maven GPG Plugin
version 1.0-alpha-3.
http://maven.apache.org/plugins/maven-gpg-plugin/
Release Notes - Maven 2.x GPG Plugin - Version 1.0-alpha-3
** Improvement
* [MGPG-1] - Prompt for pass phrase if it is not supplied
* [MGPG-2] -
The Maven team is pleased to announce the release of Maven Remote Resources
Plugin version 1.0-alpha-3.
http://maven.apache.org/plugins/maven-remote-resources-plugin/
This release is to address a critical issue with 1.0-alpha-2 where the
remote resources could become corrupted/truncated.
On Mar 9, 2007, at 2:16 PM, Steve Shucker wrote:
I don't think AspectJ and Clover are compatible.
Hmmm they might be if you run them in the right order. Run Clover
first on sources and then AspectJ on either generated sources or on
the JAR. This should work I think, although I don't
What issues are you having? I've set it up from source just fine (after a few
modifications of course)...
- Original Message
From: Marziou, Gael [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Friday, March 9, 2007 12:11:45 PM
Subject: Any Archiva download soon?
Hello,
I have
I am a newbie into the Maven world and am looking for pom.xml samples to
get me started off. My code base is in Perforce and i am looking at a way
to use Maven on the files in P4.
Thanks
Ramdas
Hi!
I have question regarding repositories in maven2.
Is there any way in maven to make some jars used as dependencies in one
project not visible in other projects?
For example, I have a couple of jars that I use in one project, but I
wouldn't like them to be available as dependencies in other
sorry folks, I forgot to deply a snapshot for the last change and there for
you all when thru hell
with his plugin.
I will deploy the snapshot now.
-D
On 3/9/07, jsolderitsch [EMAIL PROTECTED] wrote:
Yes! I built the plugin from source -- the POM no longer expresses a
dependency on
You could configure multiple local repositories (one in ~/.m2/repo1
and one in ~/.m2/repo2). But this would be pretty abnormal usage of
Maven.
Why would you possibly want to do this? So long as you don't include
the artifact as a dependency in your pom, you won't even know the
Jars are available
Hi
My project structure is like :
-project-root
|
|
- pom.xml
|
|
-web-module
|
|
- pom.xml
|
|
- WEB-INF
|
|
Default for context source root is src/main/webapp.
Kalle
On 3/9/07, artofabhi [EMAIL PROTECTED] wrote:
Hi
My project structure is like :
-project-root
|
|
- pom.xml
|
|
-web-module
|
|
- pom.xml
On 09/03/07, Vincent Massol [EMAIL PROTECTED] wrote:
On Mar 9, 2007, at 2:16 PM, Steve Shucker wrote:
I don't think AspectJ and Clover are compatible.
Hmmm they might be if you run them in the right order. Run Clover
first on sources and then AspectJ on either generated sources or on
the
64 matches
Mail list logo