dummy dependency on surefire 2.4

2007-06-04 Thread Pierre Parrend

 Hello,

according to the mailing list, there are some troubles with the surefire 2.4
plugin.
 However, there is still more problems: the 'dummy' artifact seems to rely on
this version of surefire anyhow, which makes the whole maven building process
abort.

Does anyone knows whether:
- this is easy to patch by hand
- or the surefire 2.4 version will soon be available
- or some stable version of surefire 2.4 is available somewhere for manual
install 
- or can someone releave the dependency to the faulty plugin and make that the
'dummy' artifact does not prevent maven from building project ?

thanks. Following are the trace of the error I get,

best regards,

Pierre

[INFO] Failed to resolve artifact.

Missing:
--
1) org.apache.maven.surefire:surefire-junit:jar:2.4-collab-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.maven.surefire
-DartifactId=surefire-junit \
  -Dversion=2.4-collab-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency: 
1) dummy:dummy:jar:1.0
2) org.apache.maven.surefire:surefire-junit:jar:2.4-collab-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  dummy:dummy:jar:1.0


-- 
Pierre Parrend
Ph.D. Student, Teaching Assistant
INRIA-INSA Lyon, France
[EMAIL PROTECTED]
web : www.rzo.free.fr

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ant plugin and javah

2006-08-23 Thread Pierre Parrend
 Hello,

 I solved the problem by following trick :

tasks
exec executable=ant failonerror=true/
/tasks

that is ti say I use the ant version that is installed on my computer. But it is
not very portable ...

another question : 

is it possible to execute several ant tasks in the same pom ?
when I try to define several execution tags (for different compilation phases,
for instance compile and clean), I only get error messages.

pierre

Quoting Dave Syer [EMAIL PROTECTED]:

 
  How is it possible to tell the plugin to use more libraries ? for
 instances
 the
  ones that are present in $ANT_HOME/lib/ ?
 
 I don't know about $ANT_HOME/lib (maven isn't using $ANT_HOME so it probably
 isn't going to see those jars).  Have you tried adding dependencies to the
 plugin in your build element?
 -- 
 View this message in context:

http://www.nabble.com/getting-the-sources-and-javadocs-tf2141673.html#a5930104
 Sent from the Maven - Users forum at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Pierre Parrend
doctorant, moniteur
laboratoire CITI, 21, Av. Jean Capelle
69621 Villeurbanne Cedex
[EMAIL PROTECTED]
www.rzo.free.fr

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ant plugin and javah

2006-08-22 Thread Pierre Parrend

  Hello,

 I'm using maven 2 with the ant plugin. I do not know if there is a specific
mailing list, but somebody here can surely tell me.

I get the following problem : will compiling a maven project than uses javah,
maven cannot find suitable jar file.
How is it possible to tell the plugin to use more libraries ? for instances the
ones that are present in $ANT_HOME/lib/ ?

the error message is the following:

---
Embedded error: The following error occurred while executing this line:
/home/pierre/boulot/dev/pparrend/malicious-suite/loadinjector-mvn/build.xml:13:
Could not create task or type of type: javah.

Ant could not find the task or a class this task relies upon.
---

 thanks for your advices,

Pierre Parrend

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]