Sorry, another follow-up.
Is there a clean way to deploy the resulting zip file into a repository?
http://maven.apache.org/pom.html#maven_coordinates
The specified packaging types imply that it isn't possible.
Similarly, this indicates that the discussion is still on-going.
On 5/1/07, James Abley [EMAIL PROTECTED] wrote:
Sorry, another follow-up.
Is there a clean way to deploy the resulting zip file into a repository?
http://maven.apache.org/pom.html#maven_coordinates
The specified packaging types imply that it isn't possible.
Similarly, this indicates that the
To deploy the resulting artifact that isn't attached to the install/deploy
phase, you need to attach it.
You can use the build helper plugin:
http://mojo.codehaus.org/build-helper-maven-plugin/howto.html
If it's an assembly, you can use the attached goal from the assembly plugin.
Emmanuel
Well, I did a little browsing through the maven-release-plugin code
base, and I see that what I'm looking for (below) isn't currently
possible. It doesn't look like it would be terribly difficult to insert
a check for a system property into DefaultVersionInfo#getNextVersion,
though, that
Hi,
I'd like to know what is the official maven 2 repository location.
Indeed on the getting started [1] page, the answer to How do I use
external dependencies? states that http://www.ibiblio.org/maven2 is
the default location. The Introduction to repository page [2] seems to
say it's
Thanks, that's what I was missing.
Cheers,
James
On 01/05/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
To deploy the resulting artifact that isn't attached to the install/deploy
phase, you need to attach it.
You can use the build helper plugin:
http://repo1.maven.org/maven2 is the official location.
maven 1.1-dev also has been updated to download from
http://repo1.maven.org/maven
The doc may needs some cleanup.
2007/5/1, Xavier Hanin [EMAIL PROTECTED]:
Hi,
I'd like to know what is the official maven 2 repository location.
Indeed
On 5/1/07, Xavier Hanin [EMAIL PROTECTED] wrote:
Hi,
I'd like to know what is the official maven 2 repository location.
Indeed on the getting started [1] page, the answer to How do I use
external dependencies? states that http://www.ibiblio.org/maven2 is
the default location. The Introduction
On 5/1/07, Stephane Nicoll [EMAIL PROTECTED] wrote:
On 5/1/07, Xavier Hanin [EMAIL PROTECTED] wrote:
Hi,
I'd like to know what is the official maven 2 repository location.
Indeed on the getting started [1] page, the answer to How do I use
external dependencies? states that
I may be speaking out of turn here, but I think that maven does not
have a lack of order,
it simply does not allow you, the user, to control the order.
Thus builds are reproducable reliably, the order does not change from
one build to another.
This, however, is academic. If your classpath
You do not need the target tags. Just use:
tasks
echo message=testing/
/tasks
Doug Tanner
-Original Message-
From: Baz [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 8:49 PM
To: Maven Users List
Subject: SPAM:How to run ant tasks in maven 2?
All,
I read the
Hi Mark,
We dont schedule a specific date for the release. I will have a glance
this week.
I am very *busy* actually so ping me if I dont.
Cheers,
Vincent
2007/4/30, Mark Proctor [EMAIL PROTECTED]:
The Javadoc plugin is currently broken for doclet usage. I fixed the bug
and carlos applied my
Charles Paulet wrote:
Hi,
Is it possible to stop the scanning of ant path when continuum starts ?
2007-04-26 11:55:45,833 [main] INFO ContinuumBuildExecutor:ant -
Resolved the executable 'ant' to '/usr/bin/ant'.
This is just an information to you to tell which ant it will use. If you
According to [1] the command line parameter to set the url is
maven.tomcat.url. Maybe you can try -Dmaven.tomcat.url=myUrl.
Hth,
Nick S.
[1] http://mojo.codehaus.org/tomcat-maven-plugin/deploy-mojo.html#url
Adam Fisk wrote:
This seems like a ridiculously simple problem, but I'm pulling my
On 5/1/07, Andrew Williams [EMAIL PROTECTED] wrote:
I may be speaking out of turn here, but I think that maven does not
have a lack of order,
it simply does not allow you, the user, to control the order.
Thus builds are reproducable reliably, the order does not change from
one build to another.
My apologies, I must just have been lucky with the orders being
static on my projects.
Andy
On 1 May 2007, at 13:50, Wendy Smoak wrote:
On 5/1/07, Andrew Williams [EMAIL PROTECTED] wrote:
I may be speaking out of turn here, but I think that maven does not
have a lack of order,
it simply
Has anyone been able to get jmockit working with maven? jmockit needs the
-javaagent command-line arg. I have specified the arg in
configurationargLine. It may be giving the arg to the jvm, but not the
classpath as I immediately get a failure with Exception in thread main
Hi Adam,
You could interpolate ${url} in your tomcat-maven-plugin configuration:
build
plugins
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdtomcat-maven-plugin/artifactId
configuration
url${url}/url
/configuration
/plugin
/plugins
/build
and then
Hi Nick- Thanks for getting back to me. That didn't do it, unfortunately.
I can't seem to get any plugin to read any command line property. Has
anyone else had success with this? Any other ideas Nick?
Thanks.
-Adam
On 5/1/07, Nick Stolwijk [EMAIL PROTECTED] wrote:
According to [1] the
I actually spent quite a bit of time trying to get this exact thing to
work. The problem here is that you need the dependencies of jmockit to
be on the surefire classpath when it's started up, but surefire provides
no way to do this. I even tried creating my own jar with the jmockit
classes and
Steve- You rock. It works perfectly. Thank you so much. I'm off to the
races.
-Adam
On 5/1/07, Steven Rowe [EMAIL PROTECTED] wrote:
Hi Adam,
You could interpolate ${url} in your tomcat-maven-plugin configuration:
build
plugins
plugin
groupIdorg.codehaus.mojo/groupId
If you've got that far, then your on your way to making a change and trying
it out
Have a look at:
- http://maven.apache.org/guides/development/guide-m2-development.html
- http://maven.apache.org/plugin-developers/index.html
- http://maven.apache.org/developers/index.html
David C. Hicks
On 5/1/07, Wendy Smoak [EMAIL PROTECTED] wrote:
There is some discussion of (and 20+ votes for) dependency sorting in
classpath on http://jira.codehaus.org/browse/MNG-1412 .
Now its 30+ votes... And appears scheduled for 2.1.x.
Wayne
Xavier,
On 5/1/07, Xavier Hanin [EMAIL PROTECTED] wrote:
On 5/1/07, Stephane Nicoll [EMAIL PROTECTED] wrote:
On 5/1/07, Xavier Hanin [EMAIL PROTECTED] wrote:
Hi,
I'd like to know what is the official maven 2 repository location.
Indeed on the getting started [1] page, the answer to
Other people have asked for/suggested this previously, but it seems no
one has actually done it yet, so if it is functionality you desire,
I'd strongly suggest implementing it in a way that you like, and then
contributing it back.
You might want to check JIRA to make sure a bug hasn't already
Thanks for your help. I am seriously considering abandoning maven and going
back to ant. The benefits do not seem to outweigh the drawbacks.
David Jackman wrote:
I actually spent quite a bit of time trying to get this exact thing to
work. The problem here is that you need the dependencies
On 1 May 07, at 5:08 AM 1 May 07, Xavier Hanin wrote:
Hi,
I'd like to know what is the official maven 2 repository location.
The official repository is housed at repo1.maven.org, from which any
client can connect.
Indeed on the getting started [1] page, the answer to How do I use
On Tue, May 1, 2007 5:01 pm, mikewilsonuk wrote:
Thanks for your help. I am seriously considering abandoning maven and
going
back to ant. The benefits do not seem to outweigh the drawbacks.
There are times when maven just doesn't cut the mustard for certain tasks,
and that's when wrapping ant
Greetings,
I have simple ant file that has junit task and it executes fine using ant 1.6.2.
Now I am trying to call that ant script via pom file and I am getting an error
that junit task is not found.
C:\ncp\ncp\main\component\ClientTests\build\client\build.xml:117: Could not
create task or
I added one more dependency
dependency
groupIdorg.apache.ant/groupId
artifactIdant-junit/artifactId
version1.6.2/version
/dependency
and still seeing the same results. Any pointers ??
Thanks,
Petr V. [EMAIL PROTECTED] wrote: Greetings,
I have simple ant
Thanks for the links. I'm a bit under water right now, but if I can
get a chance to come up for air, I may just do that.
David Roussel wrote:
If you've got that far, then your on your way to making a change and trying
it out
Have a look at:
-
You probably want the ant-nodeps artifact.
groupIdant/groupId
artifactIdant-nodeps/artifactId
version1.6.5/version
Wayne
On 5/1/07, Petr V. [EMAIL PROTECTED] wrote:
I added one more dependency
dependency
groupIdorg.apache.ant/groupId
artifactIdant-junit/artifactId
Thanks Wayne for your reply. I added your suggested artifact too though I guess
it was not required because junit task is included in ant-junit artifcat but I
am still facing same issue. On researching on google, I found that many people
have asked about this problem with different ant tasks
I'm curious... why you can't just use Maven Surefire plugin to run
your JUnit tests? Why are you doing this junit via ant thing at all?
Wayne
On 5/1/07, Petr V. [EMAIL PROTECTED] wrote:
Thanks Wayne for your reply. I added your suggested artifact too though I
guess it was not required because
We're having problems building modules like this from scratch. If we
run process resources from the top most level, submodule.B complains
about not being able to find module1's artifacts (why would submodule.B
need module 1's jar artifact just to process resources?).
parent - version
Actually I am trying to set framework to test web services. Our all projects
are in compliance with maven except this one.We use sure fire for all other
components.
In this ant script, we deploy the web server , generates wsdl, generates
clients and then run the tests via junit. I can try to
Hello,
I have a strange problem running tests with maven. My test first create a
directory and a jar in the temporary directory for the user, (property
java.io.tmpdir), writes a class file to it, then uses that jar file to pass
to a tested class that creates a classloader from it and loads a
Things break constantly on Windows due to spaces in directory names.
Given this works on Linux, I would assume this is your problem. Move
everything to directories without spaces and try again.
Wayne
On 5/1/07, insitu [EMAIL PROTECTED] wrote:
Hello,
I have a strange problem running tests
Wayne Fay wrote:
Things break constantly on Windows due to spaces in directory names.
Given this works on Linux, I would assume this is your problem. Move
everything to directories without spaces and try again.
Wayne
Thanks for quick answer ! But then, why does it work in Eclipse ?
See issue: http://jira.codehaus.org/browse/SUREFIRE-117. I had to make
changes to prevent the executable jar from being created.
mikewilsonuk wrote:
Thanks for your help. I am seriously considering abandoning maven and going
back to ant. The benefits do not seem to outweigh the drawbacks.
How can I compile a war, where there are required libs in the ./lib DIR but
not in the repo?
I do not want to add these libs into my repository, I want them as resources
in my webapp/web-inf/lib DIR only...
--
---
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
Thx Nicolas, I'll keep that in mind.
nicolas de loof-2 wrote:
mirrorOf* in mirror definition makes maven use the same mirror URL for
any
repository/pluginrepository.
If your POM includes some repository dependency with snapshots enabled, it
will enable request for snapshots on the
Do you need these resources to compile your war? If so, you will want
to use scopesystem/scope and the systemPath/ property in your
dependency declaration.
If not, there are a variety of techniques to copy files from one
directory into another as part of your build process.
Wayne
On 5/1/07,
Also, even if you use system scope, you will probably still need to
copy the files into the web-inf/lib folder manually.
Wayne
On 5/1/07, Wayne Fay [EMAIL PROTECTED] wrote:
Do you need these resources to compile your war? If so, you will want
to use scopesystem/scope and the systemPath/
Will it be as simple as issuing HTTP 301 status codes and maven as a
good HTTP client will notice and update it's configuration? Or do we
as users need to do something at our end?
Cheers,
James
On 01/05/07, Jason van Zyl [EMAIL PROTECTED] wrote:
On 1 May 07, at 5:08 AM 1 May 07, Xavier Hanin
Thank you folks for your kind and quick answers!
Xavier
On 5/1/07, Jason van Zyl [EMAIL PROTECTED] wrote:
On 1 May 07, at 5:08 AM 1 May 07, Xavier Hanin wrote:
Hi,
I'd like to know what is the official maven 2 repository location.
The official repository is housed at repo1.maven.org,
Here's another way of phrasing this question - if a module has a
dependency on another one, how do you stop it from attempting to
download until absolutely necessary (say at compile time, NOT at
process-resources time)?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
As far as I know, you can't. Maven resolves all dependencies etc at
the beginning of the lifecycle, so it can find all transitive
artifacts etc and make sure EVERYTHING is available in the local cache
before proceeding with the build.
Wayne
On 5/1/07, EJ Ciramella [EMAIL PROTECTED] wrote:
48 matches
Mail list logo