Hi Nick,
Thanks a lot for your reply
I have internet connection and the issue is i am trying to access is from
office...there is no proxy although we have set some script in Lan settings
in IE as configuration scriptand when i tried through web browser i was able
to open the site.
can i use
Have a look at
mvn deploy:deploy-file -DgeneratePom=true -Dfile=myjar.jar
-Dversion=1.0-SNAPSHOT -DartifactId=foo -DgroupId=com.foobar
On Wed, Sep 17, 2008 at 12:51 AM, Yaakov Chaikin
[EMAIL PROTECTED]wrote:
Well, I ran the mvn clean install, etc. using the DSMP proxy server
and then moved
Brett Porter [EMAIL PROTECTED] writes:
I don't think it's really documented, and is certainly subject to change
given the nature of trunk.
Your best bet might be to look at the CLI on trunk as it uses the embedder
itself.
OK, I'll try that, thanks again.
--
Arnaud Bailly, PhD
OQube -
Karl Heinz Marbaise wrote:
Hi Jörg,
thanks for answering...
The id of the assembly *is* the classifier ... so how do you
create distinct files, if you use always the same assembly?
Note, that the result of the assembly *is* already an
attached artifact. Simply call mvn deploy and you
Hi there,
you can simply use:
configuration
filesetdirectoryC:/some/other/dir/deleteme/directory/fileset
/configuration
Nothing more...
And as mentioned...absolute directories are a very bad idea...
Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0)
By default release plugin creates and deploys source bundle and javadoc, how
do i
disable this feature?
(The same question has already been posted before, but there was no
response).
thanks
--
View this message in context:
Hi,
i have a multimodule setup...
Now i have the following question:
I use a plugin (maven-license-plugin) in my parent pom and do the
configuration of it there as well. The configuration of it are in a
folder of this parent module
Parent
+--- Module A
+--- Module B
+---
I don't know about Internet Explorer or Windows script, (Ain't using both).
But here are a few options:
Maybe you could let this script also generate a settings.xml [1] with
the right proxy information. As far as I know Maven can't handle this
type of scripts.
Another option would be to adjust
Hi,
You could find a multimodule configuration for resources files (xml, txt
...) in the checkstyle plugin documentation.
http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
This tips is to create a new maven module (jar) that will contains all your
resources
Здравствуйте!
Ваше письмо принято за спам и удалено.
Если вы считаете это ошибкой, то позвоните пожалуйста по телефону
+7(812)578-09-03 в службу поддержки.
===Вашего письмо===
Return-Path: [EMAIL PROTECTED]
Received: from [EMAIL PROTECTED]
by inc.ru (CommuniGate Pro RULES 4.1.8)
Hi all,
I am integrating some code generator into Maven.
Currently, I have a project archetype and a plugin that wraps the generator.
In the current arrangement creating a project is a three steps process:
1. mvn archetype:generate parameters
2. cd project-dir
3. mvn package/install/whatever
I
If you want get Help try it in english please... I think there is scarcely
anybody who understands...
2008/9/17 [EMAIL PROTECTED]
Здравствуйте!
Ваш запрос принят. Запросу присвоен тикет №142158354
В течение одного рабочего дня им займется сотрудник технической поддержки.
Вы получите от
I do understand Russian. It is an automatic letter from spam-filter.
I've called to that company, the've promised to stop this flood.
2008/9/17 Schimki86 [EMAIL PROTECTED]:
If you want get Help try it in english please... I think there is scarcely
anybody who understands...
2008/9/17 [EMAIL
Hi,
I just ran into this weird bug when using the maven 2 tomcat plugin (which
I was sucessfully using for the last few month now...)
mvn tomcat:deploy -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'tomcat'.
[INFO]
Hi there,
i have a working multi module setup where different modules create
artifacts.
Parent
+-- Mod A (Artifact: a.tar.gz, a-1.tar.gz, a-2.tar.gz, a-3.tar.gz)
+-- Mod B (Artifact: b.tar.gz)
+-- Mod C (Artifact: c.tar.gz)
+-- Mod D
Now i would like to create
Hi, i've come across a problem which i driving me mad. My project is made up
of multiple modules which all inherit from a super pom. In this super pom i
have defined a few properties for version number of the individual modules.
When i run mvn install from the root dir (super pom) it goes thru
A quote from Dennis Lundberg:
[quote]
The problem is that Maven is unable to download the artifact-plugin for you.
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'
does not exist or no valid version could be found
The most common reasons for this message are (in no
Hi.
I would like to know within a Mojo implementation that the maven was started
with install or deploy goal. Is it possible?
Tibor
I have updated the settings.xml with the proxy details and now the error is
:-
$ mvn install:install-file -DgroupId=swarmcache -DartifactId=swarmcache
-Dversion=1.0RC2 -Dpackaging=jar -Dfile=/ebilling/application/edxadmin/swarm
[INFO] Scanning for projects...
[INFO] Searching repository for
You may ask for help on mevenide.codehaus.org, since they code IDE
plugins for eclipse and netbeans and use the embedder to run maven
inside the IDE.
Regards
Marcelo Morales
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Could you post your (anonimized) proxy part of settings xml and the
output of the mvn commando with an extra -X parameter?
With regards,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Wed, Sep 17, 2008 at 1:49 PM, shubham [EMAIL PROTECTED]
Proxy details :-
!-- proxies
| This is a list of proxies which can be used on this machine to connect
to the network.
| Unless otherwise specified (by system property or command-line switch),
the first proxy
| specification in this list marked as active will be used.
|--
proxies
I have a better solution..why dont you pay the people that help for the answer?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a
Hm,
I think you don't understand. The tomcat plugin is under:
org/codehaus/mojo/tomcat-maven-plugin - however for some weird reason maven
started today to look for it under:
org/apache/maven/plugins/maven-tomcat-plugin
eventhough I have not changed anything at all.
Deleting my local repo
Maybe I quoted too much, but it was especially this part:
- The meta-data for the plugin in question has been corrupted in your
local repository
+ Solution: Remove the entire directory for that
plugin in your local repository
I have seen this error on the mailinglist a lot. ;)
Hth,
Nick
So if it is with Nexus, maybe the metadata in your nexus repository is
corrupted. Could you also try to delete the groupid from the nexus
repository?
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Wed, Sep 17, 2008 at 2:18 PM, Nick
Hello all,
I'm using Maven 2 and the m2eclipse Maven integration for Eclipse.
How can I attach a source zip to a jar (let's say jface.jar) without
having to have this source zip locally stored on every developers machine?
Is there a way to let the source zips be managed by Maven too?
Thanks in
Hi Karl,
I had similar problem. Except that simply I refused not to keep releases in
maven repository!
Moreover, I have a special packaging structure and some extra stuffs which
cannot be performed through assemblies.
Therefore I made a maven plugin somewhere similar to maven-ear-plugin, in
Never mind, i figured out what the problem was.
dmcgeown wrote:
Hi, i've come across a problem which i driving me mad. My project is made
up of multiple modules which all inherit from a super pom. In this super
pom i have defined a few properties for version number of the individual
Здравствуйте!
Ваше письмо принято за спам и удалено.
Если вы считаете это ошибкой, то позвоните пожалуйста по телефону
+7(812)578-09-03 в службу поддержки.
===Вашего письмо===
Return-Path: [EMAIL PROTECTED]
Received: from [EMAIL PROTECTED]
by inc.ru (CommuniGate Pro RULES 4.1.8)
There is a parameter useReleaseProfile which controls sources and javadocs
addition to the released artifact :
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-release-plugin/artifactId
version2.0-beta-7/version
configuration
http://maven.apache.org/guides/mini/guide-embedding-m2.html
On 17-Sep-08, at 8:58 AM, Arnaud Bailly wrote:
Brett Porter [EMAIL PROTECTED] writes:
I don't think it's really documented, and is certainly subject to
change
given the nature of trunk.
Your best bet might be to look at the CLI on
The plugin for which the pom is being downloaded is not a custom
plugin. It's something that Maven downloaded automatically. I did use
that command to import other JARs though. So, what would this help?
Are you saying that I should pull out that maven plugin jar out of the
repository and use this
Hello,
I use the maven-eclipse-plugin with the goal install-plugins to
create an eclipse target-platform containing my bundle-dependencies.
Is is also possible to get the sources of these dependencies into this
platform-folder following the same renaming rules like the binary-jars?
regards,
Hi Adrian,
This is not currently implemented.
Please fill a jira enhancement http://jira.codehaus.org/browse/ARCHETYPE
Raphaël
2008/9/17 Adrian Herscu [EMAIL PROTECTED]:
Hi all,
I am integrating some code generator into Maven.
Currently, I have a project archetype and a plugin that wraps
Jason van Zyl [EMAIL PROTECTED] writes:
http://maven.apache.org/guides/mini/guide-embedding-m2.html
Thanks. Thought this information was out of date.
--
OQube software engineering \ génie logiciel
Arnaud Bailly, PhD
\web http://www.oqube.com
To all that have replied -
I tried the exact syntax below and it doesn't work.
Another part to this is we have a parent - child - child pom relation ship,
and the clean target is in the lowest level. Running from the top most level,
clean does not work.
From my last run, here's what I have
Any news when the release of 2.0.10 will happen?
--
View this message in context:
http://n2.nabble.com/2.0.10-release-date--tp1095377p1095377.html
Sent from the maven users mailing list archive at Nabble.com.
-
To
My mojo extends AbstractWarMojo, I want to get all the Project's
dependencies including the transitive denpendecies. So i config the
MavenProject in my mojo like thsi:
/**
* The maven project.
*
* @parameter expression=${project}
* @required
* @readonly
*/
what happens when if ( !project.isExecutionRoot() ) is NOT NULL?
why not go ahead and submit your patch..
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This
Is there a easy way to update pom versions without using the release plugin?
We have several multi projects (parent pom and several children poms). We
keep the version of the parent pom the same as the versions in the children
poms. The release plugin will take care or recursively updating the
Is this what you are looking for?
[1]
/**
* All dependencies that this project has, including transitive ones.
* Contents are lazily populated, so depending on what phases have run
dependencies in some scopes won't be included.
* eg. if only compile phase has run,
Hello,
I have this default profile in my pom.xml
profile
idtestLocal/id
activation
activeByDefaulttrue/activeByDefault
/activation
/profile
This pom has a parent where most of the parameters of this profile are
defined.
So running :
mvn -P testLocal
Well I am using Myeclipse6.5 for running Maven.
I tried to run the pom.xml using the sourceModifications tag but I got
case 1: Unrecognized tag sourceModification error.
Then I commented the sourceModification tag, then I got this error.
Exception in thread main java.lang.NullPointerException
I don't understand why that test (isExecutionRoot()) is even there to begin
with.
Why does that matter? If you're specifying a fileset, isn't it to get rid of
stuff outside of the src/target directories?
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent:
In the process of packaging of wars to one ear. we decide to combine all the
web project into only one war, and package the only one war into ear
package.so we should define a new packaging type called car, and mapping the
car to a new life-cycle, can any one tell me how to define a new packaging
What specifically does it do that you do not like/want it to do?
Perhaps there is a way to suppress it eg dryRun.
Wayne
On Wed, Sep 17, 2008 at 8:21 AM, Scott Carter [EMAIL PROTECTED] wrote:
Is there a easy way to update pom versions without using the release plugin?
We have several multi
You need to add @requiresDependencyResolution test (or compile etc)
-Original Message-
From: 陈思淼 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 10:44 AM
To: Maven Users List
Subject: How to get all dependecy in a mojo ?
My mojo extends AbstractWarMojo, I want to get all
2.0.10 is now 2.1.0M1 and is currently up for a vote, so any day now.
-Original Message-
From: PaulG [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 10:15 AM
To: users@maven.apache.org
Subject: 2.0.10 release date?
Any news when the release of 2.0.10 will happen?
--
View
Brett Porter wrote:
No, not without writing your own plugin to enumerate the available
versions and re-executing Maven or some tool to do so.
This is a good job for an external tool like a CI system and
substituting in the different dependency then re-running the build.
- Brett
This is
[screaming hack]
OK, here's one idea.
Use Hudson.
Use Matrix build
Define one axis as the versions of the first dependency
Define second axis as the versions of the second dependency
etc...
Change your pom...
use a property to define the version of the first dependency
Have your standard
boolean property inside MavenProject
http://www.java2s.com/Open-Source/Java-Document/Build/maven/org/apache/maven/project/MavenProject.java.java-doc.htm
so in your project.xml after the initial project node place the childNode
executionRoot and set to true e.g.
project
Hi,
I have added the following to my pom.xml and it seems to work as
expected:
dependencyManagement
dependencies
dependency
groupIdorg.swinglabs/groupId
artifactIdswingx/artifactId
version0.9.3/version
/dependency
dependency
On Wed, Sep 17, 2008 at 10:32 AM, Johannes Schneider
[EMAIL PROTECTED] wrote:
Those dependencies are necessary for the tests to run successfully. And
I want them to be optional for the main sources.
I have added them two times.
What do you think about this? Is this a mistake? What is the
Ok thanks, will remove it.
They shouldn't be added twice.
Simply using test scope should do what you want... it will be on the
classpath for compiling and tests, and will not be be transitive.
-
To unsubscribe, e-mail:
We have projects used Maven + MyEclipse in the past. There is a new project we
want to use GWT. I am having trouble integrating the 3. There is a GWT maven
plugin and I tried out with the simplesample project from google.
The issues:
1) GWT compile seems to generate java classes in the source
Well I want the updated versions, i.e. dropping snapshot to be on the trunk
with no other side effects. The release plugin usually puts those versions
into a tag and then ups the version number on the trunk.
On Wed, Sep 17, 2008 at 11:47 AM, Wayne Fay [EMAIL PROTECTED] wrote:
What specifically
Brian
I'm a bit confused, does that mean there is no 2.0.10 release? I read your
blog on the version number changes and it seemed to me there was still going
to be a release 2.0.10 with bug fixes am I mistaken?
Brian Fox wrote:
2.0.10 is now 2.1.0M1 and is currently up for a vote, so any day
Not easily. Additional plugin configuration can be used to track the
purpose of the execution. A better alternative is to split the
functionality to bind into the appropriate phases.
Can you outline your use case?
- Brett
2008/9/17 Tibor Kiss [EMAIL PROTECTED]:
Hi.
I would like to know
Sorry, I assumed you were looking for the conclusion to the RCs
previously sent out as 2.0.10. Yes there will be a release of 2.0.10
with only bug fixes, but it hasn't started the process yet so it's still
several weeks away.
If 2.1.0-M1 works for you, then I would encourage using it when it's
Hi,
My junit tests work if I prefix test method names with the word test.
If I don't do that and rely on the @Test annotation then the test
methods are not executed.
I have this in my POM:
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version4.5/version
If you are using the Mojo project GWT plugin (
mojo.codehaus.org/gwt-maven-plugin) I can help you as I maintain it.
Nicolas.
2008/9/17 Lam, Hayward [EMAIL PROTECTED]
We have projects used Maven + MyEclipse in the past. There is a new project
we want to use GWT. I am having trouble integrating
Done.
http://jira.codehaus.org/browse/ARCHETYPE-205
Raphaël Piéroni wrote:
Hi Adrian,
This is not currently implemented.
Please fill a jira enhancement http://jira.codehaus.org/browse/ARCHETYPE
Raphaël
2008/9/17 Adrian Herscu [EMAIL PROTECTED]:
Hi all,
I am integrating some code generator
Actually, it must be using JUnit 4 because I have a test suite
completely configured with annotations. Also, when one of my unit tests
throws an untrapped exception I see this in the stack tract:
java.lang.NullPointerException
at
... notice Spring Framework is doing something. My
It turns out I have to tell Spring that it is using JUnit 4 by
annotating my class:
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={file:src/test/resources/META-INF/applicationContext.xml})
public class SettingsDAOTest extends AbstractJpaTests {
Before the
For anyone finding this thread on search engines in the future, I have
started a new thread on the Spring Forums:
http://forum.springframework.org/showthread.php?t=60442
Ryan de Laplante wrote:
It turns out I have to tell Spring that it is using JUnit 4 by
annotating my class:
Hi,
In our company lot of people complains that our maven 2 builds are too long.
We use multi modules and most of the time we only need to build 1 or 2
modules not all of them.
So a solution could be to create a Maven 2 plugin that will check if a
source file has changed in the module. If no
This really needs the support of other plugins to check if they need
to run - you can't know a generic way to skip things. For that reason
we haven't exposed a programmatic way to do that.
I would recommend focusing on what the performance bottlenecks are and
improving them as much as possible.
Also, if only few modules see activity, wouldn't it be easy to just release
and version the stable parts separately, rather than always building
everything?
Kalle
On Wed, Sep 17, 2008 at 1:59 PM, Brett Porter [EMAIL PROTECTED]wrote:
This really needs the support of other plugins to check if
Hi folks,
I'm trying to do something like this:
?xml version=1.0 encoding=UTF-8?
project
modelVersion4.0.0/modelVersion
parent
groupIdmygroup/groupId
artifactIdmyparentartifact/artifactId
version${version}/version
/parent
artifactIdmyartifact/artifactId
/project
and launch maven like
On Thu, Sep 18, 2008 at 6:38 AM, Kalle Korhonen
[EMAIL PROTECTED] wrote:
Also, if only few modules see activity, wouldn't it be easy to just release
and version the stable parts separately, rather than always building
everything?
Your development process should be:
* Build in your IDE mostly -
The Maven team is pleased to announce the release of the Maven
Enforcer Plugin, version 1.0-alpha-4
The Enforcer plugin provides goals to control certain environmental
constraints such as Maven version, JDK version and OS family along
with many more standard rules and user created rules.
Hello Marvin,
I'm experiencing similar issue with Maven in large multi-module projects,
especially if they are of 2 depth and one wants to apply same version to
several modules of same maven project. Currently I have to go through all of
the pom's and set version manually, with risk of making a
I got the expect result.I use mvn compile myplugin:mojo to run my own task,
instead of mvn myplugin:mojo. It works.
Is it because the compile phase to load the dependency graph of the
project, even if I use @requiresDependencyResolution test it doesn't work.
2008/9/17 Brian E. Fox [EMAIL
I will be out of the office starting 15.09.2008 and will not return until
26.09.2008. I will respond to your message when I return.
In urgent cases please contact Dirk Dinger, phone: +49 (0) 6227 385 144,
e-mail: [EMAIL PROTECTED]
Ich bin vom 15.09.2008 bis 26.09.2008 außer Haus. Nach meiner
Here is a snippet from something I'm currently working on. It can see the
transitive dependencies with getArtifacts().
in the mojo:
* @goal add-externalized-properties
* @phase process-resources
* @requiresDependencyResolution compile
*/
public class AddExternalizedPropertiesMojo extends
I am able to use this goal succesfully. Meaning I am able to hot deploy
to my server via WTP. However when I try to set the wtpContextName my
target/eclipseEAR/application.xml file never pick up the new context root.
I do see in my .Settings\org.eclipse.wst.common.component file the
correct
Yeah, this is truly the solution - why not branch/aggregate the bits you
need? Set up nexus or archiva and have your own internal repository?
-Original Message-
From: Kalle Korhonen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 5:09 PM
To: Maven Users List
Subject: Re:
The first time I attempt to do a release each day, maven checks for
updates, and it stalls for about 6 minutes for each plugin:
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] org.apache.maven.plugins: checking for updates from
maven.proxy.radius
stall for 6 minutes
That seems screwy and unnecessary.
I still don't understand the relevance of this property/test. Can someone
highlight it for me?
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 1:24 PM
To: Maven Users List; [EMAIL PROTECTED]
it seems your maven tries to look for latest version of release plugin.
You will need to lock down your release plugin's version
but having a 5 min delay looking for release plugin is way too much.
-D
On Wed, Sep 17, 2008 at 11:39 AM, Topher Johnson
[EMAIL PROTECTED] wrote:
The first time I
I'm trying to clarify what is the purpose of the Maven descriptor, and
what systems make use of it, and if there is any point in working on
this issue we have with the pom.xml that is added to our generated
artifacts.
Our projects are set up to have their version numbers passed in via
the build
82 matches
Mail list logo