Should I file an enhancement request on the site plugin?
regards,
Wim
2007/4/12, Wim Deblauwe [EMAIL PROTECTED]:
I mean cleaning not in your local target directory but on the webserver
you deploy to.
regards,
Wim
2007/4/12, Phill Moran [EMAIL PROTECTED] :
I thought mvn clean did that
Hi,
I think surefire-report-maven-plugin is already under Apache (so groupId
should be: org.apache.maven.plugins),
that might be the cause of your error :-)
Thanks,
Deng
vgpande wrote:
Hi all,
With maven I have successfully executed the test and got the cobertura
coverage report.But the
Good day,
I am not sure if that is by design or if it's a bug. But if it is a bug,
I've just created an issue ( see [1] ) for that and submitted a patch for
it.
Cheers,
Franz
[1] http://jira.codehaus.org/browse/MNG-2949
eirik.lygre wrote:
Hi,
I'm having trouble getting offline to work
But how do you get issues grouped by released version?
Maven-changes-plugin provides a great list of issues for the projects,
filtered by different criteria.
So it could provide all open issues for instance.
Maybe I'm missing something, but this isn't what you want for release
notes.
ReleaseNotes
Hi,
finally I transfered most of our old build system to maven, but there's
still one open task. The installation team needs the created jar files
in one and the external dependencies in another directory. Our projects
contains several sub- and subsubprojects and a few assemblies.
Is there a way
Hello,
I'm trying to copy some specific artifacts using the
maven-dependency-plugin (copy goal). However, it seems that the plugin
does not to find some required parameters.
I'm doing sth very simple and straightforward from what I've read from
Somehow you are getting the old dependency-maven-plugin instead of the
maven-dependency-plugin. Clear the /org/codehaus/mojo metadata from your local
repo (and any internal proxies you have) and try again. This is already fixed
for 2.0.7doesn't help you now though ;-)
-Original
A direct call on that contains a bug with skin resolving:
http://jira.codehaus.org/browse/MPIR-65
Once that's fixed, it would be the solution: a quick, nicely formatted
dependency report without compiling.
With kind regards,
Geoffrey De Smet
franz see schreef:
Good day,
Try
Hello all,
I've set up a Maven 2 repository and followed the
directions at http://maven.apache.org/ant-tasks.html
to retrofit my project's build.xml's so they pull in
dependencies from my repository.
I set up each build file's classpath along the
lines of
artifact:dependencies
Kevin,
You have to enable snapshots for your repository.
I haven't tried it myself using the ant lib, but you could try to set the
'releases' and 'snapshots' attributes both to 'true'.
Cheers
Jo
On 4/16/07, Kevin Moran [EMAIL PROTECTED] wrote:
Hello all,
I've set up a Maven 2 repository
Hi Damien,
Thanks for your answer. It works fine !
Arne
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damien Lecan
Sent: 12. april 2007 18:27
To: Maven Users List
Subject: Re: Adding JARs and DLLs to a repository (RXTX)...
Hello,
Add your dll in
Hi,
You shouldn't use the resources section in the pom for this. Instead take a
look at the docs for the ear plugin, especially the earSourceDirectory. Combine
this with earSourceIncludes /-Excludes to do what you want.
Regards,
Marcel
- Original Message
From: Johan Eltes [EMAIL
thanks a lot wendy. iIthinks that its works now.
thanks for all and to everybody.
By Mekonium
--
View this message in context:
http://www.nabble.com/ERROR-%22The-plugin-%27org.apache.maven.plugins%3Amaven-resources-plugin%27-does-not-exist%22-tf3564721s177.html#a10015206
Sent from the
To whoever maintains the maven website:
there's an out-of-date page on the FAQ for surefire
http://maven.apache.org/plugins/maven-surefire-plugin/faq.html
which should direct people to surefire-junit4.
I misleadingly states that there is no junit4 support.
Regards
Adam
If you grab the latest help plugin (2.0.2-SNAPSHOT), you can use
help:dependencies. This will be moved to the dependency plugin in the
near future (likely before help is released with it).
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet
Sent: Monday,
Hi,
I have one parent.pom with list of properties
?xml version=1.0 encoding=UTF-8?
4.0.0
pom
WebAd
0.0.1
.
${project.version}
${basedir}
${rootDirectory}/src
I am trying to create a site for my project that has modules. The
creation of the modules menu in the parent's site page seems to work
fine and it includes all my parent's modules' links. However I can not
get the link back to the parent's site into my modules' sites. I have
no other
Hello, I have a problem getting the mvn eclipse plugin recognizing a
relative path resource directory. Using mvn 2.0.6. The project structure
looks like this:
editor
subprojecta
-pom.xml
-src
-subprojectb
-pom.xml
-src
Hi all!
Does anyone know of a way to allow the Maven 2 Site Plugin
(http://maven.apache.org/plugins/maven-site-plugin/) to use defined custom
properties within a pom.xml? For example,
project
...
properties
parentVersion0.0.4/parentVersion
/properties
groupIdaGroupID/groupId
I need to install a program in a repository, but not in my local one.
Everytime I run mvn install it installs into my
/home/user/.m2/repository directory, but I need it somewhere else.
I have tryied moving the files manually, but it doesn't seems to work.
Any ideas?
Thanks.
--
View this
Indeed.
Note that resourcesDir is supported but you have to declare it
explicitly in the ear plugin configuration.
Resourcesdir is deprecated.
Regards,
Stéphane
On 4/16/07, Marcel Schutte [EMAIL PROTECTED] wrote:
Hi,
You shouldn't use the resources section in the pom for this. Instead
Hi,
mvn install will always install to your local repository..
mvn deploy however, will install your artifact in a remote repository..
Cheers
Jo
On 4/16/07, mateamargo [EMAIL PROTECTED] wrote:
I need to install a program in a repository, but not in my local one.
Everytime I run mvn install
Hey all, I'm trying to write a mojo that reads in POMs from a remote location
and does some checking on them. To get a MavenProject out of a POM file, I need
to use the MavenProjectBuilder, so far as I can tell. (It seems silly to use a
MavenEmbedder when I'm already in Maven!)
Trouble is,
Jo Vandermeeren wrote:
Hi,
mvn install will always install to your local repository..
mvn deploy however, will install your artifact in a remote repository..
Cheers
Jo
Thanks, that is what I was looking for.
But I'm getting a BUILD ERROR with a message saying: Return codei is: 405.
You can't deploy to an http url. It has to be something that can accept
files, like scp, ftp, or file.
-Original Message-
From: mateamargo [mailto:[EMAIL PROTECTED]
Sent: Monday, April 16, 2007 8:45 AM
To: users@maven.apache.org
Subject: Re: Specifying repository in the install goal
On Mon, April 16, 2007 4:56 pm, David Jackman wrote:
You can't deploy to an http url. It has to be something that can accept
files, like scp, ftp, or file.
DAV can accept files from an http url, but you need to specify it as
dav:http://etc for it to work.
Regards,
Graham
--
Hello there,
I am working with maven some time now but have not the most experince with
the configuartion of it.
I have the following problem to solve and I dont know exactly how to do it.
I read about project inheritance, but I am not sure if thats the right thing
for me.
This is what I am
Hi,
We were running the changelog plugin correctly until last week and this
moring, a mvn release:prepare execution caused a bunch of downloads into the
maven repository.
Now a mvn site -e yields the below. (This was working fine till Friday!)
Any pointers are appreciated.
Thanks
Pankaj
Graham Leggett wrote:
On Mon, April 16, 2007 4:56 pm, David Jackman wrote:
You can't deploy to an http url. It has to be something that can accept
files, like scp, ftp, or file.
DAV can accept files from an http url, but you need to specify it as
dav:http://etc for it to work.
Hi,
I create my own archetype :
This archetype generate me a project that contain some file that contain in
there body the character $. This character
Is normaly interpreted by velocity.
There is some solution for that ?
Hi,
Yes.. what I am looking for is a list of all the comments entered (at
checkin time) into my scm (SVN, in my case) broken down by release.
I haven't really tried either of these solutions yet, but looking at the
documentation of these 2 plugins, I think I am looking for something
inbetween:
Hi,
Is there a way to access custom properties in the POM in an Ant file
which is called during the build life cycle?
Suppose I have the following items defined in the POM file:
properties
my.propertyTestValue/my.property
/properties
build
...
plugins
...
plugin
I defined a symbol called dollar equal to a dollar sign and used ${dollar}
throughout. It worked. I think you're supposed to be able to use \$, but I
couldn't get it to work.
-K
On 4/16/07 10:19 AM, Marouane Amraoui [EMAIL PROTECTED] wrote:
Hi,
I create my own archetype :
This
If you can explain me more your solution ?
What I need is :
property name=myproject value=${root}\${artifactId}/
${root} to be ignored. (is ant variable)
And ${artifactId} to be parsed.
Thx
-Message d'origine-
De : Kathryn Huxtable [mailto:[EMAIL PROTECTED]
Envoyé :
Good news :
I do the test on this line :
property name=myproject.name value=${artifactId}/
property name=myproject value=${root}\${artifactId}/
Two good news :
1. ${root} maven try to parse it but only show a wrning message , so don't exit
with error :)
2. what you assumed don't work (\$)
All,
Is there a mvn command that clean the local repo?
Thanks.
B.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://maven.apache.org/plugins/maven-dependency-plugin/index.html
see purge-local-repository goal
On 4/16/07, Baz [EMAIL PROTECTED] wrote:
All,
Is there a mvn command that clean the local repo?
Thanks.
B.
-
To
(extra info deleted to save space)
Once again, I'm far from the right person to provide should answers to
this,
but as I understand it, maven really wants
one-pom:one-target:one-build-result-file
ratios. As in a single directory should build exactly one thing.
BUT
I do this kind of thing in
Hello Brian,
Thanks for helping but the problem still remains...
I've removed:
- all metadata files in /org/codehaus/mojo of my local repository ,
- maven-dependency-plugin and dependency-maven-plugin directories in
/org/codehaus/mojo
- and also
I think that you want to take a look at
http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html#escapingvalidvtlreferences
On 4/16/07, Marouane Amraoui [EMAIL PROTECTED] wrote:
Good news :
I do the test on this line :
property name=myproject.name value=${artifactId}/
property
Would someone please upload alpha-2 to the snapshots repo?
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-enforcer-plugin/
Thanks.
Ian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Thank you, Jo, for the quick response. Unfortunately,
the problem persists even with snapshots and releases
enabled.
After you responded, I found someone with the same
problem:
http://mail-archives.apache.org/mod_mbox/maven-users/200606.mbox/[EMAIL
PROTECTED]
The problem is that Maven is
Hi all,
We've been using mvn release:prepare/perform for several months now on our
build machine. Today, however issuing
mvn release:prepare caused a LOT of files to be downloaded into our local
repository. What caused this at the command was invoked with no explicit
instructions to look for
I am using IntelliJ with several modules as I have in my Maven build. I am
trying to get a project that is similar to that in MyEclipse, but I still
seem to get the flattened src view of all directories that contain src or
tests.
Does eclipse support grouping of modules like IntelliJ does? Or
I generate my structure of eclipse project from maven.
I make a .bat file for that purpose. And I used it as an external tools in
eclipse.
When I execute this bat it generate me in the workspace of eclipse my
multiproject structure . after that I must to go to the File -- Import
All,
How can i run multiple mvn commands in a windows bat file?
I would like to run mvn clean, then mvn install in directory 1 and
mvn install in another directory. However, after the first mvn
command, the script quit. Not sure why.
A.
Hi all,
I am trying to run Ant 1.7 from within Maven 2 using the exec-maven-plugin.
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
executions
execution
phaseprocess-test-resources/phase
goals
You could execute the eclipse:eclipse using external tools but I think (not
sure) you would have to do this in your current workspace to have it refresh
-Original Message-
From: Marouane Amraoui [mailto:[EMAIL PROTECTED]
Sent: April 16, 2007 3:03 PM
To: Maven Users List
Subject: Maven :
Surround them in quotes or use the dos short for. For instance program files
== progra~1
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu
Sent: April 16, 2007 3:07 PM
To: users@maven.apache.org
Subject: [m2] exec-maven-plugin fails because path
Use call mvn clean and call mvn install.
mvn is a batch file, and Windows transfers processing to a batch file
unless you specify the call command (that calls the batch file then
returns processing back to the calling batch file at the location just
after calling the other batch file).
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Hi,
How can i run multiple mvn commands in a windows bat file?
I would like to run mvn clean, then mvn install in directory 1 and
mvn install in another directory. However, after the first mvn
command, the script quit. Not sure why.
try
A yes, silly me. I know i should have another top level pom.xml :)
Thanks.
A.
On 4/16/07, David Jackman [EMAIL PROTECTED] wrote:
Use call mvn clean and call mvn install.
mvn is a batch file, and Windows transfers processing to a batch file
unless you specify the call command (that calls
Davis,
Thanks for replying.
After I reviewed the webpage, I wonder how i can delete/refresh one
single directory... for example, com directory under the local repo.
There is only exclude but no include.
B.
On 4/16/07, Davis Ford [EMAIL PROTECTED] wrote:
Added
localRepositoryC:\DOCUME~1\pm\M2639C~1\REPOSI~1/localRepository
to the M2 install settings.xml.
But, this may require changes in other machines as well :-(
Phill Moran wrote:
Surround them in quotes or use the dos short for. For instance program files
== progra~1
This is a fairly new mojo, so it may not have all the functionality
you require/desire. In that case, you are free to edit the code to add
what you need etc, then contribute it back to Maven so it can be
incorporated in a future release.
Wayne
On 4/16/07, Baz [EMAIL PROTECTED] wrote:
Davis,
Thx for reply.
I generate project in the current workspace but it does'not refresh himself.
-Message d'origine-
De : Phill Moran [mailto:[EMAIL PROTECTED]
Envoyé : lundi 16 avril 2007 19:09
À : 'Maven Users List'
Objet : RE: Maven : Automate the import of generated eclipse project to
Hi all,
I using Maven2 with Vulcan (http://code.google.com/p/vulcan/). I want
to run my project test and generate the surefire report, so I configured
Vulcan to run de following goals
- test surefire:report
this works fine if no test fail, but if a test fail then the surefire:report
goal do
well...you can do it the quick-n-dirty way, and just manually delete
everything under .m2/repository/com/* (or subdirs that you want to refresh)
--davis
On 4/16/07, Baz [EMAIL PROTECTED] wrote:
Davis,
Thanks for replying.
After I reviewed the webpage, I wonder how i can delete/refresh one
marouane - try the following:
mvn eclipse:clean eclipse:eclipse
then right-click the project in eclipse and choose refresh (or F5). running
the mvn commands re-generates the .classpath, .project, and .settings files
in the project dir, but eclipse does not scan for changes, so you have to
Imagine this situation :
1. I have developer team .
2. the developer's computer dont have access to internet (so no access to
remote repository maven)
3. How can I manage the dependencies in this situation ?
a. If I use local repository , if developer add a new
On 4/16/07, Ian Springer [EMAIL PROTECTED] wrote:
Would someone please upload alpha-2 to the snapshots repo?
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-enforcer-plugin/
alpha-2 is a release not a snapshot.
You will find it under:
Hello everyone,
I'm trying to do something that I think is quite common but can't find an
easy way to do it. Here's how it goes:
I have a war that basically contains nothing except a jar which contains an
applet. The applet jar is for performance reason an ueber jar.
How would you do something
OK, the one you want is maven-changelog-plugin. Please see the
documentation and pictures at this page:
http://maven.apache.org/plugins/maven-changelog-plugin/usage.html
The changelog:changelog goal shows the commit messages. If all your
releases are tagged then you should configure the
Maybe this is a good chance to set: testFailureIgnore to true.
See
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#testFailureIgnore
On 4/16/07, Mario Roman [EMAIL PROTECTED] wrote:
Hi all,
I using Maven2 with Vulcan (http://code.google.com/p/vulcan/). I want
to run
This is the plugin that produces a release notes from JIRA. Not all
features are fully documented yet, one of the reasons it's still a beta
release.
There are several configuration options mentioned in the goals page:
http://maven.apache.org/plugins/maven-changes-plugin/jira-report-mojo.html
Ok thx.
So i explain my purpose :
1. in my workspace eclipse I don't have any project (no project in my
workspace).
2. I launche from .bat file as external tools on my current workspace :
call mvn archetype:create -DgroupId=%1 -DartifactId=%2
call mvn eclipse:eclipse.
3. when the project
From the look of things, I'd say that your scm section is either wrong
or completely missing from the pom.xml file.
Pankaj Tandon wrote:
Hi,
We were running the changelog plugin correctly until last week and this
moring, a mvn release:prepare execution caused a bunch of downloads into the
That's how I would do it, but I'd make the applet jar a dependency in
the war project, because it is a dependency. But you don't want the
applet jar in the WEB-INF/lib directory of your webapp, because then it
can't be reached directly by the user's browser. Instead you want it to
be copied to
If you want to try the latest unreleased version of a plugin you should
read this page:
http://maven.apache.org/guides/development/guide-testing-development-plugins.html
[EMAIL PROTECTED] wrote:
Hi,
at the maven repository is still the version 2.0-beta-5 available only.
Where could I get the
On 4/16/07, Baz [EMAIL PROTECTED] wrote:
Davis,
Thanks for replying.
After I reviewed the webpage, I wonder how i can delete/refresh one
single directory... for example, com directory under the local repo.
There is only exclude but no include.
With purge-local-repository goal you may refresh
Yeah thats what i am doing right now :p
Thanks.
A.
On 4/16/07, Davis Ford [EMAIL PROTECTED] wrote:
well...you can do it the quick-n-dirty way, and just manually delete
everything under .m2/repository/com/* (or subdirs that you want to refresh)
--davis
On 4/16/07, Baz [EMAIL PROTECTED]
As far as I can tell, the Eclipse 'workspace' is quite flat, and does
not allow nesting of modules/projects [I don't have MyEclipse, so I
don't know if that bypasses that part of Eclipse's fundamental
design].
The Current Idea EAP [7.0M1] is supposed to include upgraded tools for
syncing Eclipse
Taking things out of order
For 3a, mvn:install should suffice to install [tested, approved]
artifacts into the local repository. For control purposes, the normal
sort of filesystem/ftp access controls [or whatever controls are
available on a repository proxy server]
For 3b, assume a
you could leave it null, it should compensate for that.
On 4/16/07, Matthew Beermann [EMAIL PROTECTED] wrote:
Hey all, I'm trying to write a mojo that reads in POMs from a remote
location and does some checking on them. To get a MavenProject out of a POM
file, I need to use the
Hi,
Actually the scm section looks fine. I've inluded my pom at the bottom.
Another indication that my scm section is good is that mvn release:prepare
works just fine and does produce me a new release in my scm.
I even removed my local repository and then tried a mvn site.. still same
error.
My bad. Thanks!
Jerome Lacoste wrote:
On 4/16/07, Ian Springer [EMAIL PROTECTED] wrote:
Would someone please upload alpha-2 to the snapshots repo?
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-enforcer-plugin/
alpha-2 is a release not a snapshot.
You
eclipse.dependency
is only in Maven1.x what is the equivalent on Maven2.x
thx
---
Merouane AMRAOUI
Consultant Expert
Division Développement
Email.: [EMAIL PROTECTED]
Gsm .: 065 19 60 99
Tél. | Tel.: 022 98 70 70Téléc | Fax:
On 4/17/07, Dave Levitt [EMAIL PROTECTED] wrote:
The Current Idea EAP [7.0M1] is supposed to include upgraded tools for
syncing Eclipse workspaces and Idea projects [or you could just use
POM's for the real project definition, and generate the Idea or
Eclipse IDE files]
When you view the
I am trying to create some menu items that have reference to the root
document location so that when I navigate to sub-modules, those references
are still valid.
--
---
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
Hi,
The best is to use a repository proxy. This proxy should be in a machine that
has access to the internet so that it can pull artifacts from the central
remote repository or any other repository. Your devs would then use this
proxy (which should be accessible in your lan) to get their
Hi,
I don't think you can do that in maven. AFAIK, properties are not
inherited from the parent pom
and you cannot also do the other way around (child to parent).
Thanks,
Deng
Depthblue wrote:
Hi,
I have one parent.pom with list of properties
?xml version=1.0 encoding=UTF-8?
Hi Santonian,
I don't think using project inheritance for the core module and the
customer specific modules is the right way.
What I suggest is you can have the core module as a separate project and
have each of the customer-specific modules as separate projects as well.
Then just set the
You're making progress. The message now says maven-dependency-plugin not
dependency-maven-plugin like your first error. I suspect that your problem is
now the same as described in the faq:
http://maven.apache.org/plugins/maven-dependency-plugin/faq.html
Specifically, you must remove your
Hi, I posted on this earlier, but it fell on deaf ears, I guess.
Here's a concrete example of the problem I'm experiencing. I followed
the directions for the maven-eclipse-plugin on generating a multiple
module project, as described here -
I am not terribly familiar with M1, so please let me know what exactly
did you use eclipse.dependency for? That is, what do you want to do in
M2?
Wayne
On 4/16/07, Marouane Amraoui [EMAIL PROTECTED] wrote:
eclipse.dependency
is only in Maven1.x what is the equivalent on Maven2.x
thx
Davis Ford wrote:
[ .. ]
The .classpath file for the guide-ide-eclipse-site project contains this:
classpathentry kind=src path=D:/temp/guide-ide-eclipse/conf
excluding=**/*.java/
This seems completely reasonable, and the directory does exist, but
eclipse cannot build the projectwhy?
It says: Project child is missing required source folder: 'D:/temp/parent/conf'
Try the steps to reproduce it..easy to reproduce.
I think perhaps it has more to do with the eclipse jdt core. Can it
handle absolute paths? I've tried editing the .classpath file
manually to make it a relative
Hi, it appears that in order for eclipse to see relative path links
like this, an entry needs to be made to the .project file with the
linkeResources tag. If you manually add a src folder in eclipse, this
is the change it makes in .project.
Is there some way to cause the maven-eclipse-plugin to
On 4/17/07, Davis Ford [EMAIL PROTECTED] wrote:
Hi, it appears that in order for eclipse to see relative path links
like this, an entry needs to be made to the .project file with the
linkeResources tag. If you manually add a src folder in eclipse, this
is the change it makes in .project.
Is
Hi,
How to enable j_security_check, container based authorization in jetty.
I use jetty 6.1 however I am getting error that url j_security_check is
not found. Adding to dependencies servlet-api doesnt help.
This works in tomcat, however I would like to use userRealem in
properties file for fast
90 matches
Mail list logo