Thanks. I will check this out tomorrow. Much appreciated.
Mike
On Aug 17, 2008, at 11:05 AM, Dan Tran wrote:
Use this as an example http://svn.apache.org/repos/asf/maven/surefire/trunk
-D
On Sun, Aug 17, 2008 at 9:55 AM, Michael McGrady
[EMAIL PROTECTED] wrote:
Thanks for your response,
Hi Kevin,
I am fairly new to using maven. Our project is looking at moving to maven to replace our current ant builds.
One thing that we are doing in our build is building the same source with the 1.4 and 1.5 jdks. Basically, we build the modules source with the 1.5 jdk and package it in a
Hi,
Do anyone know how to get an artifact and its dependencies from maven
repository just using the maven command by specifying groupId, artifactId,
version (optional)?
Thanks!
Best Regards,
Guang Sheng
For an example, please have a look at the parent pom for all Apache projects:
http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
This example does not specify anything regarding plugin management, but you
could do that for your scenario. Also, notice that it is located separated
from
Hi,
Is there a specific need to put the artifacts in the repository? If not, the
plugin could produce the three car files and deploy (copy) them to the
Geronimo server. The car files could be named pretty much what ever you like
as groupId, artifactId and classifiers only matters in a
Hi,
but is seems not up to date.
Remember you can always use
http://maven.apache.org/plugins/maven-eclipse-plugin/make-artifacts-mojo.html
to create a local repo.
Danilo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
I want to build a simple online order with Struts, eclipse, and tomcat
(mysql database).
Is there any example/tutorial I can follow to create this simple project?
I found many tutorials are based on MyEclipse, but I am using Elcipse 3.4.
Thank you in advance.
Hi,
My understanding is yes the maven car plugin is just producing the
artifacts. We have to put the artifacts in the repository, as the
goal is to create a plugin repository that contains many plugins and
copy them to a remote repository so that other users can install these
plugins from the
Hi,
I am using maven in system in which there is no connection to outside world.
So maven can not download any plugins.
So the only way to run maven is offline mode.
I want to generate changelog report for clearcase snapshot view.
I was trying to force changelog report to run in offline mode
Is it attached artifacts we're talking about?
http://blogs.sonatype.com/brian/2008/05/19/1211249747887.html
/Anders
Lin Sun-2 wrote:
Hi,
My understanding is yes the maven car plugin is just producing the
artifacts. We have to put the artifacts in the repository, as the
goal is to
Hello,
I have a number of projects correctly building with Maven 2.0.9. I now
came to the point that I wanted to tackle the site generation.
Everything works, except the SCM report because it seems to insist on
using the Java based CVS library. I already had to revert to scm_native
for the
Thanks for the reply Tobias.
I will look at build profiles more and see if that will help.
One additional question though. Is there any way to run both profiles
using a single maven command. What I was hoping to accomplish is to
run the 1.5 compile and then after that the 1.4 compile so both
You could try looking at AppFuse:
http://www.ibm.com/developerworks/java/library/j-appfuse/
sam wun wrote:
Hi,
I want to build a simple online order with Struts, eclipse, and tomcat
(mysql database).
Is there any example/tutorial I can follow to create this simple project?
I found
Hi there,
I am using maven 2 and I am running into an issue with phase.
I want a ant goal to scp the war file to a remote server. However, I
want the goal to be independent of build cycle. Following is the code.
If I uncomment the phase element, mvn install will execute the goal
as expected. If I
Hi all,
I'm an experienced Ant user but new to Maven, and I'm a little shocked
at how verbose Maven is, even compared to Ant, which is notorious for
its verbosity. For example, if I want to launch a Java application in
Ant, I do this:
target name=run
java classname=foo.Bar
The maven plugin for eclipse doesn't work if eclipse is using the jre.
I just spent several hours spinning my wheels trying to get that to
work; my Windows shortcut for eclipse had the -vm argument specifying
the path to the jdk executable, which got rid of the complaint from
maven when I
Hi everyone,
As you're probably aware, we've been working for some time to stabilize
Maven for the 2.0.10 release. After quite a bit of testing in the
development community - and 8 release candidates - it looks like we
finally have a candidate that is free of regressions and stable. You can
Maven does make the development process simpler in many ways, but it's a
mistake to think that every possible activity in that process will be
simpler. Obviously, the power Maven brings in terms of dependency
handling, standardized lifecycles and lifecycle vocabulary, etc. will be
completely
BTW, unless I'm misataken, the following invocation should also work:
mvn exec:java
-j
Trevor Harmon wrote:
Hi all,
I'm an experienced Ant user but new to Maven, and I'm a little shocked
at how verbose Maven is, even compared to Ant, which is notorious for
its verbosity. For example, if I
John Casey wrote:
Hi everyone,
As you're probably aware, we've been working for some time to stabilize
Maven for the 2.0.10 release. After quite a bit of testing in the
development community - and 8 release candidates - it looks like we
finally have a candidate that is free of regressions
After fixing the eclipse jvm preference I decided to see what happens
when I remove the -vm stuff from my windows shortcut for starting
eclipse, and remove it from the eclipse.ini file. Bad move, then maven
again complains when I start eclipse.
So I got pissed and decided to reinstall java.
DOH! Wrong URL.
Here's the right one:
http://people.apache.org/~jdcasey/stage/apache-maven/2.0.10-RC9/org/apache/maven/apache-maven/2.0.10-RC9/
That's what I get for trying to type it in cold instead of looking it up
in FF and copying... :-(
Sorry for the confusion,
-john
Aaron Metzger
Grrr, no cigar; it needs the PATH variable to include java. I much
prefer the way java is installed on unix systems with a symbolic link
pointing to the default installation, and you can OPTIONALLY use an
environment variable to specify a different version. I want to blame
Sun (it's too
On Aug 18, 2008, at 2:51 PM, John Casey wrote:
Maven does make the development process simpler in many ways, but
it's a mistake to think that every possible activity in that process
will be simpler. Obviously, the power Maven brings in terms of
dependency handling, standardized lifecycles
What is the meaning of locked user in Archivia?
Also, I have unselected Force User to Change Password but it still prompt
to change change password every few month. Is there way to disable this?
Thanks.
--
Sweet - a Scala web framework:
http://code.google.com/p/sweetscala
On Mon, Aug 18, 2008 at 12:46 PM, Zemian Deng [EMAIL PROTECTED] wrote:
What is the meaning of locked user in Archivia?
Also, I have unselected Force User to Change Password but it still prompt
to change change password every few month. Is there way to disable this?
Please ask on the Archiva
Hello Good Evening,
I have a small but seriously irritating problem here :)
Whenever i run a maven command such as mvn install or mvn site, it begins by
looking up the remote repositories for any updates and this is taking a hell
lot of time.
I now have almost 3 to 4 version of each jar file
try using the -o (offline mode) option for the mvn command.
Hope that helps.
--
TK
On Aug 18, 2008, at 2:52 PM, goutham wrote:
Hello Good Evening,
I have a small but seriously irritating problem here :)
Whenever i run a maven command such as mvn install or mvn site, it
begins by
looking
Hi Kevin,
Kevin Kingsbury wrote:
Thanks for the reply Tobias.
I will look at build profiles more and see if that will help.
One additional question though. Is there any way to run both profiles
using a single maven command. What I was hoping to accomplish is to
run the 1.5 compile and
Thanks Tommy,
Actually i didn't state the complete problem before( sorry my fault)..
if i stop maven from updating in between ( CTRL + C and terminate all batch
jobs) and now if i try the same commands with the offline option , it says
that it cannot find some artifacts ( probably the ones i
Hi,
Thanks Tommy,
Actually i didn't state the complete problem before( sorry my fault)..
if i stop maven from updating in between ( CTRL + C and terminate all batch
jobs) and now if i try the same commands with the offline option , it says
that it cannot find some artifacts ( probably the ones
Hi Tobias,
Thanks for the tip.
I have a different set of repositories for each of my projects so i have
decided to use
the below configuration for each of the repositories.
snapshots
enabledfalse/enabled
you could place the configuration node out of executions like this:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
configuration
tasks
scp.. /
/tasks
/configuration
dependencies
i want to retrieve a few of the latest build artifacts from the internal
repository and package them in a zip for use locally - two of the artificats
are wars one is a jar - I am not sure how to write a pom that would do this
- could you point me to an example?
--
View this message in context:
Look at the maven-assembly-plugin docs.
-Original Message-
From: kkmca [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2008 5:51 PM
To: users@maven.apache.org
Subject: newby problem with using artifacts in repository
i want to retrieve a few of the latest build artifacts from the
2008/8/19 pfiction [EMAIL PROTECTED]:
Is there a way to force maven to not download maven-default-sking ?
That sounds like a bug. If you have a site.xml you can declare the
skin and it's version explicitly that should work.
Or maybe
is there a way to force maven to not connect to outside
The project info reports plugin is using the java version explicitly
(Since it doesn't actually execute anything it shouldn't have
mattered). Seems like this is a bug in the project info reports
plugin.
- Brett
2008/8/19 De Smet Ringo [EMAIL PROTECTED]:
Hello,
I have a number of projects
2008/8/19 Trevor Harmon [EMAIL PROTECTED]:
But isn't this a pretty common use case? I mean, launching a Java
application happens pretty often in most Java development life cycles. You
can only go so far with unit tests; eventually you need to run the thing and
see how it looks.
Not generally
Check out the attach goal here:
http://mojo.codehaus.org/build-helper-maven-plugin/usage.html
Otherwise, you'll need to make a feature request for the assembly
plugin to make the type configurable.
Cheers,
Brett
2008/8/17 Stefano Bagnara [EMAIL PROTECTED]:
Hi all,
One of my ant based project
Nothing like that right now, but it'd be an interesting feature request.
Cheers,
Brett
2008/8/15 Julien Graglia [EMAIL PROTECTED]:
Hi,
I am using maven in a medium projet with many modules...
mvn install at the root is quite long
mvn deploy too...and mvn release:prepare/perform takes 25
I got the ant wrapped in a maven plugin working.. but there was little point
when exec:exec was available. I've since used this to sucessfully invoke the
csvs 2003 compiler (as below).
However, now that I am building the exe I need to set the
packagingexe/packaging so that it can complete all
(Please pardon for my weakness on Maven2 terminology)
What I want to do is create a java application jar that also includes other
jar files that are required in its application's classpath
When I use the following plugin combination in my project pom...
i.e.,
-
-
-
plugin
set your packing at pom and use build-helper-maven-plugin to
attached your exe build artifact to maven project. Here you can
define any extension you like, in this case exe
-D
On Mon, Aug 18, 2008 at 7:32 PM, Andrew Hughes [EMAIL PROTECTED] wrote:
I got the ant wrapped in a maven plugin
I'm using maven2 (v2.0.9)
Are you referring to the build-helper-maven-plugin?
Where do I place the build-helper-maven-plugin within the pom's build
tag?
Does it come before, or after, the maven-jar-plugin? Or does it
replace the maven-jar-plugin?
Is there any way to simply include the
Have you looked at jarjar ?
http://code.google.com/p/jarjar/
Most of the docs show ANT usage, but I think you can use it in maven...
http://www.mvnrepository.com/artifact/com.tonicsystems/jarjar
Of course, I'd love to give you an example, but can't since I haven't
used it. Perhaps someone
I´m trying to add hibernate dependencies in my pom.xml, but it returns the
following message:
Error message: Missing:
--
1) javax.transaction:jta:jar:1.0.1B
So, i downloaded it and included it in my .m2\repository path, but it still
returns the same error message and i can´t build my
What is the exact error message? Are you missing the jar file, or the pom?
How did you install it into the repo? (Copy and paste the command line
you used.)
Wayne
On 8/18/08, leopupo [EMAIL PROTECTED] wrote:
I´m trying to add hibernate dependencies in my pom.xml, but it returns the
following
On 8/18/08, sairndain [EMAIL PROTECTED] wrote:
What I want to do is create a java application jar that also includes other
jar files that are required in its application's classpath
You realize that jars inside a jar is not supported by the default
Sun JVM classloader, right?
This is a
Hi Alexandre,
I encountered the same problem.
But, sorry that I don't understand what is the meaning of The version
resolve problems.
Would you explain more?
Thanks,
Alfred
Alexandre Nshimiyimana wrote:
The version resolve problems
Hello,
I get this error
[ERROR] BUILD ERROR
49 matches
Mail list logo