This is a great approach, and I do see the ear-plugin package twice.
However, after server testing, I c the filters in the profile doesn't get to
processed, that is, the packaging doesn't go back to resource level redo
filtering, which is I need.
Do I have some key concept missing?
Tim Kettl
Dear members,
I have the following directory structure:
project
--module1
pom.xml
--module2
pom.xml
--module3
pom.xml
pom.xml
when I run mvn eclipse:eclipse it generates eclipse files for each submodule.
Looking into the documentation of this plugins:
http://maven.apache.org/plugins
The URL that should be browsable from the UI with the out-of-the-box
installation is: http://:8081/artifactory
I'd also suggest you use 1.2.5-rc1, instead of rc-0.
You might want to take this to the artifactory-users list...
charliec wrote:
>
> Hello,
> I downloaded artifactory and executed th
Hi,
Trying out the XML-RPC client from the trunk.
When using XML-RPC API getAllProjectGroupsWithProjects and getProjects,
the projects returned do not have al fields set. Parent, dependencies,
developers, notifiers are null.
Not sure what it should be: Either this is a bug and these fields should
btw, if I start jboss manually, then run the build, the application gets
deployed fine.
On 10/23/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> I have the following declaration for jboss:
>
>
> org.codehaus.mojo
> jboss-maven-plugin
>
I have the following declaration for jboss:
org.codehaus.mojo
jboss-maven-plugin
${env.JBOSS_HOME}
8080
start-server
I think the ultimate goal is that any artifact should be able to be checked
out and built without the need to install anything...
that provides the least cost entry point for a new developer to being able to
participate in a systems development...
look at the way the xorg project has broken its
That's not the same case : testng has many jars with various classifier,
depending on the jdk used to build it from sources. They all share the same
POM
A maven artifact with a classifier always has the same POM as the
no-classifier artifact.
You will need to create multiple VERSIONS on the jar
Manually - you'll have to go in there and delete by hand.
I'm unaware of a commandline "undeploy" command (but I'm a maven newbie
as well).
-Original Message-
From: Jean-Philippe Steinmetz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 3:59 PM
To: 'Maven Users List'
Subject:
Yes, that's what I'm saying. This is how testng (and others) do it:
http://repo1.maven.org/maven2/org/testng/testng/5.5/
Wayne
On 10/23/07, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
> Do I understand it correctly that you saying that I need to create 2 upload
> bundles for swingx, one for jdk 1.5 a
Thanks for the reply. So how do I clean the local repository?
Jean-Philippe
> -Original Message-
> From: EJ Ciramella [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 23, 2007 11:50 AM
> To: Maven Users List
> Subject: RE: Dependency and build problems
>
> Mvn clean will not delete an
Do I understand it correctly that you saying that I need to create 2 upload
bundles for swingx, one for jdk 1.5 and one for jdk 1.6?
They both will have the exact same code, only different dependencies?
regards,
Wim
2007/10/23, Wayne Fay <[EMAIL PROTECTED]>:
>
> Most people solve these kinds o
You would need the jars to have the associated classifier too...
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 3:11 PM
To: Maven Users List
Subject: Re: declare dependencies depending on jdk version
Most people solve these kinds of problems
I see your point.
What I ended up doing is converting my version ranges to [3.2.0-!,
4.4.0]. This seems to be working properly. Can you think of anything
that might break after I have done this?
Roshan
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 2
Hello,
I downloaded artifactory and executed the batch script artifactory.bat to
start it. I added the following to the settings.xml file:
artifactory
*
http://:8081/artifactory/repo
Artifactory
However, when I execute Maven, I still receive the fo
Most people solve these kinds of problems by simply creating 2 (or
more) poms that have different classifiers to specify the difference,
eg:
swingx-1.0.pom
swingx-1.0-jdk4.pom
swingx-1.0-jdk5.pom
swingx-1.0-jdk6.pom
Wayne
On 10/23/07, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm looking
Hi,
I'm looking into putting swingx in the central repo. As they do not use
maven to build, I need to come up with a good pom. They have 3 dependencies.
Two of them are only needed when running under jdk 1.5. How can I declare
this in the pom.xml?
Suppose this is a part of the pom:
s
On 10/23/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> I'll create a page for the site with your script. you'll can review it?
Sure, just let me know where and when.
Mvn clean will not delete anything out of your local repository.
-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 2:45 PM
To: Maven Users List
Subject: Re: Dependency and build problems
Jean-Philippe Steinmetz wrote:
> Hi Everyone,
>
>
Jean-Philippe Steinmetz wrote:
Hi Everyone,
I have two projects i'm developing with maven. Project A pulls in the other
(project B) as a dependency. I've been having problems with project A
getting the most recent build of project B. I have tried using mvn clean and
it does not appear to be so
ok,
i will try that. Many thanks for your help.
beta 4 i will install when available.
- Jens
ok.
In
apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml,
you can set true to false in
the MailContinuumNotifier component.
In 1.1-beta-4 (that will be available in few days),
All the links still look broken. Is anything happening here?
Jason Dillon wrote:
>
> Hiya, just a quick note...
>
> I've started to whip up a simple plugin to interact with an Atlassian
> Confluence server from Maven 2. I've merged in my HokeyPokey cli
> tool and put it all up in the moj
Hi Everyone,
I have two projects i'm developing with maven. Project A pulls in the other
(project B) as a dependency. I've been having problems with project A
getting the most recent build of project B. I have tried using mvn clean and
it does not appear to be solving the issue. Also, a recent ch
Per the "Dependency Mediation and Conflict Resolution" wiki page, this
is the correct behavior...
http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution
Default Version comparison definition
The default specification should be composed as follows:
..([ - ] | [ - ])
Fo
Hi all, I'm having problems with the repository-purge not working with
my snapshot repository. I'm running the beta-3-snapshot version on
Tomcat 6.0.14. My snapshot repository configuration is set as:
Delete Released Snapshots: False
Repository Purge By Days Older Than: 2
Repository Purge By Ret
Another way to think of this is you really shouldn't have many "jar
only" modules, no?
If you're using something like CC, then each of these "jar only" modules
would be separate projects. The final application (ear/war/w/e) will
depend on these other modules. When it comes time to build the
ear/
Hello,
i m trying to do same with artifactory.. worked fine so far.. i recommend u
have a look at that
regards
marco
On 10/23/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Simply putting an HTTP server on top of your personal .m2 directory
> (local repo cache) is not sufficient. The metadata in
Hilco,
I'll create a page for the site with your script. you'll can review it?
Emmanuel
Hilco Wijbenga a écrit :
Hi Vanja,
I ran into the same problem.
On 10/23/07, Vanja Petreski <[EMAIL PROTECTED]> wrote:
ln -s /opt/continuum-1.1-beta-3/bin/linux-x86-32/run.sh
/etc/init.d/continuum
The
ok.
In apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml, you can set
true to false in the
MailContinuumNotifier component.
In 1.1-beta-4 (that will be available in few days), you'll can configure more
things.
Emmanuel
Mac-Systems a écrit :
Version is 1.1.beta-3
-Jens
Did you try rebuilding with -X -e?
Any additional/helpful output from those?
-Original Message-
From: Julien Martin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 12:32 PM
To: Maven Users List
Subject: Big bug in maven-war-plugin??
Hello,
Here is what I get:
[INFO] Scanning
Hello,
I use the following goal:
openjpa:enhance
and I get this when I try to run the goal from netbeans.
The OpenJPA Enhancer tool exited with a non-null exit code.
Can anyone please help? It seems maven cannot locate the persitence.xmlfile.
This is both a netbeans and maven related problem so I p
Tim Kettler wrote:
>
> The default update-checking frequency for artifacts is once per day. You
> can configure this on a per repository basis in your repository
> definitions with the tag. See here [1] for an description.
>
sorry for being too unprecise (i forgot to copy this from the other
Hi,
With version ranges, I am finding that if I have a version range of
[3.3.0, 4.4.0], it will not pick up my dependency with version
3.3.0-2007. Basically it is saying that 3.3.0-2007 is < 3.3.0. Any
ideas?
Roshan
Hello,
Here is what I get:
[INFO] Scanning for projects...
[INFO]
[INFO] Building CdR
[INFO]task-segment: [install]
[INFO]
[INFO] [resources
I've been searching the groups, the web, and the doc and I've not been able
to find a solution to this. Any help you can offer is much appreciated.
I have successfully executed half of a release:prepare. The version numbers
in my all of my POMs were successfully updated and maven successfully
c
Ah, and I forgot to tell you I'm using Continuum 1.0.3 ..
Ionut S <[EMAIL PROTECTED]> wrote: Hi guys,
I know this issue has been already discussed, but our continuum just had it and
I'm stuck with this problem now..
The error I'm getting is:
SQL Exception: DELETE on table 'PROJECTNOTIFIER' cau
Simply putting an HTTP server on top of your personal .m2 directory
(local repo cache) is not sufficient. The metadata in a real Maven
repo is different than what is in your private local repo cache.
Please look at Archiva, Proximity, Artifactory, etc for a "real" Maven
repo solution.
Wayne
On 1
Hi guys,
I know this issue has been already discussed, but our continuum just had it and
I'm stuck with this problem now..
The error I'm getting is:
SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign
key constraint 'PROJECT_NOTIRN_FK2' for key (3825). The statement
Dear members,
Concerning to the original problem, I think the solution could come from:
org.apache.maven.plugins
maven-surefire-plugin
once
java.class.path
${maven.test.classpath};
Thanks Olivier et Steven for the links.
We also had an experiment and had some problem to filtering the site file.
We will try again with these new inputs.
Rémy
Hello,
I'm trying to setup a shared repository that mirrors the central repository
so other team members can download from this repository instead of accessing
the central. I've created a Virtaul Directory in IIS that points to my .m2
repository. I can access this repostory on another machine v
You've got to start at the beginning. Go to the simplest jar that has
the fewest dependencies, build it, and install it (mvn install).
Then go to the next one (that probably has a dependency on the first
one) and do the same. Rinse and repeat until all jars build and are
installed.
If these are a
Plugins specified in parent poms are automatically inherited by
children, thus they will be executed in the parent as well as the
children.
If you don't want them to execute in the children, you should specify
false in the plugin node.
The tag tells Maven that you want it to build not only the
p
David schrieb:
> Dear Tim,
>
> It works for me under eclipse, but not under maven from command line. On my
> code what I use is to get the system property using:
>
> System.getProperty("java.class.path");
The property seems to contain the classpath used for the forked surefire
execution and doe
Hi,
aldana schrieb:
> hi already started a thread, see
> http://www.nabble.com/stuck-state-when-downloading-snapshots-tf4672399s177.html
> where i thought i did a configuration error. but now i really think i am
> heading to a bug, which is very critical and severe (in fact it makes
> working with
the problem is I can't make it to be jsfweb aplication because the
FacesContextFactory doesn't exists for this... tomorrow will be another day
for everyone, lots of thanks for helping...
Tim Kettler wrote:
>
> That's a strange error. Can you provide a testproject producing this
> error. Then I
That's a strange error. Can you provide a testproject producing this
error. Then I can try on my box and try to see what's causing this.
rgarciafernandez schrieb:
> this is de debug mode:
>
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.surefire:surefire-providers::2.3 for project:
> null:su
Hi All,
I am new to maven. I want to use it to get some kind of versioning system
going for our multi-project application.
So far everything went smooth, but now i'm getting to the point where i want
to build jars for single projects which depend on other projects. My
question is:
how do i declar
this is de debug mode:
[DEBUG] Retrieving parent-POM:
org.apache.maven.surefire:surefire-providers::2.3 for project:
null:surefire-junit:jar:2.3 from the repository.
[DEBUG] org.apache.maven.surefire:surefire-junit:jar:2.3 (selected for
null)
[DEBUG] org.apache.maven.surefire:surefire-api:j
hi already started a thread, see
http://www.nabble.com/stuck-state-when-downloading-snapshots-tf4672399s177.html
where i thought i did a configuration error. but now i really think i am
heading to a bug, which is very critical and severe (in fact it makes
working with snapshots impossible!).
afte
I hope you got the info you wanted. The page filtering is only available
in the 2.0-beta-6-SNAPSHOT plugin. See here, under "filtering":
http://maven.apache.org/plugins/maven-site-plugin/usage.html
I have also found that certain values will not filter properly into the
site file. It's too convolu
The log from your previous mail contains this:
[ERROR] reactor-execute : D:\mis cosas\workspace\inventory
'mis cosas' <- contains a space. If that's not the root of the problem,
try running maven with '-e' (enable output of error stacktraces) or -X
(enable debug output) and see if that sheds mo
To run "mvn site..." you should modify the build definition.
The best way to view generated pages is to deploy them to an http server with
the site-deploy goal that use the distributionManagement in your POM
Emmanuel
ichasco a écrit :
Ok, it´s works!! I always used the option upload pom.xml an
Dear Tim,
It works for me under eclipse, but not under maven from command line. On my
code what I use is to get the system property using:
System.getProperty("java.class.path");
Are you ussing Maven 1.x?, becuase on the following link:
http://maven.apache.org/guides/mini/guide-maven-classloadin
I have no spaces in the path, or i don´t undestand u... sorry but we can't
fix it :S
basedirectory: ${project_loc}
goals: package
and th pom:
war
0.0.1
maven-compiler-plugin
1.5
1.5
Tim Kettler wrote:
>
> Hi,
>
>
Ok, it´s works!! I always used the option upload pom.xml and I didn´t take
care that it would works with the url option.
I have just had a new question, if for example i want to do: mvn site... how
can i do to copy the files that this action makes into ther repository
https://.../svn/projectA/si
Well, one reason could be that I haven't found a defect related to suite
support for either TestNG or Junit.
Does one exist already or is one needed? I'm guessing they should be
separate defects?
-Original Message-
From: Wim Deblauwe [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 21,
Hi All,
I have multi module application and I am calling ANT for build and Maven for
site generation.
Parent
->Module 1 (common)
->Module 2 (web)
Each module has its own build.xml.
I am using maven ANT run plugin in my build tag of parent POM. (Created
three POM, one in parent a
David schrieb:
> Dear members,
>
> I have a method that find a file on classpath and I want to check that it
> works fine. My testing class works fine
> under Eclipse, for example but under mave it doesn't work properly. The
> reason is that during the testing process I
> assume there is at leas
ok, so you go to the "Add Maven 2.O.X" page, add the url to your pom
"https:///svn/projectA/pom.xml"; and submit.
The project is now added with a default build definition ("clean install"
goals) that you'll can modify.
Emmanuel
ichasco a écrit :
Sorry,
It is a maven 2 project which i
We don't apply patches on 1.0.3.
1.1 beta 3 is already stable (we'll release a last one in few days)
Emmanuel
Banck, Arent-Jan a écrit :
Notifiers are indeed missing in ProjectReader. After adding the code I found
that calling continuum.getProjects does not set the developers and notifiers.
I want to dynamically generate some js and JSPs just prior to wrapping
up the WAR.
There's been talk of a prepare-package phase for a while, has this ever
got anywhere?
TIA
John
Eurobase International Limited and its subsidiaries (Eurobase) are unable to
exercise control over the con
Hi,
try to run it from a directory without spaces in the path.
-Tim
rgarciafernandez schrieb:
> [INFO] Scanning for projects...
> [INFO]
>
> [INFO] Building Unnamed - inventory:inventory:war:0.0.1
> [INFO]task-segme
Notifiers are indeed missing in ProjectReader. After adding the code I found
that calling continuum.getProjects does not set the developers and notifiers.
When calling continuum.getProject for an individual project, these are set as
expected. Looks like this is a bug in getProjects.
Stepping t
[INFO] Scanning for projects...
[INFO]
[INFO] Building Unnamed - inventory:inventory:war:0.0.1
[INFO]task-segment: [package]
[INFO]
[INFO] r
Not currently. The wagons don't support that operation IIRC.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu
Sent: Tuesday, October 23, 2007 6:57 AM
To: users@maven.apache.org
Subject: [m2] is it possible to clean the target site deployment directory?
Hi
i still could not solve my snapshot problem, now with a slight different
issue: when having downloaded a snapshot and there must be another update
done (for the library changed), maven does not lookup the repository where
the snapshot is sitting. when deleting the whole snapshot folder a fresh
loo
Pom? in the singular? Checkin of pom breaks another develper?
I have a team of 9 developers, we have over 113 artifacts... i.e. poms with
independent versions. we must have over 4000 tags with another 20 live
branches (i.e. 20 other version of some of those artifacts)
10 or so of those are aggr
Hi all,
During the deployment of a Maven generated site the old site is still in
place. Is it possible to configure Maven to delete the old site before
the deployment of the new one?
Adrian.
-
To unsubscribe, e-mail: [EMAIL
Dear members,
I have a method that find a file on classpath and I want to check that it works
fine. My testing class works fine under Eclipse, for example but under mave it
doesn't work properly. The reason is that during the testing process I assume
there is at least a directory location on cl
Here :
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html
--
Olivier
-Message d'origine-
De : Rémy Sanlaville [mailto:[EMAIL PROTECTED]
Envoyé : mardi 23 octobre 2007 11:12
À : Maven Users List
Objet : Re: Site Plugin 2.0-beta-6-SNAPSHOT ".vm" filtering fai
Really nice, I will use it as soon as possible.
I think this new feature is very useful and lot of people ask for it.
I am not sure that it is very well known.
It will be great to upgrade the maven-site-plugin website to indicate this
filtering feature.
Thanks,
Rémy
Le 23/10/07, LAMY Olivier <[
Hi !
I'm using eclipse-plugin under maven 1.x, and I'd like my target dirs to be
excluded from package view and also from Type and resources Search, to avoid
editing sources like jsp in to target. Actually, I thing output folders
should be automatically hidden by eclipe, since it's not happening t
Le Monday 22 October 2007 20:03:36 Siegmann Daniel, NY, vous avez écrit :
> > Is there a way to tell maven to download source jars by
> > default? I didn't see anything in the pom or settings model
> > to do this. I know I can download sources using the eclipse
> > plugin or the dependency plugin
Work in last snapshot.
I have just try with this content in site.xml :
http://maven.apache.org/${currentVersion}"/>
http://maven.apache.org/${cliVar}"/>
In the pom :
2.0.7
${cliVar}
In my cli : mvn clean site -DcliVar=test
Generated content :
http://mave
I checked out the last version I could find in the m2eclipse project:
http://svn.codehaus.org/m2eclipse/maven-pst
That's the one I'm using with a few modifications to the POM in order to
build against Maven 2.0.7 and Eclipse 3.3.1
Now here are the error messages that I get:
[INFO]
--
I just included your code (backported to jsunit 2.1) in my jsUnitMojo to get
the expected report.
I also requested for upload of the required dependencies on central.
2007/10/22, nicolas de loof <[EMAIL PROTECTED]>:
>
> I also got no reply to my request. jsunit (2.1) depends on jetty 4.2. I've
>
Hi Sebastien,
I know I once made it work, but I remember I had to download some more
recent code than the one which is mentioned on the article. I'd argue
that the authors of the article did a great job making me understand
what the problem is after all and explaining why they made the design
Hi Olivier,
Just renaming the page is enough.
> You have sample here :
> https://svn.apache.org/repos/asf/maven/site/trunk/src/site/apt/ file
> download.apt.vm
> https://svn.apache.org/repos/asf/maven/site/trunk/src/site/xdoc/ file
> index.xml.vm
>
Thanks, I will try.
What about the site.xml file
I'm trying to apply the instructions given in the Eclipse Corner article (
http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html)
in order to build several Eclipse plugins using Maven 2.0.4.
In the first part of the article there is something about a Deploy Mojo tha
Hi,
Just renaming the page is enough.
You have sample here :
https://svn.apache.org/repos/asf/maven/site/trunk/src/site/apt/ file
download.apt.vm
https://svn.apache.org/repos/asf/maven/site/trunk/src/site/xdoc/ file
index.xml.vm
--
Olivier
-Message d'origine-
De : Rémy Sanlaville [m
Your code is for jsUnit 2.2. My plugin uses jsunit 2.1 that is easier to
embedd. I'll consider upgrading to 2.2 when a final version is released and
when all jsunit dependencies are resolved.
About the hardcoded path, jsUnit needs the executable path to the browser.
The exepcted plugin configurati
Hi Steven,
I am also interested in filtering with the site plugin.
I didn't know that it was possible by renaming the page as mypage.xml.vm.
Is it enough to just renaming the page or do we have to do more ?
Can you post an example or a link for this ?
I am also interested in filtering the site.x
Thanks Michael for the mental aid and please be leniant to my slow reception.
I am working in the area of OO programmer since 91 (and used ant as few as
possible because of the reason you hint at), I read a lot of use and abuse
and it seems to me the term OO is often a bit dilapidated, isn't it.
84 matches
Mail list logo