I have the maven plugin working with the following code.
org.codehaus.mojo
hibernate3-maven-plugin
2.0-alpha-2
mysql
mysql-connector-java
5.1.3
process-resources
The dependency plugin seems to have local defined as an expression
somewhere and it's conflicting with a property you have defined.
-Original Message-
From: Julien Stern [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2008 5:18 AM
To: users@maven.apache.org
Subject: Unusual error: canno
I have been looking for a solution too, but I didn't find one. Even in ANT,
if you define a variable, you can reference that variable from within the
ant script and from JAVA (JUnit tests) gu using the
System.getProperty("whatever_name...");
In Maven my workaround was to create a profile in set
Martin,
Thanks for the reply. Both my distro settings.xml and my
/.m2/settings.xml have a correct path to the local
repository defined. The output is the same. Something else is at work
here.
Brad
On Apr 4, 2008, at 4:15 PM, Martin Gainty wrote:
in your maven distro folder look at sett
in your maven distro folder look at settings.xml
you define all of your localRepository elements such as the example
illustrated here
C:/FuBarPlugin
HTH
Martin
- Original Message -
From: "Brad O'Hearne" <[EMAIL PROTECTED]>
To: "Maven-user Maven"
Sent: Friday, April 04, 2008 5:55 PM
Sub
Hello,
I have the Maven 2 plugin installed in Eclipse, and though when I
build a project in Eclipse, it will download dependencies into my
local repository, I am not seeing much of anything in my maven console
output except for dependency downloads and the following:
4/4/08 2:40:00 PM MST
Hello Borut,
placing those config files in your src/main/resources will make them visible
in classpath. filter them out in your jar plugin and you won't see them
during packaging. And you said you know how to do this. :)
On Fri, Apr 4, 2008 at 3:50 AM, Borut Bolčina <[EMAIL PROTECTED]>
wrote:
>
Hi Jerome,
That looks like it has good information for configuring my project. I hope
to get a chance this weekend to try it out and get back to you. Thanks much
for the information, I just need an example of how it works and should be
able to figure out the rest.
Thanks,
Walter
Jerome Lacos
You might try to avoid the mirror all together. Instead of mirroring central,
change the url in a profile to be what you want it to be. There's no good way
to change the mirror url if the property didn't work.
-Original Message-
From: Stephane Nicoll [mailto:[EMAIL PROTECTED]
Sent: Frid
Using the copy/unpack-dependencies goals should find what you need from
the reactor. The copy/unpack goals currently do not.
-Original Message-
From: Robert Reiner [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2008 8:25 AM
To: users@maven.apache.org
Subject: jar does not attach to rea
Brier, Frederick (IHG Temp) wrote:
I have been learning a lot about customizing my Maven generated site.
There is lots more to do, but right now, I want to not show columns that
have no data in them, such as: Id, URL, Organization (we are all
currently in the same organization), Organization URL,
I have been learning a lot about customizing my Maven generated site.
There is lots more to do, but right now, I want to not show columns that
have no data in them, such as: Id, URL, Organization (we are all
currently in the same organization), Organization URL, Time Zone, Actual
Time (GMT) and Pro
Hi.
I created an ant file for this job and I will instruct the user how to call
it. But, as you said, these are just hack.
Anyways, thanks for everything.
My bests,
Cosmin
On Fri, Apr 4, 2008 at 7:33 PM, Giesselmann, Torben <
[EMAIL PROTECTED]> wrote:
> I don't really know if there's a builtin w
I don't really know if there's a builtin way to do this.
But you could always use Maven's Groovy plugin and execute a Groovy script at
the "install" goal:
- have it download the file
- unpack it and do whatever file operations you like
- start a new process executing a 'mvn install:install-
Hard to tell from that output. Can your machine access
http://repo1.maven.org/central ?
If no, there's your problem. If yes, then try clearing out your local
repository.
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2008 8:28 AM
To: Maven User
When I do a mvn site or mvn clean install site, I find that the version
given in the parent POM is not getting inherited to the child poms and it
results in error as below. If I hardcode the parent POM's version in all
the child POMs, the site generation goes fine. I'm using maven-2.0.8.
Would
Here is what learned about my problem:
* It is certainly possible to have a child pom (extension) have a
different version that its parent pom (base) - (good!)
* My problem was due to use of variable ${pom.parent.version} within
dependencyManagement section. Apparently the variab
Robert,
That looks exactly like the bug to me.
CHeers
Robert Reiner wrote:
>
> Hi Paul G,
>
> I faced a similar problem today. We have a multi-project-build and the
> site plugin does not fetch the artifacts from the reactor, but tries to
> download them from the local repo. Therefore the ar
Hi,
I'd like to use Maven for applying modifications to the source code
before compiling
it. I've seen that Maven provides the life cycle phase 'process-
sources'. Is it meant for
things like that? If so, how can I use it? Does anybody have an
example for replacing
Strings in the source fil
k, thanks for the info Wendy. I got it working now.
At first thought I forgot my password is not right, but it's been the same
all along. What happens is someone shuts down the server expectantly. When
it rebooted, the archiva instance no longer can authenticate admin user,
even though the site is
So your problem is 100% identical to this one?
If so, perhaps you could try contacting "Simon Taylor" from the thread
and see if he ever got past the problem, and what he did to resolve
it.
Wayne
On 4/4/08, Rex Huang <[EMAIL PROTECTED]> wrote:
> error stack trace is at this page:
> http://mail-a
If this is not possible then whats is the best way to avoid duplication
of conetnt between base.pom and extension.pom?
Also please see a typo fix inline below...
Farrukh Najmi wrote:
Dear Colleagues,
I have two separate projects "base" and "extension".
Each project is really a multi-project
Dear Colleagues,
I have two separate projects "base" and "extension".
Each project is really a multi-project inheritance hierarchy.
Finally extension pom is a sub pom of base pom.
The pom inheritance is as follows:
base
base-sub1
base-sub2
extension
extension-sub1
extens
Hi,
contrary to MSITE-171, I would say that this is not a bug. mvn site is
for building the site, not the code. If you want fresh code coverage
reports/surefire tests, of course you will have to run mvn install
before - it's not a bug. Any standard site build will work just as fine
without. I
On Thu, Apr 3, 2008 at 12:42 PM, walterw <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Here is my pom.xml that corresponds to the webstart:
Walter
I also highly recommend you to look at the various integration tests
http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/webstart/webstart-maven-plugin/sr
Hello
I try to create an assembly with the deployed artifact in it (with the
correct version number)!
I used to achive this the following command:
mvn assembly:single deploy
What I expected is an archive which looks like this:
test-project-0.1.0-20080404.140018-1.tar.gz
-- test-project-0.1.0-200
Can someone explain to me this error please? For curious reasons, maven
is enable to find it's dependency plugin
$ mvn -e dependency:tree
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO]
Hello,
Thanks for the reply. I apologize for being uncler. I only realized that now
that I am reading my initial mail again. The part:
> This means that I would like to be able to download a zip
> from http://somehost.com/somepath/something.zip, unpack it
> and copy some jar from there in the loc
Hi!
is it true that the jar plugin does not add the generated artifact to the
reactor to share it with other projects in a multi-project-build? They get
installed and deployed, but I failed to notice that the dependency-plugin
will still grab the specified artifacts from the local repo (instead o
Heya -- you can install the library in your local repository, see here:
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
Or you could just as well setup an internal repository:
http://maven.apache.org/guides/introduction/introduction-to-repositories.html
Rega
Robert Reiner wrote:
Hi Paul G,
I faced a similar problem today. We have a multi-project-build and the site
plugin does not fetch the artifacts from the reactor, but tries to download
them from the local repo. Therefore the artifacts need to be installed. I
think this might be your problem, too.
Hi Paul G,
I faced a similar problem today. We have a multi-project-build and the site
plugin does not fetch the artifacts from the reactor, but tries to download
them from the local repo. Therefore the artifacts need to be installed. I
think this might be your problem, too.
There is a bug filed
error stack trace is at this page:
http://mail-archives.apache.org/mod_mbox/maven-users/200711.mbox/[EMAIL
PROTECTED]
Rex
On Wed, Apr 2, 2008 at 4:38 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> You must provide more information, perhaps the error stack trace
> produced by Maven when it "fails",
Hi,
I am trying to configure a mirror. We have development teams around
the world so I would like to be able to configure the central mirror
with a property that would be define in a profile for instance
(developers may travel around so they need to use the closest mirror).
We can't set a mirror
Hi list,
Would some have a clue on the reasons this error may occur ?
I'm using maven 2.0.8 (with dependency plugin 2.0).
Thanks in advance.
--
Julien
[INFO]
[ERROR] BUILD ERROR
[INFO]
-
Hi,
I've got a project consisting of several subprojects. I defined a parent pom
for all those subprojects.
I would like to be able to define a constant look & feel for all sites of
the subprojects -
To achieve this, I added a source folder and a site folder in it, containing
a "site.xml", a css f
Luke Daley pisze:
On 04/04/2008, at 10:08 AM, Luke Daley wrote:
On 04/04/2008, at 1:35 AM, Lukasz Guminski wrote:
But I'm still not happy with the solution. This is because of the
impossibility to avoid generating unnecessary folder structure
(/.../latestStableVersion/download/latestStable
Why do I have to run install to get a multi-module project to work correctly?
Is this a bug?
--
View this message in context:
http://www.nabble.com/Multi-module-site%2C-why-must-I-do-%22mvn-clean-install-site%22--tp16488944s177p16488944.html
Sent from the Maven - Users mailing list archive at N
Hi!
According to a wiki article [0], the two maven books, and some mails on this
list it is best practice to put integration tests in one (or multiple)
separate module(s). In all examples I could find, this IT-module is of
packaging type pom, which IMO makes sense as I wouldn't need a JAR with
Done: http://jira.codehaus.org/browse/SUREFIRE-480
Martin Höller wrote:
On Thursday 03 April 2008 Chad La Joie wrote:
The error message in the summary report wasn't at all helpful and I
missed the line in "<<< FAILURE!" line in the scrolling text as the
tests were ran. A better error message
Hello,
I would like to
- filter config directory (some property/configuration files),
- don't package the content of the config it in the jar
- and make config directory a classpath entry for the exec:java plugin
I know how to filter src/main/resources.
Any tips?
Cheers,Borut
On Thursday 03 April 2008 Chad La Joie wrote:
> The error message in the summary report wasn't at all helpful and I
> missed the line in "<<< FAILURE!" line in the scrolling text as the
> tests were ran. A better error message would really help here. I think
> just reporting, in the summary, the
42 matches
Mail list logo