Здравствуйте!
Ваше письмо принято за спам и удалено.
Если вы считаете это ошибкой, то позвоните пожалуйста по телефону
+7(812)578-09-03 в службу поддержки.
===Вашего письмо===
Return-Path: <[EMAIL PROTECTED]>
Received: from <[EMAIL PROTECTED]>
by inc.ru (CommuniGate Pro RULES 4.1.8)
Здравствуйте!
Ваше письмо принято за спам и удалено.
Если вы считаете это ошибкой, то позвоните пожалуйста по телефону
+7(812)578-09-03 в службу поддержки.
===Вашего письмо===
Return-Path: <[EMAIL PROTECTED]>
Received: from <[EMAIL PROTECTED]>
by inc.ru (CommuniGate Pro RULES 4.1.8)
> be 508 compilant, Is there any maven plugin to check my html for 508
> complaince ?
I don't know of any current Maven plugin that would offer this
functionality. If you find a random tool on the net, perhaps one that
can be used in Ant, you can easily turn it into a Maven plugin.
Wayne
---
This is how we set the java.library.path for surefire, works fine for us:
org.apache.maven.plugins
maven-surefire-plugin
once
target
-Djava.library.path=lib
Kalle
On Tue, Nov
We are developing application for government for which my application should
be 508 compilant, Is there any maven plugin to check my html for 508
complaince ?
--
View this message in context:
http://www.nabble.com/maven-plugin-for-508-compilance-check-tp20335784p20335784.html
Sent from the Mav
Petr,
Well, is a very strange behavior. If I put "@Test" annotation above
"testApp()" method, it runs on eclipse fine.
Please check the following:
- junit 4.X is in your eclipse build path? (an easy way to see is
looking in "Referenced Library")
- Forget unit test created by maven. It is just a s
After running mvn help:effective-pom I see the plugin being set as expected:
C:\eclipse_workspaces\europa3\PCNRequestApprovalWeb\src\main\java
C:\eclipse_workspaces\europa3\PCNRequestApprovalWeb\src\test\java
C:\eclipse_workspaces\europa3\PCNRequestApprovalWeb\target\classes
see if this would help
http://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/src/it/jni/java-win32/pom.xml
On Tue, Nov 4, 2008 at 10:35 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 4, 2008 at 9:27 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
>> ...but it only works
I'm getting a very similar problem. I'm running eclipse and maven and
working with the new m2eclipse plugin on OS X doing RCP development with
Maven. When I try and install my jars with JDK 5.0 configured I get the
following:
= setup =
wayne-lunds-macbook-pro:jars wxlund$ java -ver
Hi Rafael,
I guess I now know the issue. The test case generated by maven for a project
can be run in Eclipse because it extends TestCase class
But if you run following test in eclipse, the eclipse will complain "No
Runnable Methods" I am using TestRunner Junit 4 and I have junit 4.5 har in my
Sorry.. I pressed "send" out of time...
1. Create a project with archetype:
$ mvn archetype:generate
// answer the question and archetype will create a skeleton of a
project for you, with all default parameters
2. Put all your java code into /src/main/java
3. Put all your non-java code, like
Petr,
Yes, I'm using a maven project (created by archetype), in Eclipse
Ganymede. Commonly I use command line (im my case, on linux, but the
commands are equals both in windows and linux).
Well, this may not be a root of your problem, but I will do a
step-by-step on how I created my projects. If
Thanks Rafael for the help.
I created this project via maven commands on DOS.
I imported then maven project in Eclipse.
Now this maven project was not in build path so I believe I was getting error
of not finding any junit test .
Then I clicked on project and select build path --> use as sou
Petr,
When I tried to reproduce your scenario, I got the message "No JUnit
test Found *for JUnit 3 runner*", because my set of tests was writen
under junit 3.8.1. For this, I've entered in Run menu, Run
Configurations..., in left site tree, selected JUnit, and my JUnit
Test Case. Finally, I've cha
I'm trying to create an aggregate POM for a third-party object
consisting of several binary (jar) files, to be stored in my
Nexus repository.
Based on examples from the maven repository, I created simple POMs for
each jar and added them to nexus. Then I created a POM-packaged POM that
lists the in
I've read the previous posts on this issue, but still see that a resource I
am relying on (META-INF/persistence.xml) that exists in src/test/resources
is not being used by the surefire plugin. If I move this resource to
src/main/resources it works fine. I am using Maven 2.0.9.
Any ideas why src
Rafael,
I am using Junit 4.5
My test class is as follows
import org.junit.Test;
import junit.framework.Assert;
public class TestContract {
@Test
public void testCom() throws Exception
{
Assert.assertEquals(true, true);
You can run a single test in Maven like this:
mvn -Dtest=MyTestClass test
Note that you must specify the name of the TestCase class.
Rafael Trestini wrote:
Petr,
Please, let me know: are you using junit to code your test cases? If
yes, eclipse has a "native" plugin to deal with junit - no
Petr,
Please, let me know: are you using junit to code your test cases? If
yes, eclipse has a "native" plugin to deal with junit - no maven or
m2eclipse is needed. Is just to open your test case, Run As, JUnit
Test Case.
When 'mvn test' is running, it means that all test cases will be
executed, t
When I issue "mvn test" command, all my tests in test directory are executed,
what if I need to run some particular test(assuming we have different test
classes instead of one big test class). And is it possible in eclipse to run
one particular test with m2eclipse ?
Thanks,
Petr
On Tue, Nov 4, 2008 at 9:27 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> ...but it only works if the library is sitting in the base directory
> of the Maven project. If I move it into some other directory and then
> configure Surefire to pass java.library.path to the tests, I get the
> same thing
John,
In this case, your parent pom (1st level pom.xml) will inherit from
com.atlassian.concluence.plugin.base:confluence-plugin-base:17, and
each module will inherit your parent pom. Example:
/yourproject
pom.xml (your parent pom - inherits confluence plugin)
/module-a
pom.xml (
Hi,
I'm using an assembly descriptor containing:
module-release
false
true
${module.artifactId}.${module.extension}
Where module-release is another assembly that is attached to the modules
in an earlier step. This works fine for my
jar-Modules.
I also have some pom module
Can't make ApacheCon this week in New Orleans? You can still watch all
the keynotes, Apache 101 sessions, and system administration track in
live video streams:
http://streaming.linux-magazin.de/en/program_apacheconus08.htm?ann
Keynotes and the Apache 101 lunchtime sessions are free; the full
Can't make ApacheCon this week in New Orleans? You can still watch all
the keynotes, Apache 101 sessions, and system administration track in
live video streams:
http://streaming.linux-magazin.de/en/program_apacheconus08.htm?ann
Keynotes and the Apache 101 lunchtime sessions are free; the f
Hello Simone and Graham,
Both options satisfy my needs. I prefer to deliver a ~/.m2/repository but I
think it will depend on the client...
Thank you
On Monday 03 November 2008 12:33:28 Simone Gianni wrote:
> Hi David,
> nobody said that a repository has to be remote, you can create a local
> fi
On Mon, Nov 3, 2008 at 9:40 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> I was (eventually, with help from Craig and Henri,) able to follow the
> JNI 'Hello World' example [1] and get it to work both at the command
> line and in a test run with Maven.
...but it only works if the library is sittin
Hi,
if I have so in my pom :
---
jboss-deploy
pre-integration-test
deploy
jboss-undeploy
Hi,
Thank you for fast feedback!
2008/11/4 Arnaud HERITIER <[EMAIL PROTECTED]>
> Hi Peter,
>
> which version of the release plugin are you using? We just released a new
> version, perhaps there's an issue in it ?
I use 2.0-beta-8 version of the plugin.
Which version do you release?
>
> I
The beta-8 was just released but I didn't notice this bug when I tried it.
You can try the 2.0-beta-7
If it doesn't solve your problem you can try to change you're svn version
like Borut proposes.
If it solves it, you can open an issue ;-)
On Tue, Nov 4, 2008 at 3:11 PM, Peter Nedonosko <
[EMAIL
You have to use svn 1.5.0
2008/11/4 Peter Nedonosko <[EMAIL PROTECTED]>
> Hi guys!
>
> I try to use maven-release-plugin on WindowsXP SP2 with maven 2.0.8, Java
> 1.5.0_15 and svn 1.5.4.
>
Hi Peter,
which version of the release plugin are you using? We just released a new
version, perhaps there's an issue in it ?
If you didn't change your version of the plugin it's probably an issue in
svn because you are reproducing the issue with the svn command line.
There are several probl
Hi all,
I'm trying to solve a puzzle which starts to look harder than I thought.
In my build platform I have project type that normally produces a jar
file, and in certain corner cases (for solving class loading issues) it
may have to produce also a second jar file if any class file is present
Hi guys!
I try to use maven-release-plugin on WindowsXP SP2 with maven 2.0.8, Java
1.5.0_15 and svn 1.5.4.
I cannot run release:branch goal from trunk successful.
Branch commit failed on command
svn --non-interactive copy --file D:\Tmp\maven-scm-1276451448.commit .
http://svn.exoplatform.org/s
Le lundi 03 novembre 2008 à 16:43 +, Mark Hobson a écrit :
> If you just want to introspect POM metadata then have a look at maven-runtime:
>
> http://maven.apache.org/shared/maven-runtime/
>
> Mark
Thx Mark, that sounds great!
I will certainly use that in another project (to list versions
Hi,
i have a pom whose out put wil make a ear . that mean
ear , so at last it is building my ear. after that i
want to copy that ear to some other folder.
that can be done using another pom, but i want to do this in one pom.
Hello experts ,can this be done is same pom ?
if yes then what will be
Hi there
> inheritance? Root is parent of M3!
Yes Root is parent of M3
Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
If you have additional dependencies in project B that aren't in A, and
those dependencies have an additional dependencies which are the same as
those in project A, but of a different version. Then you require
dependency management.
The best way to look at it is to see a tree of dependencies, each
I have project A and B. B is the child of A. So B Inherits properties and
dependencies of A.
If I have x version of dependency in A , same will be available for B also.
Then why do we need , because by changing the version
of dependency in A will automatically availabe in B.
When dependency of
Graham,
Thanks for your advice. I was wondering if parent/child relationships
were the answer. However, there are two problems with this approach.
The first is that I'm writing a plugin to a product and it created the
maven project, and I note it's declared a parent:
com.atlassia
40 matches
Mail list logo