I was able to get this to work by modifying the sure-fire plugin source. I
updated AbstractDirectoryTestSuite.collectTests() to be protected. And I
over-rode that method in JUnit4DirectoryTestSuite to list all the jars from
the class path and search for unit tests within them adding the discovered
For a tomcat app I put them in
src/main/webapp/WEB-INF (web.xml and spring config)
src/main/webapp/WEB-INF/views (with spring's view resolver configured to use
this)
src/main/webapp/images
src/main/webapp/css
Whatever is in
src/main/resources
will end up in
tomcat/webapps//WEB-INF/classes
w
On Fri, Mar 27, 2009 at 12:23 PM, Barrie Treloar wrote:
> On Fri, Mar 27, 2009 at 12:19 PM, Barrie Treloar wrote:
>> Can you confirm that
>> src/main/aspect
>> should be
>> including="**/*.java|**/*.aj"
>> instead of just
>> including="**/*.aj"
>>
>> Thanks
>>
>
> Ok after googling, I can find
Running the full lifecycle is a fundamental of Maven, so this type of
feature request is unlikely to gain traction. You should rather look at
your build configuration to solve the problem, or as mentioned use a
repo man that can help you out.
-Original Message-
From: Jim McCaskey [mailto:j
Thanks for pointing this out. It's actually a misconfig in the proxy rewrite
rules. The /snapshots is actually a proxy of
http://repository.apache.org/content/groups/snapshots and it looks like the
reverse proxy rules are bunging up the url. I'll have to polish my rewrite-fu
to get them worked
On Fri, Mar 27, 2009 at 12:19 PM, Barrie Treloar wrote:
> Can you confirm that
> src/main/aspect
> should be
> including="**/*.java|**/*.aj"
> instead of just
> including="**/*.aj"
>
> Thanks
>
Ok after googling, I can find more than one project that has java
files in src/main/aspect.
Will go
Can you confirm that
src/main/aspect
should be
including="**/*.java|**/*.aj"
instead of just
including="**/*.aj"
Thanks
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h..
I'm confused about why transitive provided dependencies shouldn't be included
at compile time.
I have a project, "myapp-web", which defines a custom Servlet, MyServlet.
MyServlet extends a BaseServlet from "framework". BaseServlet extends a
Servlet class from "thirdparty", ThirdPartyServlet. T
are you building a war or an ear
if ear which AppServer will you deploy to?
?
Martin
__
Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, s
Hello,
In a multi-module maven project, a webapp module has java, resources
and WEB-INF folders. In which folder should jsp, css, web.xml, spring
XML configurations and other files go?
--
Thank you,
Sammy
-
To unsubscribe,
Did you write maven plugin to generate sources under target/generate-sources?
If so you can maven plugin api to add these extra source directories to
project.
Jean-Marc Vanel-2 wrote:
>
> Hi all
>
> We have a projet (
> http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/pom.xm
1.3.8 isn't in the central repo :
http://repo1.maven.org/maven2/com/google/code/findbugs/findbugs/
Arnaud
On Thu, Mar 26, 2009 at 3:43 PM, TM wrote:
>
> -1
>
> Background: According to http://jira.codehaus.org/browse/MFINDBUGS-66, the
> plugin integrates Findbugs version 1.3.6. Meanwhile, vers
Added http://jira.codehaus.org/browse/MECLIPSE-538.
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
Thanks for your replies, Brett and Stephen!
I was able to use the @RunWith with a Suite subclass that would search for
unit tests within jars in the classpath. However, the problem with that
approach is that all the unit tests run within the same JVM. Whereas we want
all the unit tests to be forke
Hi,
It's possible with the javasvn implementation. This has been moved
recently from the asf repository due to license issue.
Now it's here : http://code.google.com/p/maven-scm-provider-svnjava/
It will be released after the maven-scm release.
HTH,
--
Olivier
2009/3/26 Chris :
> I'm trying to con
I'm trying to configure my pom to use an . We use Subversion. When
I run it, I get the error "'svn' is not recognized as an internal or
external command, operable program or batch file.". I take it this means
that svn.exe needs to be on the path, and the plugin is shelling out to
access it.
T
glad it works out for you
-Dan
On Thu, Mar 26, 2009 at 12:16 PM, Jim McCaskey
wrote:
> All,
>
> I finally got it. I was missing the temp directory -Djava.io.tmpdir=target.
>
> mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge-maven-repos
> -Dwagon.source=file://e:\dir\staging-repo
>
> [INFO] Error deploying artifact: Failed to transfer file:
> http://fpsvn00
> 1.na.coglobal.com:8081/nexus/content/repositories/releases/com/co/maven/co-m
> aven/1.0/co-maven-1.0.pom. Return code is: 401
HTTP Error 401 is... Unauthorized, right? Solve that, and deploy will
proceed. Check f
>
> Yes, but AppB will still reference Foo 2.1-SNAPSHOT. Therein
> lies the problem.
>
> Trevor
I guess I don't see that as a problem. Bob wants to merge in the latest
version from trunk. If the version has been upped since Bob made his
branch, he would need to know that. That is just the natur
Hi,
I am running maven perform and get the following error.
I am the Nexus Administrator and I have commented out in
settings.xml in my local repo. What could be wrong here ? I want to use the
release plugin only for deployments.
[ERROR] BUILD ERROR
[INFO]
-
All,
I finally got it. I was missing the temp directory -Djava.io.tmpdir=target.
mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge-maven-repos
-Dwagon.source=file://e:\dir\staging-repo
-Dwagon.target=file://e:\dir\staging-repo1 -Djava.io.tmpdir=target
Needing that is not listed her
Hi Dan,
Thanks again for the response. I tried a few variations on that theme:
mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge-maven-repos
-Dwagon.source=file:///e:/dir/staging-repo
-Dwagon.target=file:///e:/dir/staging-repo1
mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge
On Mar 26, 2009, at 12:52 PM, Todd Thiessen wrote:
I don't think so. When Bob merges the trunk to branch he will have
both
Alice's changes and his. When he does an install, the 2.2-SNAPSHOT
version will contain both his and Alices changes for all modules.
Yes, but AppB will still reference
yes myface has this plugin too to serve what they need
On Thu, Mar 26, 2009 at 11:31 AM, Dan Tran wrote:
> try file:///e:/dir/staging-repo
>
> -D
>
> On Thu, Mar 26, 2009 at 11:23 AM, Jim McCaskey
> wrote:
>> Hi Dan,
>>
>> Thanks a lot for the response. I took a look at it and it definitely see
try file:///e:/dir/staging-repo
-D
On Thu, Mar 26, 2009 at 11:23 AM, Jim McCaskey
wrote:
> Hi Dan,
>
> Thanks a lot for the response. I took a look at it and it definitely seems
> more full featured than the staging plugin, but I'm still having trouble with
> it. If I formulate a command lik
Hi Dan,
Thanks a lot for the response. I took a look at it and it definitely seems
more full featured than the staging plugin, but I'm still having trouble with
it. If I formulate a command like this:
mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge-maven-repos
-Dwagon.source=file:/
Try this:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
fachhoch wrote:
I did not understand this, please explain what should I change in pom to do
this ?
here is my jetty maven plugin
org.mortbay.jetty
maven-jetty
Yes he does need to know that the release has changed. This is something
you would need to be aware of when you do the merge.
---
Todd Thiessen
> -Original Message-
> From: Thiessen, Todd (BVW:9T16)
> Sent: Thursday, March 26, 2009 12:53 PM
> To: Maven Users List
> Subject: RE: Possibl
try wagon-maven-plugin with maven 2.1.0 to see it works out for you.
It has a port of maven-stage-plugin with lots of fixes.
-D
On Thu, Mar 26, 2009 at 8:36 AM, Jim McCaskey
wrote:
> Hello all,
>
> I am attempting to use the Maven stage plugin and running into a break. I
> have tried this usin
I don't think so. When Bob merges the trunk to branch he will have both
Alice's changes and his. When he does an install, the 2.2-SNAPSHOT
version will contain both his and Alices changes for all modules.
---
Todd Thiessen
> -Original Message-
> From: Trevor Harmon [mailto:tre...@vocar
I'm trying to build a simple WebStart jar for deployment, and I've
found that the Assembly plugin's capability of building an uber-jar
with dependencies will work fine for our needs. I need to sign it
since the app requires all permissions, but I'm having a little
trouble getting the jar si
On Mar 25, 2009, at 5:07 PM, Sean Hennessy wrote:
Evidence to the contrary that Bob and Alice are working
independently is they share development on single artifact Foo.
They're working independently on AppA and AppB, but they're sharing
the work of developing Foo.
Ensure Alice and Bob co
On Mar 25, 2009, at 5:28 PM, Brian E. Fox wrote:
Do we assume that bob is unable to see that the version he currently
works on and compiles, tests, installs and maybe deploys has
2.2-snapshot written all over it?
Yes. Maven generates a lot of output to the console, and it's easy to
ignore al
On Mar 25, 2009, at 3:29 PM, Todd Thiessen wrote:
Bob should work on a branch. IMHO if any work is taking a long time
and
you can't commit it to trunk in a timely manner, then do that work
on a
branch so you can commit often and still take specific control over
when
Alice's changes get mer
On Mar 25, 2009, at 3:26 PM, Martin Gainty wrote:
someone is assigned mainline of code and someone-else assigned a
branch
(this happens when core is heavily customised for a customer's needs
where the user-specific mods will be integrated by merge-branch
later on)
This does not solve Bob's
On Mar 25, 2009, at 10:26 PM, Martin Gainty wrote:
The only way to accomplish this is called version control
I thought it was clear in the first paragraph that version control is
involved:
"They have both checked out Foo's trunk and are regularly committing
changes to it."
There are se
http://maven.apache.org/plugins/maven-invoker-plugin/examples/post-build-scr
ipt.html
-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Kristian Rink
Sent: Thursday, March 26, 2009 10:38 AM
To: users@maven.apache.org
Subject: multi-module pom: "do something after buil
> If it doesn't make sense, what can I do (other than : created a project
> having a dependency on the to-be-tested project...)
This sounds like the most sane and "standard" solution to the problem,
given what you've said above. Or you could try binding an execution of
m-jar-p to a phase earlier t
Hello all,
I am attempting to use the Maven stage plugin and running into a break. I have
tried this using Maven 2.0.7, 2.0.8, 2.0.9, 2.0.10, and 2.1.0. I'm also using
the only stage plugin available which appears to be 1.0-alpha-1. My guess is
I'm doing something wrong, but for the life of m
This will just copy the xhtml file as a resource, so you can link it statically.
With Doxia 1.1 you can have the xhtml source file processed by the site renderer,
so it gets really integrated in the site, with navigation, menus, etc.
-Lukas
Manos Batsis wrote:
Sorry if this is out of cont
-1
Background: According to http://jira.codehaus.org/browse/MFINDBUGS-66, the
plugin integrates Findbugs version 1.3.6. Meanwhile, version 1.3.8 was
released. I suggest to catch up with that release before releasing the
plugin.
-- Thorsten
Garvin LeClaire-2 wrote:
>
> The Maven Findbugs
Folks;
maybe a strange question: At the moment I am dealing with a project
containing several 's to be built, including a couple of
.jar and a couple of .war artifacts. In order to have the .war artifacts
(.war) deployable to an application server, I want to configure
my project to, after everythi
I did not understand this, please explain what should I change in pom to do
this ?
here is my jetty maven plugin
org.mortbay.jetty
maven-jetty-plugin
6.1.12.rc4
commons-logging
comm
Stephen,
Ah, this sounds like a very promising work around. I was unaware of the
maven-stage-plugin. Short of a method to do it with deploy directly this may
work.
Thanks for the suggestion!
-Jim
-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
Sen
Hello,
I create an EJB and want to cut off the version numbers of my dependencies
which are put into my manifest. I tried the following but it does not work
.. the message is "Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-ejb-plugin:2.1". How can I cut off the
version
Sorry if this is out of context, haven't followed the thread. For now
the best way AFAIK is to just add (X)HTML files in src/site/resources
and link as appropriate.
hth,
Manos
-
To unsubscribe, e-mail: users-unsubscr...@mav
Brian.
I think what Jim is asking for is very reasonable. You just did a full
install of your multi-module project to ensure they all pass and work as
you expect to avoid encoutering those errors when doing a deploy and
only having 1/2 your projects up on your nexus repo. This isn't as
important f
Where did you get the snapshot from? Are you using the new snapshot repo
http://repository.apache.org/snapshots ? (not the old one at people.apache.org).
If that's not it please attach the full stack trace.
cheers,
-Lukas
feensturm wrote:
Ok, I mixed up with the answer from Marco Huber
M
The Apache Continuum team is pleased to announce the release of Apache
Continuum 1.3.2 (Beta).
Apache Continuum is an enterprise-ready continuous integration server
with features such as automated builds, release management, role-based
security, and integration with popular build tools and source
I don't really see the problem here.
mvn clean install && mvn deploy:deploy
I'm sure there is an equivalent if you're building under Windows.
Stefan
On Wed, 25 Mar 2009 21:37:29 -0500
Jim McCaskey wrote:
> I have a whole bunch of components that are mostly interrelated but
> consumable indivi
>>
>>foo
>>LATEST
>>
>And that prevents your build from being reproducible...
Not If you combine dynamic version ranges with replacement during deploy
and release the builds remain reproducable. They are in
fact even more reproducable than now.
Example: You trunk would contain:
late
Hi,
You can use build-helper plugin and its goal add-source.
http://mojo.codehaus.org/build-helper-maven-plugin/
rgds,
Markku
Jean-Marc Vanel wrote:
Hi all
We have a projet (
http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/pom.xml
) using a parser generator , for which w
Ok, I mixed up with the answer from Marco Huber
Marco Huber wrote:
>
>
> So I wait for maven 2.1 until I can add my documentation to the project
> :-(
>
But with the Snapshot I get the same exception:
Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-site-
2009/3/26 Martin Eigenbrodt
> >
> > >
> > > 2. Custom scripts
> > > >We use a little script
> > > >that invokes the version plugin and checks in the pom.xml if versions
> > were
> > > >updated. Hudson runs the update script nightly.
> > > This looks like a working solution. However a "native" Mav
+1
2009/3/26 Garvin LeClaire
> The Maven Findbugs team would like to release Maven Findbugs Plugin version
> 2.0
>
> This plugin allows the developer to run Findbugs analysis against a Maven
> project and produce site output in HTML to match other site reports. There
> are option to produce oth
Hi,
thank you for your answers. Reinhards infos solve exactly my problem.
Of course I knew the luntbuild-property "artifactsDir". But I missed
the solution from Reinhard how I simply integrate this property in the
pom.xml
without forcing the user to set the artifactsDir at every call or integrate
Hi,
is there a maven dependency for Java Advanced Imaging projects? thanks.
--
View this message in context:
http://www.nabble.com/Maven-dependency-for-JAI--tp22719872p22719872.html
Sent from the Maven - Users mailing list archive at Nabble.com.
--
Hi all
We have a projet (
http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/pom.xml
) using a parser generator , for which we have extra Java sources, not
for building with the application.
We generate the eclipse configuration with Maven, but I found no way
to specify these ext
Hello maven users,
Links on http://repository.apache.org/snapshots are invalid, they are
missing "snapshots" part. This is error only in the root of the repository,
once in some directory e.g. "http://repository.apache.org/snapshots/org";,
links work well. It seems to be some sort of (nexus) confi
Hello maven users,
Is there a way to activate a profile based on plug-in being run? I'm trying
to find a workaround for issue present in both free open source code
coverage maven report options, cobertura and emma (if there are more, please
let me know). AFAIK, both, to produce report, run code in
ok :)
What I need is to be able to test the behavior of my code when the jar
is attached to the classpath instead of the classes folder.
Because, I have a code that parse the content of the jar where it stands
to find xml files or use getResourceAsStream to get the folder.
So the code checks
Great! Thanks for quick reply!
2009/3/26 Olivier Lamy
> Hi,
> The vote (maven-scm and maven-release-plugin) has started 2 days ago.
> (vote thread : [1])
> I'm currently waiting the end of the release process to push artifacts
> on the central repo (the end for me is today 11H55 PM Paris Time )
Hi,
The vote (maven-scm and maven-release-plugin) has started 2 days ago.
(vote thread : [1])
I'm currently waiting the end of the release process to push artifacts
on the central repo (the end for me is today 11H55 PM Paris Time )
BTW you can try with the staged artifacts.
HTH,
--
Olivier
[1]
ht
Hello maven users,
In maven-release-plugin recently an important issue (
http://jira.codehaus.org/browse/MRELEASE-375 ) has been resolved. Without
this fix, release plug-in can not be used on a multi-module project (with
svn 1.5.0+ client) - dunno about others, but I rarely work on a single
module
I can't remove the anchor because my xhtml is generated from an existing html
(used by others applications, so i can't modify it).
Thanks for your response, i'll developped my own tool to remove specifics
xhtml tags.
Lukas Theussl-3 wrote:
>
>
> Not sure I understand but if you don't want an
Hello,
I am trying to automate the branching for a few hundred Maven
projects. The automation of creating a release works great using the
-DreleaseVersion and -DdevelopmentVersion properties using the prepare
goal. The documentation of the branch goals states this: "The branch
goal can use the sam
> When I generate jar from A project, I would like to exclude these resources
> (containing in src/main/resources) from my jar. For the moment, I haven't
> found a solution.
Make project D which is just the assembly, and don't put any files in
D/src/main/resources, just let D be your assembly proj
> ping ^^
I think no one replied because your message does not make any sense
(to me at least). Can you try re-writing the email and focus on what
you have, what you need, and how you think Maven can help get you from
A to B? Also mention what you've tried and why that didn't work or was
insuffici
As I said, you can't use site-plugin-2.0-beta-7 (btw latest version is 2.0) with
doxia 1.1. Try version 2.1-SNAPSHOT.
HTH,
-Lukas
feensturm wrote:
Hi
Lukas Theussl wrote:
This doesn't work with doxia-1.0, it's fixed in doxia-1.1 which is not
used yet by the site plugin. There is a snapsh
On Thu, Mar 26, 2009 at 03:17, Jim McCaskey wrote:
> Hello all,
>
> I have several components all built from a top level pom. This works great
> for accelerating users to be able to build a lot of stuff quickly but is
> giving me some fits when trying to deploy. Up to this point I have been
>
Hi
Lukas Theussl wrote:
>
>> This doesn't work with doxia-1.0, it's fixed in doxia-1.1 which is not
>> used yet by the site plugin. There is a snapshot of the site plugin
>> (version 2.1-SNAPSHOT) that uses doxia 1.1 but it requires maven 2.1
>
>
I tried maven 2.1 and doxia 1.1 and get th
>
> >
> > 2. Custom scripts
> > >We use a little script
> > >that invokes the version plugin and checks in the pom.xml if versions
> were
> > >updated. Hudson runs the update script nightly.
> > This looks like a working solution. However a "native" Maven Solution
> would
> > be better.
>
>
> eh...
ping ^^
andy petrella a écrit :
Hi All,
I trying to have some IT tests (or look-like) on my jar file only. I
was thinking that the phase verify will give me that chance but not.
Here is my problem.
I have a jar where some directory has to be parsed on a file pattern
=> I use the JarFile cl
2009/3/26 Martin Eigenbrodt
> Hello Trevor,
>
> contrary to some responses here I don't think your issues is SCM/Version
> Control issue. This is not your fault.
> Your issue is missing "soft" or dynamic version support in maven.
> Actually the responses propose some workarounds:
>
> 1.Manual:
>
Hello Trevor,
contrary to some responses here I don't think your issues is SCM/Version
Control issue. This is not your fault.
Your issue is missing "soft" or dynamic version support in maven.
Actually the responses propose some workarounds:
1.Manual:
> An easy solution is: When Alice prepares the
75 matches
Mail list logo