garyng [EMAIL PROTECTED] schrieb:
I followed this
http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html
but it seems that it is being ignored/eaten.
What I want is to include the src/main/webapp/WEB-INF/lib to the compiler
classpath as there
Hi all,
In my classpath I have the line:
classpathentry excluding=** kind=src output=src/main/resources
path=src/main/resources/
How do I set up Maven to omit the exluding part of this classpath entry?
BR
Markus Källander
Hi Haim,
Thanks for the help. But I am afraid I don't know how to use profiles, I had
put it in my pom for EAR and tried, but the result was same. I am not
confident enough in the way I used it.
regards.
Amit
On Jan 10, 2008 12:50 PM, Haim Ashkenazi [EMAIL PROTECTED] wrote:
On Jan 10, 2008 7:57
Your first step will be a visit to mvnrepository.com. When you search artifacts
there, you're sure they are on the central repository. I just checked and there
are multiple swt jar files there. If you find the one you search, add the
dependency to the pom.xml file and rebuild. If you can't find
Hey Haim,
It worked, and worked smooth :-). Thanks a lot again.
Regards
Amit
On Jan 10, 2008 1:51 PM, amit kumar [EMAIL PROTECTED] wrote:
Hi Haim,
Thanks for the help. But I am afraid I don't know how to use profiles, I
had put it in my pom for EAR and tried, but the result was same. I am
thanks for the information.
I want to do this is because certain jars are not in the maven
repositories. I know the option I can have is to install a local repo but
that can be quite time consuming and if I have multiple machines, I have to
do it on each of them or must go to the length of
Hello Abdul,
Perhaps you could start by reading the Maven Getting Started Guide about
how to create project.
http://maven.apache.org/guides/getting-started/index.html#How_do_I_make_
my_first_Maven_project
Following that guidelines it will automatically create the proper
project directory
SWT is available on the central repository
groupId: org.eclipse
artifactId: swt
version: 3.2.1-v3235e or 3.3.0-v3346
Jeff
On Jan 10, 2008 8:59 AM, rakeshsugirtharaj [EMAIL PROTECTED] wrote:
Hi folks!,
I m doing a project that uses SWT for gui. How do i add
the dependent
HI,
Just like WAR can I as well exclude some files from JAR builds as well?
I have used this, but not working.
/plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
version2.1/version
executions
execution
goals
Houdy,
I am using the latest version of the maven site plugin.
In the site.xml file of the top parent project I have introduced the
following :
menu name=Other projects
item name=XXX-API href=/xxx-project/index.html/
item name=XXX2--API href=/xxx2-project/index.html/
/menu
Houdy,
Is it still possible to generate a tag referencing a parent from a
sub-module ?
I am trying menu href=parent/
It does seem not to work properly
--
View this message in context:
http://www.nabble.com/maven-site-plugin-menu-tag-tp14731188s177p14731188.html
Sent from the Maven - Users
Houdy,
I am newby to Maven 2.
I have Introduced the Cobertura plugin in the reporting section of the
pom.xml file of my main project as follows:
reporting
...
plugins
!--
- JUNIT test report activation
Hi,
It's quite hard to understand your mail...
The site plugin generates html pages from stuff it finds in the
site/src/apt, site/src/fml, site/src/resources, etc. You then
reference things starting from there. For you this would mean your link to
href=/xxx-project/index.html points
to
Hi!
I configured file plexus.xml (continuum 1.1), and also section Mail.
But while starting continuum, following line are printed into log:
org.codehaus.plexus.notification.notifier.Notifier:mail - The from
mailbox is not configured, will use the nag email address from the project.
So, how
Hi,
No you don't miss something here.
It's a know issue [1] and it's fixed in trunk.
You can try last snapshot to test the fix.
--
Olivier
[1] http://jira.codehaus.org/browse/MJAR-30
2008/1/10, amit kumar [EMAIL PROTECTED]:
HI,
Just like WAR can I as well exclude some files from JAR builds as
Hi,
You need to set your plexux.xml file under \continuum-1.1\conf from localhost
to your mailServer name
Below I have copied the xml file part.
!-- START SNIPPET: mail --
!--
Mail Session
--
resource
namemail/Session/name
Hi all,
My question seems has not so much to do with mvn.
I want to deploy many jars onto the remote repository. I use the mvn-command
as follow:
deploy:deploy-file -Dfile=mytest-1.0.jar -DgroupId=mytest -DartifactId=mytest
-Dversion=1.0 -Dpackaging=jar
This is a known problem in maven.
you need to run maven once (to build all the child reports)
On the first run there are no child reports (because the parent is run
first)
Then you need to run maven a second time (to rebuild the parent report)
The good news is that you need only run the parent
On Jan 10, 2008 5:18 AM, globulon [EMAIL PROTECTED] wrote:
Is it still possible to generate a tag referencing a parent from a
sub-module ?
I am trying menu href=parent/
It does seem not to work properly
I think it's just menu ref=parent/ (not 'href' as you wrote.)
If that wasn't just a
Hi all,
I'm trying to simplify the release process of my project.
I run the following command:
call mvn -DpreparationGoals=clean,install -DautoVersionSubmodules=true
release:clean release:prepare
Since my project have dependences against other projects (SNAPSHOT
dependeces) I get the
Hi,
I want to add a JAR archive to the CLASSPATH for the targets build/package.
I don't want to include that JAR archive in my final WAR file. I read the
documentation, and for that purpose I added in my pom.xml the following to
the build element:
extensions
extension
Hello !
I have a really dumb question, but i cant seem to find the answer. I'm
more used to SVN and I am a bit lost with branches in CVS ...
How do you configure scm in a pom so that it points to a CVS branch
? I thought I should use tag, but it doesnt seem to work :
connection
globulon [EMAIL PROTECTED] schrieb:
I am using the latest version of the maven site plugin.
In the site.xml file of the top parent project I have introduced the
following :
menu name=Other projects
item name=XXX-API href=/xxx-project/index.html/
item name=XXX2--API
amit kumar [EMAIL PROTECTED] schrieb:
Just like WAR can I as well exclude some files from JAR builds as well?
Not until the next version of the jar plugin is released.
For the moment, the usual workaround is to use the antrun plugin to remove the
unwanted files before the jar is created.
Filipe David Manana [EMAIL PROTECTED] schrieb:
Hi,
I want to add a JAR archive to the CLASSPATH for the targets build/package.
I don't want to include that JAR archive in my final WAR file. I read the
documentation, and for that purpose I added in my pom.xml the following to
the build
Hi,
I have downloaded the patches from the link mentioned by you. But I don't
know how to apply them.
regards,
Amit
On Jan 10, 2008 6:29 PM, Olivier Lamy [EMAIL PROTECTED] wrote:
Hi,
No you don't miss something here.
It's a know issue [1] and it's fixed in trunk.
You can try last snapshot
Probably because some dependency you are using has added a repository
(maven.openqa.org). This is why we suggest that putting repos into poms
is not a good idea.
-Original Message-
From: Brewster, Richard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 5:58 PM
To:
It works! :)
Thank you.
On 1/10/08, Simon Kitching [EMAIL PROTECTED] wrote:
Filipe David Manana [EMAIL PROTECTED] schrieb:
Hi,
I want to add a JAR archive to the CLASSPATH for the targets
build/package.
I don't want to include that JAR archive in my final WAR file. I read
the
Hello,
We have a few problems with the classpath used by surefire. Some tests fail
randomly due to the order of the classpath managed by Surefire.
During the execution of unit tests, it seems that the classpath used by
maven differs from the classpath used by my IDE (IntelliJ).
In IntelliJ,
I was not able to see the artifact in my browser or on the file system.
On Jan 9, 2008 11:04 PM, Maria Odea Ching [EMAIL PROTECTED] wrote:
Hi Mick,
Sorry, I got a little confused there. You got the The following resource
does not exist when you tried browsing the artifact in Archiva? Where
Nothing to patch locally.
The snapshot with this patch is available in snapshot plugin repositories.
In order to test this have a look here [1] (first section How to
include the plugin snapshot repositories as part of your build).
If you have any issues let us know,
Thanks,
--
Olivier
[1]
Hi Simon,
Being totally unaware of ANT although I tried but of no use.
I used this with google's help
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phaseprepare-package/phase
Thanks. Looks like I had another library that I was dependent on that
still had a dependency on the 2.1 branch of the dba.library.
This is actually a good thing as this kind of inconsistent dependency
could have burned me in runtime. But it would have been nice if maven
gave me a better error
Hi Dennis,
first of all thanks for the reply...
That should make the plugin create *only* the changes-report.
Yeah, but the message i got is already there...
But i have figured out the following:
urlhttp://supose.soebes.de/url
If i add simply a trailing slash to this url all links in the
yes better message would be good
you might want to change your deps to [2.1,2.2-!) other wise if you someone
deploys a 2.2-SNAPSHOT its calculated as 2.2 and included in the range
[2.1,2.2)
On Fri, 11 Jan 2008 06:40:16 Chris Andersen wrote:
Thanks. Looks like I had another library that I
Hi,
I am using the maven plugin to generate java pojo's from hibernate mapping
files(hbm.xml).
Here is the plugin details in pom.xml.
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdhibernate3-maven-plugin/artifactId
version2.0-alpha-2/version
configuration
Hi,
is it possible to specify that a dependency is always needed for
compilation, unit testing and plugin execution (jetty plugin) only? That is,
it should only not be included in my final WAR archive.
If so, how can I do it?
Thank you
--
Filipe David Manana,
[EMAIL PROTECTED]
Obvious facts
Thanks
-Original Message-
From: Michael McCallum [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 10:57 AM
To: Maven Users List
Subject: Re: Dependency version range not working. The artifact has no
valid ranges is given when it certainly looks like it has a valid
range.
yes
On Thu, 2008-01-10 at 21:42 +0100, Filipe David Manana wrote:
Hi,
is it possible to specify that a dependency is always needed for
compilation, unit testing and plugin execution (jetty plugin) only? That is,
it should only not be included in my final WAR archive.
No.
But I think you can
And is it possible to automatically trigger a profile based on the requested
goal (like jetty:run) ?
Let's say, I would have different profiles for different goals.
(just to avoid explicitly specifying the profile to use)
On Jan 10, 2008 9:51 PM, simon [EMAIL PROTECTED] wrote:
On Thu,
Danger! Will Robinson! Danger!
How will you know that instrumenting your tests is not causing them to pass?
Seriously, we had hand tweaked the pom to run the tests only once when they
were instrumented, and as the instrumentation was forcing synchronisation
(in order to track code path
We define shared values as property elements in a parent POM and use
them in child POMs. We have fragments like this, near the top of the
parent POM:
. . .
properties
. . .
uimaj-ee-version0.7.0/uimaj-version
Marshall,
the standard solution for what you are attempting would be to
install/deploy those libraries not managed by Maven into your own
repository or corporate repository and then you *would* have access to
them.
William
-Original Message-
From: Marshall Schor [mailto:[EMAIL
Yes this does appear to be a problem still in Maven 2.0.8 and I've
raised what seems to be a similar issue here:
http://jira.codehaus.org/browse/SUREFIRE-427
Although my issue is focusing on test-resources completely missing in
the test-classpath.
-- Cory
Olivier Catteau wrote:
Hello,
We
William Ferguson wrote:
Marshall,
the standard solution for what you are attempting would be to
install/deploy those libraries not managed by Maven into your own
repository or corporate repository and then you *would* have access to
them.
William
Hi William -
I must have not communicated
I don't think Simon is telling you to use Ant's jar command -- instead
he is suggesting that you use Ant's delete task to physically remove
the unwanted files out of /target/ before allowing Maven to do its own
packaging step. (Right, Simon?) You would probably want to bind this
to prepare-package
My apologies Marshall, not quite sure how it occurred but my answer was
for an entirely different question by someone else.
To answer your question, Maven seems to be working largely as designed.
I'm actually surprised that your child POMs could build in any scenario
if their reference to the
not a defect and IMO you should never install parents
you can just do an install on the parent with mvn -N
for my projects any user first gets a settings.xml and then can check out and
build any artifact in isotation without the need to mvn install anything
relying on the parent to inherit
Thank you for your reply.
I tried to look up what the command line parameter -N was for maven -
but couldn't find any reference to it. Can you please point me to where
the command line parameters for maven are defined so I can learn what
this does?
I'm a little confused on why parents are
William Ferguson wrote:
My apologies Marshall, not quite sure how it occurred but my answer was
for an entirely different question by someone else.
To answer your question, Maven seems to be working largely as designed.
I'm actually surprised that your child POMs could build in any scenario
if
Marshall Schor wrote:
Thank you for your reply.
I tried to look up what the command line parameter -N was for maven
- but couldn't find any reference to it. Can you please point me to
where the command line parameters for maven are defined so I can learn
what this does?
I found documentation
From what you've said it seems that all your problems are solved by
hardcoding the version in the parent.
Ie don't use the property. Which is standard practice.
I don't know what causes the problem that you are describing, but if it
goes away when you stop punishing yourself with it then that
[EMAIL PROTECTED] wrote:
Hi,
I´m using the maven-depgraph-plugin to generate dependency-visualization
graphics, which I want to include in the generated website.
This plugin has 2 goals and I need a different configuration for each goal
1) for depgraph goal no groupFilter is necessary, I
What is the difference between a plug-in and a dependency? Examples?
--
View this message in context:
http://www.nabble.com/plug-in-vs-dependency-tp14750516s177p14750516.html
Sent from the Maven - Users mailing list archive at Nabble.com.
simon a écrit :
On Wed, 2008-01-09 at 11:35 +0100, François Xavier Gendrin wrote:
Hi,
I updated some plugin and crash, an error. Error says to specify:
'-Dproject.reporting.outputDirectory=VALUE', but I prefer to use pom
configuration file, but I didn't find how to configure it with pom
The from address can be configured in
WEB-INF/classes/META-INF/plexus/application.xml
Emmanuel
On Jan 10, 2008 1:56 PM, ivan [EMAIL PROTECTED] wrote:
Hi!
I configured file plexus.xml (continuum 1.1), and also section Mail.
But while starting continuum, following line are printed into log:
I am sorry I think this is not correct
Regards
Pallavi
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 6:38 PM
To: continuum-users@maven.apache.org
Subject: RE: Configure FROM mailbox
Hi,
You need to set your plexux.xml file under
Olivier Lamy wrote:
Hi,
In the webapp, you will find the find
WEB-INF/classes/META-INF/plexus/application.xml
It's contains the empty elements :
from-mailbox/from-mailbox
from-name/from-name
--
Olivier
2008/1/10, ivan [EMAIL PROTECTED]:
Hi!
I configured file plexus.xml
58 matches
Mail list logo