Markus,
try this
repository
snapshots
enabledfalse/enabled
/snapshots
idjava-net/id
namejava.net repository/name
!-- NOTE: this URL must be HTTPS. However, unfortunately this
doesn't work behind a firewall. See:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
repository
snapshots
enabledfalse/enabled
/snapshots
idjava-net/id
namejava.net repository/name
!-- NOTE: this URL must be HTTPS. However, unfortunately this
doesn't work behind a firewall. See:
Hi Alöexandre,
Alexandre Touret wrote on Monday, July 10, 2006 6:35 PM:
Hello,
I m trying to migrate from m1.x to m2. I think M2 is powerfull by
transitive dependencies functionality.But in my J2EE
environment, I have
some problems with an application which use Hibernate,
Struts, Spring,
Hi,
Barrie Treloar wrote:
On 7/11/06, Mike Lee [EMAIL PROTECTED] wrote:
I had a similar problem as you described. I believe I had to do a
xhost +
command before I ssh'ed into the machine as root to start the Continuum
server.
Err, xhost + is a very insecure solution to the problem.
And it
On Tue, 2006-07-11 at 09:04 +0200, Markus Wolf wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
repository
snapshots
enabledfalse/enabled
/snapshots
idjava-net/id
namejava.net repository/name
!-- NOTE: this URL must be HTTPS. However,
Matthias,
You dont need to use the sshExecuteable element. I use the that setup
on windows xp and it works. Maven uses wagon [1] to do the ssh.
Although you will need to manually download it ad put it into the lib
dir under your maven home dir.
[1] http://maven.apache.org/wagon/
Ben
On
Hello,
First of all I am very very new to Maven, no real use experience, but
would like to leverage some very cool stuff of this tools.
IDEs, Application Server need to be able to quickly integrate new
libraries to their environment.
For example from an IDE I would like to be able to use the
Hi Tugdall,
I am also new to maven. :-). But if you are using eclipse, there is a
good eclipse plugin (still a bit rough at the edges) at
m2eclipse.codehaus.org. It reads your POM file, downloads the
libraries and puts them on your eclipse classpath. Its really useful
and removes the integration
Hi all,
(Posting reply for benefit of anybody searching archives)
I found that the surefire plugin does not currently support JUnit 4.x.
This is a known issue at
http://jira.codehaus.org/browse/SUREFIRE-31
Regards,
Tarun
On 7/7/06, Tarun Ramakrishna [EMAIL PROTECTED] wrote:
Hi all,
(Maven
Hi Nguyen,
don't trust me too much cause I'm still far from being a Maven expert :)
but we made some experiments in using Hibernate doclets in a maven 2
project, and what i see is that you are generating mappings in the
src/main/resources directory (destdir), which IIUC should contain source
On 7/11/06, Tugdual Grall [EMAIL PROTECTED] wrote:
Hello,
[]
Is-it possible to leverage Maven dependencie analysis and library
management is other application than Maven? If yes could you please
give me pointer?
There's a 'maven embedder' project.
This link
Hi,
I am trying to write a maven2 wrapper over a maven build. I need to call
a maven goal from pom.xml.
Is there a plugin for doing this?
Thanks in advance
Kishore
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential
Hi
I am new user of maven.I had copied the following command line from the
maven site
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
but i am getting the following error
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
Sounds like you are behind a firewall.
Try setting up the proxies section in your settings.xml
proxies
proxy
activetrue/active
protocolhttp/protocol
usernameENTER YOUR USER NAME/username
Hello,
I've been working on what I'd hoped would be a fairly simple plugin
in Ant, but I'm coming up against great difficulty trying to get it
bound only to those project which I want it to execute for. I've tried
every hack I can think of, from trying to override inherited plugin
hi
thanks to u its working now i was nearing a deadline really thanks to u
--
View this message in context:
http://www.nabble.com/pro-in-a-maven-command-tf1923598.html#a5267547
Sent from the Maven - Users forum at Nabble.com.
OK thanks for your answers, I ll try to implement that :-)
Alexandre
Jörg Schaible wrote:
Hi Alöexandre,
Alexandre Touret wrote on Monday, July 10, 2006 6:35 PM:
Hello,
I m trying to migrate from m1.x to m2. I think M2 is powerfull by
transitive dependencies functionality.But in my J2EE
Hi there,
I would like to hear about what you're doing to test your Hibernate/EJB3
POJOs (if you're doing at all). I have a project with some of them, and I
have the following concerns:
First of all, I may test them just ignoring persistence (already done). No
problem here, just a bunch of
Have you thought about using dependency injection framework to cater for
this ?
A
-Original Message-
From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
Sent: 11 July 2006 12:53
To: Maven Users List
Subject: Best practices in testing Hibernate/EJB3 POJOs (or doing
database tests)
Hi
Hello Jose
About problem 1: You can use HSQL
About problem 2: You can run the tests against HSQL, so you can the
connection properties inside your test directory, so those tests would just
run against your embeddable database. An example can be found here:
Hello
Jose Gonzalez Gomez wrote:
Problem 1: Whenver building the project, publishing the site, etc. you
must
have access to a runnning database in order to perform the tests. I'm
currently running a postgresql database, but it may be cumbersome for
users
wanting to download and hack the
This release upgrades the plugin to use PMD 3.7 and adds a few minor new
features. Users should also find that PMD can no longer crash the Maven
site generation due to PMD bugs.
You can get more details with the Change Log report in JIRA:
Hi Jose,
we usually use hypersonic DB, which is a very lightweight, embeddable
DB, able to run in ram only mode. You can simply set it up in the test
setup method and shut it down in the teardown.
http://www.hsqldb.org/
Hope this helps,
Simone
Jose Gonzalez Gomez wrote:
Hi there,
I would
Any more suggestions on this?
This has to be one of the least documented features of maven and I'm
completely wedged.
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, July 10, 2006 2:18 PM
To: Maven Users List
Subject: RE: Interrnal remote repository
Yeah,
Within the settings.xml, you should be able to have an entry like this:
localRepositorysome\path\you'd\like/localRepository
-Original Message-
From: Tung Nguyen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 9:59 AM
To: users@maven.apache.org
Subject: [m2] How to configure the
Jose,
Here are a couple of things you might find interesting:
* A excerpt from my book POJOs in Action on testing a persistence
layer: http://www.theserverside.com/tt/articles/article.tss?l=PersistentDomain
* The slide from my JavaOne talk on the same topic:
settings.xml can only exist in two places AFAIK. ~/.m2/settings.xml and
MAVEN_HOME/conf/settings.xml. The latter can be used to configure all
users on the machine and is thoroughly commented.
-Original Message-
From: Tung Nguyen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006
Leave the setttings xml where it is, configure the repository location
in there as described in the settings.xml file ...
Why would you have to put repository in same directory as project though
?
A
!-- localRepository
| The path to the local repository maven will use to store artifacts.
Thank you, but in fact I need to do not use the
your-home-directory/.m2/settings.xml and your-home-directory/.m2/repository
at all. There's no way to place them in the project's folder ?
- Original Message
From: EJ Ciramella [EMAIL PROTECTED]
To: Maven Users List
Are you talking about your local repository or a repository you want to put 3d-party
libraries for your project in that you want under version control together with your project?
If the latter. I think (never tried myself) you can just define a repository in your
pom.xml like this:
project
On 7/11/06, Tung Nguyen [EMAIL PROTECTED] wrote:
Thank you, but in fact I need to do not use the
your-home-directory/.m2/settings.xml and your-home-directory/.m2/repository
at all. There's no way to place them in the project's folder ?
Yes, there is.
$ mvn --help
...
-s,--settings
Hi folks,
even after reading available docs (mini-howto's and plugin docs) I still don't
know awhat I am missing:
In a module I've created a second artifact with a different classifier
usilizing the assembly plugin. The artifact's type seems to be the assembly's
id and the file extension
IIUC The assembly plugin is used to build distributable artifacts,
such as zips containing your project, documentation, installation
scripts, run scripts etc. It is not intended to be put into a
repository.
Maven only allows one artifact (the result of building your module)
per project/module.
Hi,
If you are trying to call a maven goal from an external java program, just
use the embedder.
http://maven.apache.org/guides/mini/guide-embedding-m2.html
Hope this helps.
Raphaël
2006/7/11, Kishore Sasidharan [EMAIL PROTECTED]:
Hi,
I am trying to write a maven2 wrapper over a maven
You're right - I did some unnecessary work! (I took my approach from the
idlj plugin, that basically puts some wrapper stuff around running the main
method on a Java class - I guess that was done that way for convenience
rather than needing lots of config in the pom).
Anyway, I've dumped my
replace goalexec/goal with goaljava/goal
TimHedger schrieb:
You're right - I did some unnecessary work! (I took my approach from the
idlj plugin, that basically puts some wrapper stuff around running the main
method on a Java class - I guess that was done that way for convenience
rather than
Hi All,
I am a new user and I am facing difficulty in understanding a basic maven
concept. My source code need some jar files in the classpath (here which may
be referred as a dependency). I add those in the dependency list of my
pom.xml. But where I need to store those jar files so that at
Hi Mayank,
as you put your jar files as dependencies, you should install them in your
local repository, using the maven install-file command...
More on this on:
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
Cheers
Thierry
2006/7/11, Mayank Gupta [EMAIL PROTECTED]:
Hi
I recommend installing with a version number. If the jar is version 2.3,
but they released it as just useful.jar, I would install it as
useful-2.3.jar
If their website or documentation doesn't give a version, but a release
date, you might use useful-2006.01.23.jar.
Failing all that, you can make
I have a problem in a TestCase. I need to obtain the current classpath
definition and I use the System.getProperty(java.class.path);
When i run the TestCase into Eclipse all it's ok and i obtain this value for
the java.class.path :
java.class.path =
Many jars do not require manual installation. Don't install a jar
manually if it is already available on the public repo:
http://www.ibiblio.org/maven2/
I recommend reading the free maven2 book
(http://www.mergere.com/m2book_download.jsp) to get started. A little
time spent doing pure
Thanks Thierry,
This was a quick help for a beginner like me. I have done the same and wow!
I am able to compile my project.
Thanks,
Mayank
-Original Message-
From: Thierry Barnier [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 12:48 AM
To: Maven Users List
Subject: Re: New
Max,
You are very right. At the moment I have done the manual installation of my
jar files but I should really go through the web page mentioned by you.
This is a very welcome suggestion. Thanks for your help.
With Regards,
Mayank
-Original Message-
From: Max Cooper [mailto:[EMAIL
I have a multi-module project. The modules POMs are inheriting from a
super-POM ( which is different from the aggregator POM ).
When I run the site plugin, the sites for aggregator POM does not list the
modules under the Modules section. If I change the module POMs to inherit
from the project
Doh! (Thank you)
--
View this message in context:
http://www.nabble.com/Build-time-classpath-using-my-java-plugin-tf1914923.html#a5281234
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
Yeah, but in my company, we are tied down with our revision control
process that requires in short term this kind of configuration. This
configuration aims to facilitate a local and demonstration build without many
steps of downloading plug-in, creating, editing the settings.xml file.
-
Hello,
while migration my projects from maven 1 to maven 2 I'm wondering if
there is a way in maven 2 to generate a site for multiple projects like
maven mutliproject:site in maven 1 does.
Thanks in advance
Dorian
-
To
Hi Dorian,
You can use the site plugin for this. You need to execute mvn
site:site on the parent directory of your multi-module project.
For example, you have the following directory structure:
Project
|-- pom.xml
|-- Module1
| |-- src/main/java/../*.java
| `-- pom.xml
|-- Module2
| |--
Guys Gals,
I think I must be missing something quite obvious here. I'm trying to run a Test suite
(defined in the static suite() method in a class) through surefire.
So I have a class with the method:
JettyAcceptanceTestHarness.java
public static Test suite() throws IOException...
Hey Ben,
the wagon plugin is already part of the project (MyFaces).
So I guess something different is wrong
Will try on a linux box. That is easier ;)
Thanks,
Matthias
On 7/11/06, ben short [EMAIL PROTECTED] wrote:
Matthias,
You dont need to use the sshExecuteable element. I use the
If you don't want to browse through the repository by hand this sites can be
handy:
http://www.mvnregistry.com/
http://www.mvnrepository.com/
The allow you to search for artifacts in the main maven repository.
-Tim
Mayank Gupta schrieb:
Max,
You are very right. At the moment I have done
51 matches
Mail list logo