Re: Weird behavior in browsers not Firefox

2007-10-04 Thread Emmanuel Venisse

Tested with Safari 2.0.4 and IE6, it works fine for me.

Do you use the standalone version or the webapp?

Emmanuel

fherrerav a écrit :

Ok, this is very very weird, i'm using beta-3 and i'm able to login only
using firefox. I've tried IE6, Opera9 and safari beta and i only get to the
login page. I try to login, i see the post to the server in the status bar
but the app return to the empty group list with no user logged in. In
firefox works well. I check the server log and i see no activity unless
using firefox. I have cleaned cookies, cache, etc but the strange behavior
remains. I tried installling beta-2 and i get the same. Any ideas what
should i look for?  It used to work fine on those browsers and suddenly it
broke. Must be something on the server i guess.




Re: Weird behavior in browsers not Firefox

2007-10-04 Thread fherrerav

Standalone.  I reinstalled in the same server with no luck (red hat). I tried
installing another copy in windows and it works fine there.




Emmanuel Venisse wrote:
 
 Tested with Safari 2.0.4 and IE6, it works fine for me.
 
 Do you use the standalone version or the webapp?
 
 Emmanuel
 
 fherrerav a écrit :
 Ok, this is very very weird, i'm using beta-3 and i'm able to login only
 using firefox. I've tried IE6, Opera9 and safari beta and i only get to
 the
 login page. I try to login, i see the post to the server in the status
 bar
 but the app return to the empty group list with no user logged in. In
 firefox works well. I check the server log and i see no activity unless
 using firefox. I have cleaned cookies, cache, etc but the strange
 behavior
 remains. I tried installling beta-2 and i get the same. Any ideas what
 should i look for?  It used to work fine on those browsers and suddenly
 it
 broke. Must be something on the server i guess.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Weird-behavior-in-browsers-not-Firefox-tf4565147.html#a13043930
Sent from the Continuum - Users mailing list archive at Nabble.com.



Re: Weird behavior in browsers not Firefox

2007-10-04 Thread Emmanuel Venisse

I don't have a redhat to try but it is weird.

Emmanuel

fherrerav a écrit :

Standalone.  I reinstalled in the same server with no luck (red hat). I tried
installing another copy in windows and it works fine there.




Emmanuel Venisse wrote:

Tested with Safari 2.0.4 and IE6, it works fine for me.

Do you use the standalone version or the webapp?

Emmanuel

fherrerav a écrit :

Ok, this is very very weird, i'm using beta-3 and i'm able to login only
using firefox. I've tried IE6, Opera9 and safari beta and i only get to
the
login page. I try to login, i see the post to the server in the status
bar
but the app return to the empty group list with no user logged in. In
firefox works well. I check the server log and i see no activity unless
using firefox. I have cleaned cookies, cache, etc but the strange
behavior
remains. I tried installling beta-2 and i get the same. Any ideas what
should i look for?  It used to work fine on those browsers and suddenly
it
broke. Must be something on the server i guess.









writing a notifier

2007-10-04 Thread Michael Masters
I've looked at JabberContinuumNotifier and I have some questions on  
how I create my own notifier.


1. Once I write my notifier by extending AbstractContinuumNotifier,  
how do I install it. In other words, where do I put it the class  
file? Can I jar up all my classes and place them somewhere?


2. Can someone explain how I am suppose to configure my notifier in  
apps/continuum/conf/application.xml?


* It looks like the requirement tag is suppose to define some  
classes that my notifier is dependent on. Is this true?


* What's allowed in the configuration tag? For example, I need  
things like login ID, password, and URL to configure the notifier. I  
assume I add tags for this in  configuration. Is this true? If so,  
then how do I get to this information from my notifier?



Thanks in advance,
Michael Masters



Re: Weird behavior in browsers not Firefox

2007-10-04 Thread Emmanuel Venisse

Can you try with a java 5?

Emmanuel

fherrerav a écrit :

Sun

./java -version
java version 1.6.0
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)



Emmanuel Venisse wrote:

What is the jdk on your redhat? Sun JDK, gcj, other?

Emmanuel

Emmanuel Venisse a écrit :

I don't have a redhat to try but it is weird.

Emmanuel

fherrerav a écrit :
Standalone.  I reinstalled in the same server with no luck (red hat). 
I tried

installing another copy in windows and it works fine there.




Emmanuel Venisse wrote:

Tested with Safari 2.0.4 and IE6, it works fine for me.

Do you use the standalone version or the webapp?

Emmanuel

fherrerav a écrit :
Ok, this is very very weird, i'm using beta-3 and i'm able to login 
only

using firefox. I've tried IE6, Opera9 and safari beta and i only get
to
the
login page. I try to login, i see the post to the server in the status
bar
but the app return to the empty group list with no user logged in. In
firefox works well. I check the server log and i see no activity
unless
using firefox. I have cleaned cookies, cache, etc but the strange
behavior
remains. I tried installling beta-2 and i get the same. Any ideas what
should i look for?  It used to work fine on those browsers and
suddenly
it
broke. Must be something on the server i guess.














ClassCastException in ant:ant

2007-10-04 Thread Gary Bauer
Hi

On a multi-module project, I have the ant:ant goal working fine.  However,
on a much simpler project based on the simples archetype, I get a ClassCast
exception.  Has anyone had/solved this issue before?

Thanks!

Gary

Stack trace and POM file below

java.lang.ClassCastException: java.util.HashMap cannot be cast to
java.lang.String at
org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenPluginBasicOption(
AntBuildWriterUtil.java:902)
at
org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenJarPluginBasicOption(
AntBuildWriterUtil.java:838)
at org.apache.maven.plugin.ant.AntBuildWriterUtil.writeJarTask(
AntBuildWriterUtil.java:572)
at org.apache.maven.plugin.ant.AntBuildWriter.writePackageTarget(
AntBuildWriter.java:909)
at org.apache.maven.plugin.ant.AntBuildWriter.writeGeneratedBuildXml
(AntBuildWriter.java:304)
at org.apache.maven.plugin.ant.AntBuildWriter.writeBuildXmls(
AntBuildWriter.java:112)
at org.apache.maven.plugin.ant.AntMojo.execute(AntMojo.java:112)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:443)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java:493)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

POM

project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdcom.elgaz.smart/groupId
  artifactIddemo-app/artifactId
  packagingjar/packaging
  version1.0-SNAPSHOT/version
  namedemo-app/name
  urlhttp://maven.apache.org/url
  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
  build
  plugins
  plugin
 artifactIdmaven-jar-plugin/artifactId
configuration
  archive
manifest

addDefaultSpecificationEntriestrue/addDefaultSpecificationEntries

addDefaultImplementationEntriestrue/addDefaultImplementationEntries
/manifest
  /archive
/configuration
  /plugin
plugin
   artifactIdmaven-assembly-plugin/artifactId
configuration
descriptorRefs
descriptorRefbin/descriptorRef
/descriptorRefs
/configuration
executions
execution
goals
goalattached/goal
/goals
phasepackage/phase
/execution
/executions
/plugin
plugin
groupIdorg.jvnet.jaxb2.maven2/groupId
artifactIdmaven-jaxb2-plugin/artifactId
executions
execution
goals
goalgenerate/goal
/goals
/execution
/executions
configuration
  generatePackagecom.demo.address/generatePackage
   /configuration
/plugin
plugin
inheritedtrue/inherited
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
source1.5/source
target1.5/target
/configuration
/plugin
plugin
artifactIdmaven-antrun-plugin/artifactId
executions

[Maven2] deploy:deploy-file

2007-10-04 Thread Angel Todorov
Hi guys,

i am executing deploy:deploy-file , but I am doing this from a directory
where there are pom files and so on... Is there any way to tell maven to
disregard the contents of the directory from where I execute
deploy:deploy-file ? I ask this because if i execute deploy:deploy-file from
somewhere that doesn't have any maven2 related things (such as POMs) in it,
it works fine, but when i execute it from a directory that contains a POM,
it fails.

Thanks very much in advance.

Regards,
Angel


How to use mvn eclipse:eclipse

2007-10-04 Thread LukeLallu


I created a EAR Project using the following cammand

mvn -U archetype:create -DgroupId=com.mycompany.app -DartifactId=my-ear-app
-Dpackagename=com.mycompany.app
-DarchetypeArtifactId=maven-archetype-j2ee-simple

Then I ran mvn eclipse:eclipse

I wanted to open as an Exsisting project(my-ear-app) in WSAD but .project
files are created within my sub - modules inside my-ear-app and not in
my-ear-app folder, so how to see the whole of EAR in WSAD with all the
modules.

Regards

Luke
-- 
View this message in context: 
http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13033901
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Build's state in report

2007-10-04 Thread Gisbert Amm
A failed build won't result in a complete site. In other words: All 
reports that exist result from sucessfull builds.


What is your use case? What are you looking for?

-Gisbert

Martin Alejandro Villalobos wrote:

Hello.
Some body knows if there is some report in site plugin  that include the 
build's state, i.e failure or sucessfull?


Thanks for all and cheers.

Martin.


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



--
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: [EMAIL PROTECTED]
Internet: www.1und1.de

11 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas 
Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Norbert 
Lang, Achim Weiss

Aufsichtsratsvorsitzender: Michael Scheeren

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



Re: Build's state in report

2007-10-04 Thread Tomasz Pik
On 10/4/07, Gisbert Amm [EMAIL PROTECTED] wrote:
 A failed build won't result in a complete site. In other words: All
 reports that exist result from sucessfull builds.

hm,, i'm not sure if it's true.
in such a case having a result of unit test in surefire report
is useless because it will always be 'ok'.

regards,
Tomek


 What is your use case? What are you looking for?

 -Gisbert

 Martin Alejandro Villalobos wrote:
  Hello.
  Some body knows if there is some report in site plugin  that include the
  build's state, i.e failure or sucessfull?
 
  Thanks for all and cheers.
 
  Martin.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 

 --
 Gisbert Amm
 Softwareentwickler Infrastruktur
 Telefon: (0721) 91374 - 4224
 Telefax: (0721) 91374 - 2740
 E-Mail: [EMAIL PROTECTED]
 Internet: www.1und1.de

 11 Internet AG
 Elgendorfer Strasse 57
 56410 Montabaur

 Amtsgericht Montabaur HRB 6484

 Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas
 Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Norbert
 Lang, Achim Weiss
 Aufsichtsratsvorsitzender: Michael Scheeren

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



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



Re: [maven2 antrun plugin] problem with classpath

2007-10-04 Thread Guillaume Boucherie
Hi,

Ok it's finally works fine.
I'm just use the 1.0-beta-1-SNAPSHOT version because the versions in central
repository doesn't work for me.
Thanks

-- 
CletteBou
clettebou.miniville.fr


2007/10/3, Tim Kettler [EMAIL PROTECTED]:

 Hi,

 I can reproduce the problem but have no clue either what the root cause
 could be. Howerver, it's working for me with the xdoclet-maven-plugin
   [1] from the mojo project:

plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdxdoclet-maven-plugin/artifactId
  executions
execution
  phaseprocess-resources/phase
  goals
goalxdoclet/goal
  /goals
  configuration
tasks
  webdoclet destDir=${project.build.outputDirectory}
fileset dir=${project.build.sourceDirectory}
  include
 name=com/ideo/sweetdev/presentation/struts/tag/**/*Tag*.java /
/fileset
jsptaglib taglibversion=${project.version}
   jspversion=1.2
   shortname=sweetdev-struts
   description=This tag library contains the
 SweetDEV standard tags
   uri=http://www.sweetdev.com/sweetdev-struts;
   displayname=SweetDEV
   smallicon=icone.jpg
   filename=sweetdev-struts.tld

/jsptaglib
  /webdoclet
/tasks
  /configuration
/execution
  /executions
/plugin

 -Tim

 [1] http://mojo.codehaus.org/xdoclet-maven-plugin/

 Guillaume Boucherie schrieb:
  Hi all,
 
  I'm trying to use xdoclet for my project via the antrun plugin, but I'm
  encounter problem with classpath.
  I configure antrun like this:
  project
[...]
build
  plugins
plugin
  artifactIdmaven-antrun-plugin/artifactId
  executions
execution
  phaseprocess-resources/phase
  configuration
tasks
  property name=plugin_classpath refid=
  maven.plugin.classpath/
  echo message=plugin classpath:  ${plugin_classpath}/
  taskdef name=webdoclet classname=
  xdoclet.modules.web.WebDocletTask
classpath refid=maven.plugin.classpath /
  /taskdef
  webdoclet destDir=${project.build.outputDirectory}
fileset dir=${project.build.sourceDirectory}
  include
  name=com/ideo/sweetdev/presentation/struts/tag/**/*Tag*.java /
/fileset
jsptaglib taglibversion=${project.version}
   jspversion=1.2
   shortname=sweetdev-struts
   description=This tag library contains the
  SweetDEV standard tags
   uri=
 http://www.sweetdev.com/sweetdev-struts;
   displayname=SweetDEV
   smallicon=icone.jpg
   filename=sweetdev-struts.tld

/jsptaglib
  /webdoclet
/tasks
  /configuration
  goals
goalrun/goal
  /goals
/execution
  /executions
  dependencies
dependency
  groupIdxdoclet/groupId
  artifactIdxdoclet-web-module/artifactId
  version1.2.3/version
/dependency
dependency
  groupIdxdoclet/groupId
  artifactIdxjavadoc/artifactId
  version1.1/version
/dependency
  /dependencies
/plugin
  /plugins
[...]
  /project
 
  And when I run phase process-resources I got this:
  E:\projects\sweetdev\branches\sweetdev-maven2\sweetdev-strutsmvn
  process-resources
  [INFO] Scanning for projects...
  [INFO]
 
 
  [INFO] Building sweetdev-struts
  [INFO]task-segment: [process-resources]
  [INFO]
 
 
  [INFO] [enforcer:enforce {execution: enforce-java}]
  [INFO] [resources:resources]
  [INFO] Using default encoding to copy filtered resources.
  [INFO] [antrun:run {execution: default}]
  [INFO] Executing tasks
   [echo] plugin classpath:
E:\tools\maven\repository-maven2\junit\junit\3.8.1\junit-3.8.1.jar;
E:\tools\maven\repository-maven2\xdoclet\xdoclet\1.2.3\xdoclet-
 1.2.3.jar;
 
 E:\tools\maven\repository-maven2\xdoclet\xdoclet-web-module\1.2.3\xdoclet-
  web-module-1.2.3.jar;
 
 
 E:\tools\maven\repository-maven2\commons-logging\commons-logging\1.0.4\commons-
  logging-1.0.4.jar;
E:\tools\maven\repository-maven2\ant\ant\1.6.5\ant-1.6.5.jar;
 
 
 

MAVEN - FATAL ERROR - on mvn jbi..

2007-10-04 Thread KIRA1983

i launch this command:  mvn jbi:embeddedServicemix
 the result:


Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/samples/3.3.0.0-fuse/samples-3.3.0.0-fuse.pom
Downloading:
http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.3.0.0-fuse/samples-3.3.0.0-fuse.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.3.0.0-fuse/samples-3.3.0.0-fuse.pom
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.servicemix.samples:basic:jar:null

Reason: Cannot find parent: org.apache.servicemix:samples for project:
org.apache.servicemix.samples:basic:jar:null for project
org.apache.servicemix.samples:basic:jar:null

in first time i think that this error born by proxy, so i created a
build.properties in MAVEN_HOME with all parameters, but the error stay.
 thanks
-- 
View this message in context: 
http://www.nabble.com/MAVEN---FATAL-ERROR---on-mvn-jbi..-tf4566673s177.html#a13035281
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: M2: how to create jni .jar .so file from same pom.xml

2007-10-04 Thread Arne Styve
Hi Joe,

There is an alternative to the native-maven-plugin:

http://java.freehep.org/freehep-nar-plugin/index.html

I had a look at both a while ago, and concluded that the NAR-approach
was a better way of doing it than the native-maven-plugin approach.
Don't know if that is still valid though, but it is worth having a look.

Regards
Arne
 

 Hi
 
 I attempting to migrate from  maven to maven2.
 
 I have an existing project which creates a jar file and  a 
 corresponding .so file I'd like to be avoid changing the 
 existing directory structure  which looks like
 
 project  - (pom.xml )
 project/src/java  - (*.java)
 project/src/unix   - (*.c *.h)
 
 
 the pom.xml is below
 if I set the packaging  to  jar.  it creates the jar file 
 if I set it to .so  it creates the .so file
 
 how do i get it to do both at the same time
 
 thanks!
 --joe
 
 

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



Re: checkstyle plugins: maven and eclipse

2007-10-04 Thread Dimitris Kapanidis
I have another solution to this problem, which is not the maven way but 
works equally.


I have uploaded the file on a web server and accessing it from there:

Eclipse is using .checkstyle config to see the remote location of the 
configuration (there is an option for remote file)
Maven is using the parent pom.xml to see the same remote location of the 
configuration.

plugin
   artifactIdmaven-checkstyle-plugin/artifactId
   configuration
   
configLocationhttp://www.someplace.net/scytl_checkstyle.xml/configLocation

   /configuration
/plugin

I'd prefer the jar solution though, is much cleaner.

houzecl wrote:

Yes, the last part of your post is what we'd like to do:

One mavenized projet holding a set of configuration files.
So that you can version, deploy, and access the jar containing the
appropriate set of rules.
We do not want to embed the rules inside the project(s) that will be using
the rules.
we want these rules to be common (as sun_checks). 


Therefore, once the rules'jar is available in the repository, it can be
accessed by maven (no probs)
BUT how can you make it available to eclipse at the same time ? (do you
explode the jar in the repository when you deploy it ?, so that eclipse
checkstyle can reference the xml files ...)

anyway, I posted the question in checkstyle mailing list.
If I get an answer, I'll post it

good day,

Christian-Luc



Greg_Vaughn wrote:
  
I am using maven-checkstyle-plugin with a specific configuration file 
(I made it as a resource in a jar and the plugin configuration works 
  

fine:

checkstyle - or the plugin - is clever enough to get the xml file out of 
  

the


dependency jar)

I'd like to do the same within eclipse with the 
  

eclipse-checkstyle-plugin


(so that checkstyle can be active during eclipse work, not just when
building with maven)
Unfortunately the checkstyle preference window does not seem to allow a
reference to a jar.
it needs an xml file
This is not really a maven question but someone may know if my request 
  

is


possible ???
  
We did this last year, but the details aren't fresh on my mind. Let me 
know

if this general approach is not enough.

We attached the checkstyle xml file to the project so it was deployed 
along

with the jar file to our corporate maven repository. Since that repository
is available via http, we configured the eclipse plugin to use that url.

Now we have one mavenized project to manage the checkstyle rules. When we
deploy it, the checkstyle rules become available to both maven and eclipse
at the same time.

-Greg Vaughn


==

Confidentiality Notice: The information contained in and transmitted with
this communication is strictly confidential, is intended only for the use
of the intended recipient, and is the property of Countrywide Financial
Corporation or its affiliates and subsidiaries. If you are not the
intended recipient, you are hereby notified that any use of the
information contained in or transmitted with the communication or
dissemination, distribution, or copying of this communication is strictly
prohibited by law. If you have received this communication in error,
please immediately return this communication to the sender and delete the
original message and any copy of it in your possession.

==






  



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



Re: MAVEN - FATAL ERROR - on mvn jbi..

2007-10-04 Thread KIRA1983


maybe but maybe..
if try to use mvn offline i see that repository list down for fuse 3.3.0.0
with my browser and.. not exist nothing!
so, can i doing?


KIRA1983 wrote:
 
 i launch this command:  mvn jbi:embeddedServicemix
  the result:
 
 
 Downloading:
 http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/samples/3.3.0.0-fuse/samples-3.3.0.0-fuse.pom
 Downloading:
 http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.3.0.0-fuse/samples-3.3.0.0-fuse.pom
 Downloading:
 http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.3.0.0-fuse/samples-3.3.0.0-fuse.pom
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).
 
 
 Project ID: org.apache.servicemix.samples:basic:jar:null
 
 Reason: Cannot find parent: org.apache.servicemix:samples for project:
 org.apache.servicemix.samples:basic:jar:null for project
 org.apache.servicemix.samples:basic:jar:null
 
 in first time i think that this error born by proxy, so i created a
 build.properties in MAVEN_HOME with all parameters, but the error stay.
  thanks
 

-- 
View this message in context: 
http://www.nabble.com/MAVEN---FATAL-ERROR---on-mvn-jbi..-tf4566673s177.html#a13035478
Sent from the Maven - Users mailing list archive at Nabble.com.


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



plugin classpath question

2007-10-04 Thread Guillaume Boucherie
Hi all,
I have questions about he classpath of maven2 plugin:
  1. How the classpath of a plugin is constructed ?
  2. Is it possible to change it ?
  3. Is it possible to have the generated classes of a project in the
classpath of a plugin ?

Thanks

-- 
CletteBou
clettebou.miniville.fr


Maven-Changes-Plugin: Unable to find the mojo ...

2007-10-04 Thread Gisbert Amm

Out of the blue I'm getting this error:

Error getting reports from the plugin 
'org.apache.maven.plugins:maven-changes-plugin': Unable to find the mojo 
'org.apache.maven.plugins:maven-changes-plugin:2.0-beta-3-SNAPSHOT:changes-report' 
in the plugin 'org.apache.maven.plugins:maven-changes-plugin'


Does anybody have a glue why this happens and how to work around it?

-Gisbert

--
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: [EMAIL PROTECTED]
Internet: www.1und1.de

11 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas 
Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Norbert 
Lang, Achim Weiss

Aufsichtsratsvorsitzender: Michael Scheeren

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



How to secure maven against code injection

2007-10-04 Thread Marziou, Gael
Hello,

Maven dependency management can be a security breach if naively implemented by 
enabling injection of 3rd party code into your application that get deployed in 
production.

So, I came up with some defensive approach and I would like people to review 
them from their experience and maybe point to references or issues.

1. Developers can access internet repositories through a managed cache 
repository in the intranet (e.g. ArtiFactory)
2. Official builds can download dependencies only from an internal repository 
that is managed by a librarian


I am thinking of switching between #1 and #2 mode by using profiles to enable 
developers to dry-run an official build in their sandbox before building on the 
continuous integration server but I'm not sure whether profiles can let me 
switch between different context which defines different mirrors or proxies.

Does my approach make sense?

Thanks,

Gael





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



Re: plugin classpath question

2007-10-04 Thread Gisbert Amm

I only know the answer for 2.:

StringBuilder classpath = new 
StringBuilder(System.getProperty(java.class.path, ));

classpath.append(What-ever-you-want);
System.setProperty(java.class.path, classpath.toString());

-Gisbert


Guillaume Boucherie wrote:

Hi all,
I have questions about he classpath of maven2 plugin:
  1. How the classpath of a plugin is constructed ?
  2. Is it possible to change it ?
  3. Is it possible to have the generated classes of a project in the
classpath of a plugin ?

Thanks



--
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: [EMAIL PROTECTED]
Internet: www.1und1.de

11 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas 
Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Norbert 
Lang, Achim Weiss

Aufsichtsratsvorsitzender: Michael Scheeren

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



Re: Build's state in report

2007-10-04 Thread Gisbert Amm

Tomasz Pik wrote:

On 10/4/07, Gisbert Amm [EMAIL PROTECTED] wrote:


A failed build won't result in a complete site. In other words: All
reports that exist result from sucessfull builds.



hm,, i'm not sure if it's true.
in such a case having a result of unit test in surefire report
is useless because it will always be 'ok'.


Unittest failures don't usually make the site build fail. They are 
listet in the surefire-report instead. However, when teh site build 
fails for some reason, there will only be the reports (if any) that 
possibly have already been generated before it did fail.


-Gisbert

--
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: [EMAIL PROTECTED]
Internet: www.1und1.de

11 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas 
Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Norbert 
Lang, Achim Weiss

Aufsichtsratsvorsitzender: Michael Scheeren

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



Maven Repositories acess / servers / signon specs in settings.xml

2007-10-04 Thread houzecl

Hi,

Here are 2 questions about Maven Internal Repositories implementation, and
protocols that can be used. (because of unclear doc - imo - about
repositories, wagon, and settings.xml (id/user/pwd) )

statement 1 (before question 1)
From what I've read on wagon's site (http://maven.apache.org/wagon/), it is
possible for maven repository access to use:

* File (download/upload)
* HTTP (download only)
* HTTP lightweight (download only)
* FTP (download/upload)
* SSH/SCP (upload only / download not fully tested)
* WebDAV (upload only / download not fully tested)
* SCM (in progress)

question 1: is this information up to date ?

statement 2 (before question 2)
Until now, I've used Maven (internal) repositories with file system access
(file://) for download and upload. This is no problem... everything works
fine :-)
Now, I am in the process of implementing our internal repositories on Unix
server, and securing these repositories, without using (at this time) any
repository manager (archiva, artifactory, ...) 
I want to use something very very reliable: therefore, giving that we have
to put the repositories on unix server and we want to access them from
windows and unix maven clients the following solution seems appropriate: 
= for artifacts download, use an http server
= for artifacts upload, use an ftp server (or a webdav server)

regarding the repository definitions, our corporate pom should look like:

distributionManagement
repository
idinternalDeploy/id
name
company released artifacts
/name
urlftp://mvnftpserver/maven2repository/url
/repository
...
repositories
repository
idinternalShared/id
name
company released artifacts  

/name

urlurlhttp://www.mvn-server.com/maven2repository/url
/repository
...

when it gets to security, the Security and Deployment Settings doc
(http://maven.apache.org/guides/mini/guide-deployment-security-settings.html)
is not really clear: Before its given example, it states: As of the first
release, only SCP deployments and file deployments are supported by default,
so only the following SCP configuration is needed: ... on the other hand,
latest Maven book gives an example with ftp. so ..

question 2: 
If both servers need a signon (possibly with different user/password ) will
it be ok to have for Maven users the following settings.xml :

server
idinternalDeploy/id
usernameftp_user/username
passwordblabla/password
/server

server
idinternalShared/id
usernameuser_xyz/username
passwordblabla/password
/server

and more generally what is the usage scope of the server ... /server
specs in settings.xml ?

Thanks for any additionnal info,

Christian-Luc
-- 
View this message in context: 
http://www.nabble.com/Maven-Repositories-acess---servers---signon-specs-in-settings.xml-tf4568000s177.html#a13037401
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: maven-antrun-plugin

2007-10-04 Thread Andreas Rudolf

Hi,
I tried to use this feature, but with no success.
Neither if nor unless work.

I tried Version 1.1 and 1.2-SNAPSHOT of antrun-plugin.

Is there somewhere a successstory about this tasks attributes?

Regards
Andreas


Michael Meyer-5 wrote:
 
 Hi
 in the example[1] they use unless=maven.test.skip and not 
 unless=${maven.test.skip}. Just a guess...
 
 Cheers, michael
 
 [1] 
 http://maven.apache.org/plugins/maven-antrun-plugin/examples/tasksAttributes.html
 
 [EMAIL PROTECTED] wrote:
 Do the if and/or unless attributes of the tasks element actually work? 
 It seems that my ant code gets run no matter what.
 
 plugins
   plugin
 artifactIdmaven-antrun-plugin/artifactId
 executions
   execution
 phaseinstall/phase
 configuration
   tasks if=${XX} !-- runs even if i change to unless 
 --
 echoEcho here/echo
   /tasks
 /configuration
 goals
   goalrun/goal
 /goals
   /execution
 /executions
   /plugin
 /plugins
 
 Robert Egan
 
 
 This email message and any attachments may contain confidential, 
 proprietary or non-public information.  The information is intended
 solely 
 for the designated recipient(s).  If an addressing or transmission error 
 has misdirected this email, please notify the sender immediately and 
 destroy this email.  Any review, dissemination, use or reliance upon this 
 information by unintended recipients is prohibited.  Any opinions 
 expressed in this email are those of the author personally.
 
 -- 
 Michael Meyer | [EMAIL PROTECTED]
 phone +41-44-247 79 12 | fax +41-44-247 70 75
 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/maven-antrun-plugin-tf4272816s177.html#a13037744
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Load a property file in a pom.xml

2007-10-04 Thread Gisbert Amm

The Maven way is to use snapshots or version ranges for that.

-Gisbert

NiranjanG wrote:
Hi, 


 Can anyone let me know, How I can load a property file in pom.xml.

For eg., in my pom.xml, I have to update the version of a dependency jar .
dynamically, which will be available in a global property file.

This is needed because, the component I work depends on 15 otehr componets,
and I do not have any automated way to know the latest versions of the
binaries published by them.
I decided to have a global property file, which contains all the component's
latest versions( which will be updated dynamically ,when they publish their
binary, and I want update my pom automatically with the values in that file,
so that I will not need to modify my pom everyday.

Your suggestions will be invaluable to me.
Thanks,
Niranjan


--
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: [EMAIL PROTECTED]
Internet: www.1und1.de

11 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas 
Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Norbert 
Lang, Achim Weiss

Aufsichtsratsvorsitzender: Michael Scheeren

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



apt macro in doxia book not working

2007-10-04 Thread David Roussel

Hi,

I'm using doxia-maven-plugin 1.0-alpha-9 using APT as the input format.   I
can get it to generate latex, pdf, xdoc, rtf, xhtml.

However, if I try to use a macro as documented
(http://maven.apache.org/doxia/macros/index.html), like the example that
follows.  Then the macro is not expanded, it is just ignored.  Any ideas for
fixes?

Thanks

David

Example APT with macro

 --
Title
 --
John Smith
David Jones
 --
27 September 2007
 --

Title

~~ Use table of contents macro

%{toc|section=2|fromDepth=0|toDepth=4}

* Introduction 

  Blah blah blah blah blah blah blah blah blah blah...

-- 
View this message in context: 
http://www.nabble.com/apt-macro-in-doxia-book-not-working-tf4568267.html#a13038140
Sent from the Doxia - Users mailing list archive at Nabble.com.



Re: Maven Repositories acess / servers / signon specs in settings.xml

2007-10-04 Thread Damien Lecan
Hello,

2007/10/4, houzecl [EMAIL PROTECTED]:
 question 2:
 If both servers need a signon (possibly with different user/password ) will
 it be ok to have for Maven users the following settings.xml :
 and more generally what is the usage scope of the server ... /server
 specs in settings.xml ?

http://maven.apache.org/ref/2.0.7/maven-settings/settings.html

Damien Lecan

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



Re: apt macro in doxia book not working

2007-10-04 Thread Lukas Theussl
Best thing would be to open a JIRA ticket ( 
http://jira.codehaus.org/browse/DOXIA ) and attach a simple test project.


Thanks!
-Lukas


David Roussel wrote:

Hi,

I'm using doxia-maven-plugin 1.0-alpha-9 using APT as the input format.   I
can get it to generate latex, pdf, xdoc, rtf, xhtml.

However, if I try to use a macro as documented
(http://maven.apache.org/doxia/macros/index.html), like the example that
follows.  Then the macro is not expanded, it is just ignored.  Any ideas for
fixes?

Thanks

David

Example APT with macro

 --
Title
 --
John Smith
David Jones
 --
27 September 2007
 --

Title

~~ Use table of contents macro

%{toc|section=2|fromDepth=0|toDepth=4}

* Introduction 


  Blah blah blah blah blah blah blah blah blah blah...



Load a property file in a pom.xml

2007-10-04 Thread NiranjanG

Hi, 

 Can anyone let me know, How I can load a property file in pom.xml.

For eg., in my pom.xml, I have to update the version of a dependency jar .
dynamically, which will be available in a global property file.

This is needed because, the component I work depends on 15 otehr componets,
and I do not have any automated way to know the latest versions of the
binaries published by them.
I decided to have a global property file, which contains all the component's
latest versions( which will be updated dynamically ,when they publish their
binary, and I want update my pom automatically with the values in that file,
so that I will not need to modify my pom everyday.

Your suggestions will be invaluable to me.
Thanks,
Niranjan
-- 
View this message in context: 
http://www.nabble.com/Load-a-property-file-in-a-pom.xml-tf4568201s177.html#a13037948
Sent from the Maven - Users mailing list archive at Nabble.com.


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



doxia book with APT verbatim text not monospaced in PDF

2007-10-04 Thread David Roussel

Hi,

I'm using doxia-maven-plugin 1.0-alpha-9 with  APT as an imput source.  When
I generate xhtml then the verbatim text comes out fine as a pre tag.  When I
generate PDF the verbatim text is rendered with a variable width font, thus
my code examples are all over the place.

Should I raise an issue in Jira?

Thanks

David
-- 
View this message in context: 
http://www.nabble.com/doxia-book-with-APT-verbatim-text-not-monospaced-in-PDF-tf4568305.html#a13038250
Sent from the Doxia - Users mailing list archive at Nabble.com.



RE: checkstyle plugins: maven and eclipse

2007-10-04 Thread Hayes, Peter
In my organization we have created a super pom that all projects inherit
from.  Within that super pom, we have configured the eclipse plugin to
generate a standard .checkstyle file that includes the same rules that
are applied by the maven build.  This works well but you do have to keep
the two in sync.

See :
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#a
dditionalConfig

-Original Message-
From: houzecl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 4:02 AM
To: users@maven.apache.org
Subject: Re: checkstyle plugins: maven and eclipse


Yes, the last part of your post is what we'd like to do:

One mavenized projet holding a set of configuration files.
So that you can version, deploy, and access the jar containing the
appropriate set of rules.
We do not want to embed the rules inside the project(s) that will be
using
the rules.
we want these rules to be common (as sun_checks). 

Therefore, once the rules'jar is available in the repository, it can be
accessed by maven (no probs)
BUT how can you make it available to eclipse at the same time ? (do you
explode the jar in the repository when you deploy it ?, so that eclipse
checkstyle can reference the xml files ...)

anyway, I posted the question in checkstyle mailing list.
If I get an answer, I'll post it

good day,

Christian-Luc



Greg_Vaughn wrote:
 
 I am using maven-checkstyle-plugin with a specific configuration file

 (I made it as a resource in a jar and the plugin configuration works 
 fine:
 checkstyle - or the plugin - is clever enough to get the xml file out
of 
 the
 dependency jar)
 
 I'd like to do the same within eclipse with the 
 eclipse-checkstyle-plugin
 (so that checkstyle can be active during eclipse work, not just when
 building with maven)
 Unfortunately the checkstyle preference window does not seem to allow
a
 reference to a jar.
 it needs an xml file
 This is not really a maven question but someone may know if my
request 
 is
 possible ???
 
 We did this last year, but the details aren't fresh on my mind. Let me

 know
 if this general approach is not enough.
 
 We attached the checkstyle xml file to the project so it was deployed 
 along
 with the jar file to our corporate maven repository. Since that
repository
 is available via http, we configured the eclipse plugin to use that
url.
 
 Now we have one mavenized project to manage the checkstyle rules. When
we
 deploy it, the checkstyle rules become available to both maven and
eclipse
 at the same time.
 
 -Greg Vaughn
 
 
 ==
 
 Confidentiality Notice: The information contained in and transmitted
with
 this communication is strictly confidential, is intended only for the
use
 of the intended recipient, and is the property of Countrywide
Financial
 Corporation or its affiliates and subsidiaries. If you are not the
 intended recipient, you are hereby notified that any use of the
 information contained in or transmitted with the communication or
 dissemination, distribution, or copying of this communication is
strictly
 prohibited by law. If you have received this communication in error,
 please immediately return this communication to the sender and delete
the
 original message and any copy of it in your possession.
 
 ==
 
 
 

-- 
View this message in context:
http://www.nabble.com/checkstyle-plugins%3A-maven-and-eclipse-tf4562913s
177.html#a13034381
Sent from the Maven - Users mailing list archive at Nabble.com.


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




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



Re: How to use mvn eclipse:eclipse

2007-10-04 Thread Dave Feltenberger
Yes, unfortunately the Eclipse plugin isn't smart enough to put a
blank .project and .classpath file in the typepom/type project(s).
 Copy the .project from one of the sub-modules, change the project
name, and remove all the project references.  Then do the same with
the .classpath, removing the classpath entries from it.

On 10/4/07, LukeLallu [EMAIL PROTECTED] wrote:


 I created a EAR Project using the following cammand

 mvn -U archetype:create -DgroupId=com.mycompany.app -DartifactId=my-ear-app
 -Dpackagename=com.mycompany.app
 -DarchetypeArtifactId=maven-archetype-j2ee-simple

 Then I ran mvn eclipse:eclipse

 I wanted to open as an Exsisting project(my-ear-app) in WSAD but .project
 files are created within my sub - modules inside my-ear-app and not in
 my-ear-app folder, so how to see the whole of EAR in WSAD with all the
 modules.

 Regards

 Luke
 --
 View this message in context: 
 http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13033901
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



Re: Deploy a proyect with all Jar's needed

2007-10-04 Thread Wayne Fay
What kind of project are you building? What is your ultimate goal with
the code -- what are you doing with it? You probably need to use
assembly plugin to build a jar-with-dependencies or use one of the
izpack plugin or one of several other options, so tell us more about
your project and someone will suggest the best choice.

Wayne

On 10/4/07, javijava [EMAIL PROTECTED] wrote:

 Hi ,

 I want to know something: When i do a MVN DEPLOY, the proyect is now stored
 in a remote
 repository configurated, ok, but all the jar's that the project need to run
 dont be deployed too.
 There is some way to do this?

 Thaks a lot

 --
 View this message in context: 
 http://www.nabble.com/Deploy-a-proyect-with-all--Jar%27s-needed-tf4568997s177.html#a13040477
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



deployment with webdav succeeds but fails

2007-10-04 Thread cbrown

  I'm doing a lot of first time setup with Geronmio hosting Proximity,
and using WebDAV to deploy a jar.

  I'm stuck at a point where 'mvn deploy' reports 

[INFO] Error deploying artifact: Failed to transfer file:
http://...snipjar Return code is: 500 Internal Server Error

  When I look at the server log, I see successful creation of
directories in the repository, and the 500 response to the PUT request
for the .jar.

   When I look into the repo directories, the jar is there, and it
appears uncorrupted.

  Any suggestions?



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



RE: mvn site and multprojects

2007-10-04 Thread Holt, Jack C.
OK.  It turns out that I had url tags in all but one POM that said the
modules were at maven.apache.org.  I have removed them and things have
changed but I still don't have a solution.  Without any url tags in my
pom.xml's the links for my subprojects point to main project
dir/target/site/subproject dir/index.html whereas main project
dir/subproject dir/target/site/index.html is correct.  How do I fix
that?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Holt, Jack C.
Sent: Wednesday, October 03, 2007 3:02 PM
To: users@maven.apache.org
Subject: mvn site and multprojects

I have a project that contains several subprojects.  When I run mvn
site in the top-level project's directory, the index.html contains
links for the subprojects but they point to
http://maven.apache.org/index.html.  I assume this is a default that is
not getting overridden because I haven't configured my POM's correctly.

snip

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



Re: M2: how to create jni .jar .so file from same pom.xml

2007-10-04 Thread Joseph Argiro

thanks dan

worked on the first try!!

--joe

Dan Tran wrote:

I just cooked one up

http://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/src/it/jni/java-win32/

-D



On 10/3/07, Joe Argiro [EMAIL PROTECTED] wrote:
  

Dan

I'm new to maven2... i tried adding phase to the compile  jar plugins
but can't get it to work

could you give me an example

thanks!
--joe

- Original Message -
From: Dan Tran [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Wednesday, October 03, 2007 11:24 PM
Subject: Re: M2: how to create jni .jar  .so file from same pom.xml




force maven-compiler-plugin and maven-jar-plugin to compile and
package your java classes at 'initialize' phase, and then
native-maven-plugin will take over.

then you  will need build-helper-maven-plugin to attach you jar for
  

deployment.


-D

On 10/3/07, Joe Argiro [EMAIL PROTECTED] wrote:
  

Hi

I attempting to migrate from  maven to maven2.

I have an existing project which creates a jar file and  a corresponding
.so file
I'd like to be avoid changing the existing directory structure  which


looks


like

project  - (pom.xml )
project/src/java  - (*.java)
project/src/unix   - (*.c *.h)


the pom.xml is below
if I set the packaging  to  jar.  it creates the jar file
if I set it to .so  it creates the .so file

how do i get it to do both at the same time

thanks!
--joe


-
pom.xml -

project
  groupIdapp/groupId
  artifactIdapp1/artifactId
  packagingjar/packaging
  !-- packagingso/packaging --
  version9.3/version
 properties
compilerStartOptions-g -fPIC/compilerStartOptions



   linkerStartOptions-g -fPIC -mimpure-text -shared/linkerStartOptions







linkerEndOptions-L/usr/lib/shared -lboost_signals-gcc -lboost_thread-gcc-m


t -lsocket -lnsl -lresolv/linkerEndOptions
 /properties
  build
defaultGoalinstall/defaultGoal
sourceDirectorysrc/java/sourceDirectory
testSourceDirectorysrc/test/java/testSourceDirectory
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
  /plugin
  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdnative-maven-plugin/artifactId
extensionstrue/extensions
configuration
  compilerStartOptions

compilerStartOption${compilerStartOptions}/compilerStartOption
  /compilerStartOptions
  sources
source
  directorysrc/unix/directory
  includes
include*.c/include
  /includes
/source
source
  directorysrc/unix/directory
/source
  /sources
  linkerStartOptions
linkerStartOption${linkerStartOptions}/linkerStartOption
  /linkerStartOptions
  linkerEndOptions
linkerEndOption${linkerEndOptions}/linkerEndOption
  /linkerEndOptions
/configuration
executions
  execution
idjavah/id
phasegenerate-sources/phase
configuration
verbosetrue/verbose
  classNames
classNameclass1/className
classNameclass2/className
  /classNames
   /configuration
goals
  goaljavah/goal
/goals
  /execution
/executions
  /plugin
  /build
/project


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




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

  



--

--
Joseph Argiro
Phone: 1-973-438-5736
Email: [EMAIL PROTECTED]


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



Deploy a proyect with all Jar's needed

2007-10-04 Thread javijava

Hi ,

I want to know something: When i do a MVN DEPLOY, the proyect is now stored
in a remote
repository configurated, ok, but all the jar's that the project need to run
dont be deployed too.
There is some way to do this?

Thaks a lot

-- 
View this message in context: 
http://www.nabble.com/Deploy-a-proyect-with-all--Jar%27s-needed-tf4568997s177.html#a13040477
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: MAVEN - FATAL ERROR - on mvn jbi..

2007-10-04 Thread Wayne Fay
Please send your questions to the ServiceMix people, who seem to be
the creators of this jbi plugin.

Also, Maven2 does not use build.properties. So you will need to
configure your proxy in ~/.m2/settings.xml.

Wayne

On 10/4/07, KIRA1983 [EMAIL PROTECTED] wrote:


 maybe but maybe..
 if try to use mvn offline i see that repository list down for fuse 3.3.0.0
 with my browser and.. not exist nothing!
 so, can i doing?


 KIRA1983 wrote:
 
  i launch this command:  mvn jbi:embeddedServicemix
   the result:
 
 
  Downloading:
  http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/samples/3.3.0.0-fuse/samples-3.3.0.0-fuse.pom
  Downloading:
  http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.3.0.0-fuse/samples-3.3.0.0-fuse.pom
  Downloading:
  http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.3.0.0-fuse/samples-3.3.0.0-fuse.pom
  [INFO]
  
  [ERROR] FATAL ERROR
  [INFO]
  
  [INFO] Error building POM (may not be this project's POM).
 
 
  Project ID: org.apache.servicemix.samples:basic:jar:null
 
  Reason: Cannot find parent: org.apache.servicemix:samples for project:
  org.apache.servicemix.samples:basic:jar:null for project
  org.apache.servicemix.samples:basic:jar:null
 
  in first time i think that this error born by proxy, so i created a
  build.properties in MAVEN_HOME with all parameters, but the error stay.
   thanks
 

 --
 View this message in context: 
 http://www.nabble.com/MAVEN---FATAL-ERROR---on-mvn-jbi..-tf4566673s177.html#a13035478
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



Re: Maven Repositories acess / servers / signon specs in settings.xml

2007-10-04 Thread houzecl

well, I already looked at settings reference. As it is pointed out somewhere
else in this forum (cf. why maven is hard or improving maven site docs)
among others topics, this specific feature (security) is not really clear,
and I'd just like  to have a confirmation that server settings apply to any
repository server (wether it is ftp, http, webdav,...) before setting up all
of it.

Regarding documentation issues, in the settings reference one can find for 
the server element:
...
configuration:  Extra configuration for the transport layer.
id: No description.

I am not sure that No description or extra configuration for the
transport layer is really helpful.

Also, I forgot about build extensions. Maven site doc states:

To publish to the repository, you will need to have access via one of SCP,
SFTP, FTP, WebDAV, or the filesystem. Connectivity is accomplished with the
various wagons . Some wagons may need to be added as extension  to your
build. Then if you jump to extension, it states:

 Describes a build extension to utilise.
Element Description
groupId The group ID of the extension's artifact.
artifactId  The artifact ID of the extension.
version The version of the extension.

Well, i'm not sure this really helps. So let's go to the book Maven: The
Definitive Guide. Fortunately, here it says an extension is needed for
transport others than (file and http) and gives an example for FTP. 

Okay, now I know that i'll need extensions for ftp or webdav.
What will be the impact of these extensions, when I'll have to initialize my
repositories with some manual deployments ? For this, Maven site
(http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html) 
states:

First, the wagon-provider(wagon-ftp, wagon-file, etc..) must be placed to
your %M2_HOME%/lib.

but some more google search will take me to:

http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party+Jars+With+WebDAV,
or
http://maven.apache.org/plugins/maven-deploy-plugin/faq.html#question

Plus, there is nothing about each respective wagon-provider within the wagon
site. Which link should I trust ? How do I know exactly which jars are
really needed ? 

Please, forgive me if I look pushy. I am very grateful for all Maven's
developers work and anwers people are giving in this forum. It's just not
that easy to get reliable and appropriate information, probably because
Maven (by its extensible plugin nature) explodes it. 



Damien Lecan 2 wrote:
 
 Hello,
 
 2007/10/4, houzecl [EMAIL PROTECTED]:
 question 2:
 If both servers need a signon (possibly with different user/password )
 will
 it be ok to have for Maven users the following settings.xml :
 and more generally what is the usage scope of the server ... /server
 specs in settings.xml ?
 
 http://maven.apache.org/ref/2.0.7/maven-settings/settings.html
 
 Damien Lecan
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Maven-Repositories-acess---servers---signon-specs-in-settings.xml-tf4568000s177.html#a13040892
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Using POM properties into the filters

2007-10-04 Thread mateamargo

Is there any way to use the propeties defined in the POM (or even the
settings.xml) in the files that will be used as filters?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Using-POM-properties-into-the-filters-tf4569192s177.html#a13041084
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Multi-module deploy results in partial deployment on module build failure

2007-10-04 Thread Hayes, Peter
I have noticed that during a multi-module deploy build it is possible
that poms / artifacts are deployed to the repository even if a
subsequent module fails and the build is stopped.  This seems to be
suboptimal (from my perspective).  Are there any thoughts about making
this an all-or-nothing function?

Peter Hayes
Architecture  Shared Technology Services | Fidelity Investments
Management Technology



Archiva build failure on archiva-dependency-graph

2007-10-04 Thread Banck, Arent-Jan
Hi,
I am trying to build maven from subversion using Maven 2.0.7, but build
halts on archiva-dependency-graph tests.
Is this a known problem / how can it be fixed?
 
Thanks,
Arent-Jan
 
 
 
[INFO] Scanning for projects...
[INFO]


[INFO] Building Archiva Base :: Dependency Graph
[INFO]task-segment: [clean, install]
[INFO]


[INFO] [clean:clean]
[INFO] Deleting directory
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target
[INFO] Deleting directory
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\cla
sses
[INFO] Deleting directory
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\tes
t-classes
[INFO] Deleting directory
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\sit
e
[INFO] [plexus:descriptor {execution: generate}]
[INFO] [plexus:descriptor {execution: descriptor}]
[INFO] Setting property: classpath.resource.loader.class =
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on = 'false'.
[INFO] Setting property: resource.loader = 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound = 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 53 source files to
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\cla
sses
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 27 source files to
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\tes
t-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\sur
efire-reports
 
---
 T E S T S
---
Running
org.apache.maven.archiva.dependency.graph.DepManDeepVersionDependencyGra
phTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203
sec
Running
org.apache.maven.archiva.dependency.graph.ArchivaWebappDependencyGraphTe
st
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.938
sec
Running
org.apache.maven.archiva.dependency.graph.MavenProjectInfoReportsPluginD
ependencyGraphTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.187
sec  FAILURE!
Running
org.apache.maven.archiva.dependency.graph.walk.DependencyGraphWalkerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
sec
Running
org.apache.maven.archiva.dependency.graph.tasks.DependencyManagementStac
kTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running
org.apache.maven.archiva.dependency.graph.ArchivaXmlToolsDependencyGraph
Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078
sec
Running
org.apache.maven.archiva.dependency.graph.ArchivaCommonDependencyGraphTe
st
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047
sec
Running
org.apache.maven.archiva.dependency.graph.WagonManagerDependencyGraphTes
t
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031
sec
Running
org.apache.maven.archiva.dependency.graph.SimpleDependencyGraphTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
sec
Running
org.apache.maven.archiva.dependency.graph.ContinuumStoreDependencyGraphT
est
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079
sec
 
Results :
Tests run: 15, Failures: 1, Errors: 0, Skipped: 0
 
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Oct 04 16:13:13 CEST 2007
[INFO] Final Memory: 14M/28M
[INFO]



problem with profile changing artifact Id and install ignoring it

2007-10-04 Thread cbrown

I create a simple project with;

  mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

Then I edited the pom, and added the following profile;

   profiles
profile
  activation
os
  namesunos/name
  archsparc/arch
/os
  /activation
  properties
  artifactIdmy-app-withasuffix/artifactId
  /properties
/profile
   /profiles

Then I did a 'mvn install'.  I see something unexpected when the
install:install happens. The jar built in my project workspace is
correctly named, but the install:install changes it to an incorrect
name.  

  [INFO] [jar:jar]
  [INFO] Building
jar: /export/home/cbrown/junk/my-app/target/my-app-withasuffix-1.0-SNAPSHOT.jar
  [INFO] [install:install]
  [INFO]
Installing 
/export/home/cbrown/junk/my-app/target/my-app-withasuffix-1.0-SNAPSHOT.jar to 
/export/home/cbrown/.m2/repository/com/mycompany/app/my-app/1.0-SNAPSHOT/my-app-1.0-SNAPSHOT.jar

Is this a maven bug, or am I missing a nuance of maven?



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



RE: Load a property file in a pom.xml

2007-10-04 Thread Sonar, Nishant

You can use a maven-properties-plugin developed by Zarar Sidddiqui ,
this way u can have a properties file , and all name=value pairs
available to the build from the global prop file.

http://arsenalist.com/2007/02/07/maven-properties-plugin-download/


Thanks
Nishant Sonar
-Original Message-
From: Gisbert Amm [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 7:39 AM
To: Maven Users List
Subject: Re: Load a property file in a pom.xml

The Maven way is to use snapshots or version ranges for that.

-Gisbert

NiranjanG wrote:
 Hi, 
 
  Can anyone let me know, How I can load a property file in pom.xml.
 
 For eg., in my pom.xml, I have to update the version of a dependency
jar .
 dynamically, which will be available in a global property file.
 
 This is needed because, the component I work depends on 15 otehr
componets,
 and I do not have any automated way to know the latest versions of the
 binaries published by them.
 I decided to have a global property file, which contains all the
component's
 latest versions( which will be updated dynamically ,when they publish
their
 binary, and I want update my pom automatically with the values in that
file,
 so that I will not need to modify my pom everyday.
 
 Your suggestions will be invaluable to me.
 Thanks,
 Niranjan

-- 
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: [EMAIL PROTECTED]
Internet: www.1und1.de

11 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas 
Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Norbert 
Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren

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


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



Re: Deploy a proyect with all Jar's needed

2007-10-04 Thread Wayne Fay
EAR's and WAR's pack the dependencies inside the file, so most J2EE
apps don't need to worry too much about this issue. But standalone
applications (Swing etc) generally do not package the dependencies
unless you configure the assembly plugin or another similar plugin.
This is why I'm asking what kind of projects you're building.

You might find the following thread useful -- search the archives at Nabble:
fromWim Deblauwe
to  Maven Users List users@maven.apache.org
dateOct 2, 2007 6:28 AM
subject How do people handle installers/exe/bat/sh in maven?

Wayne

On 10/4/07, javijava [EMAIL PROTECTED] wrote:

 well the question is generic but more simple, command Mvn deploy put only the
 project
 on the repository, but not 3 party jar.

 if my project need  (i.e.) one.jar , two.jar and tree.jar
 How can i define the  assembly plugin  you say and deploy too this files?
 How can i use an izpack plugin?
 i don't want do a manual  deploy-file  for each jar.

 i supose, i can write code associated to cycle deploy to search the 3 party
 jars but i don't
 know how to do it, i'm a little newbie in maven.

 a lot of thanks 4 the quicly response!!!
 --
 View this message in context: 
 http://www.nabble.com/Deploy-a-proyect-with-all--Jar%27s-needed-tf4568997s177.html#a13040918
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



Re: Deploy a proyect with all Jar's needed

2007-10-04 Thread javijava

Yeah,sorry 4 not include details, in this case i must configure the
assembly-plugin (standalone). then

I think i must associate this plugin to the deploy cycle...
and i must especify the fiches to assembly on a XML file. is rigth?

can you put a little simple example? (like the one too tree .jar files )

Thanks a lot.

-- 
View this message in context: 
http://www.nabble.com/Deploy-a-proyect-with-all--Jar%27s-needed-tf4568997s177.html#a13041694
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Deploy a proyect with all Jar's needed

2007-10-04 Thread javijava

well the question is generic but more simple, command Mvn deploy put only the
project 
on the repository, but not 3 party jar.

if my project need  (i.e.) one.jar , two.jar and tree.jar 
How can i define the  assembly plugin  you say and deploy too this files?
How can i use an izpack plugin?
i don't want do a manual  deploy-file  for each jar.

i supose, i can write code associated to cycle deploy to search the 3 party
jars but i don't 
know how to do it, i'm a little newbie in maven.

a lot of thanks 4 the quicly response!!!
-- 
View this message in context: 
http://www.nabble.com/Deploy-a-proyect-with-all--Jar%27s-needed-tf4568997s177.html#a13040918
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: doxia book with APT verbatim text not monospaced in PDF

2007-10-04 Thread Lukas Theussl
looks like an issue in the itext module. Open a jira and assign it to 
Vincent! ;)


-Lukas


David Roussel wrote:

Hi,

I'm using doxia-maven-plugin 1.0-alpha-9 with  APT as an imput source.  When
I generate xhtml then the verbatim text comes out fine as a pre tag.  When I
generate PDF the verbatim text is rendered with a variable width font, thus
my code examples are all over the place.

Should I raise an issue in Jira?

Thanks

David


Changing the working rirectory sub folder names

2007-10-04 Thread Mark Eramo

Hello,
 I was wondering, does anyone know if there is a way to set the names 
of the folders that hold the build output?


For example, in the Configuration section, I set the Working Directory 
to: */home/build/builds*


If I build project *foo*, the output of this directory goes into: 
*/home/build/builds/1


*I would like it to go into: */home/build/builds/foo

*Is there a setting somewhere that will allow me to for example, use the 
Maven2 articaftId as the folder name or to somehow set it per project?


Regards,
Mark



Re: Archiva build failure on archiva-dependency-graph

2007-10-04 Thread Joakim Erdfelt

Looks like you were compiling with JDK6.  Is that true?

We have an open issue with regards to JDK 6 - 
http://jira.codehaus.org/browse/MRM-514


- Joakim

Banck, Arent-Jan wrote:

Hi,
I am trying to build maven from subversion using Maven 2.0.7, but build
halts on archiva-dependency-graph tests.
Is this a known problem / how can it be fixed?
 
Thanks,

Arent-Jan
 
 
 
[INFO] Scanning for projects...

[INFO]


[INFO] Building Archiva Base :: Dependency Graph
[INFO]task-segment: [clean, install]
[INFO]


[INFO] [clean:clean]
[INFO] Deleting directory
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target
[INFO] Deleting directory
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\cla
sses
[INFO] Deleting directory
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\tes
t-classes
[INFO] Deleting directory
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\sit
e
[INFO] [plexus:descriptor {execution: generate}]
[INFO] [plexus:descriptor {execution: descriptor}]
[INFO] Setting property: classpath.resource.loader.class =
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on = 'false'.
[INFO] Setting property: resource.loader = 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound = 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 53 source files to
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\cla
sses
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 27 source files to
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\tes
t-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\sur
efire-reports
 
---

 T E S T S
---
Running
org.apache.maven.archiva.dependency.graph.DepManDeepVersionDependencyGra
phTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203
sec
Running
org.apache.maven.archiva.dependency.graph.ArchivaWebappDependencyGraphTe
st
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.938
sec
Running
org.apache.maven.archiva.dependency.graph.MavenProjectInfoReportsPluginD
ependencyGraphTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.187
sec  FAILURE!
Running
org.apache.maven.archiva.dependency.graph.walk.DependencyGraphWalkerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
sec
Running
org.apache.maven.archiva.dependency.graph.tasks.DependencyManagementStac
kTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running
org.apache.maven.archiva.dependency.graph.ArchivaXmlToolsDependencyGraph
Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078
sec
Running
org.apache.maven.archiva.dependency.graph.ArchivaCommonDependencyGraphTe
st
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047
sec
Running
org.apache.maven.archiva.dependency.graph.WagonManagerDependencyGraphTes
t
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031
sec
Running
org.apache.maven.archiva.dependency.graph.SimpleDependencyGraphTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
sec
Running
org.apache.maven.archiva.dependency.graph.ContinuumStoreDependencyGraphT
est
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079
sec
 
Results :

Tests run: 15, Failures: 1, Errors: 0, Skipped: 0
 
[INFO]


[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Oct 04 16:13:13 CEST 2007
[INFO] Final Memory: 14M/28M
[INFO]


  



--
- Joakim Erdfelt
 [EMAIL PROTECTED]
 Open Source Software (OSS) Developer



Re: Changing the working rirectory sub folder names

2007-10-04 Thread Emmanuel Venisse



Mark Eramo a écrit :

Hello,
 I was wondering, does anyone know if there is a way to set the names of 
the folders that hold the build output?


no, the folder name is the project id and can't be modified actually.

Why do you want to use something else?



For example, in the Configuration section, I set the Working Directory 
to: */home/build/builds*


If I build project *foo*, the output of this directory goes into: 
*/home/build/builds/1


*I would like it to go into: */home/build/builds/foo

*Is there a setting somewhere that will allow me to for example, use the 
Maven2 articaftId as the folder name or to somehow set it per project?


no. In the development process, the artifactId can be changed so I think it's 
better to be independant of it.
How will you resolve multiple branches of the same project if you use it?
artifactId is a maven thing but Continuum support ant and shell script 
projectsthat don't have an artifactId.

Emmanuel



Re: MAVEN - FATAL ERROR - on mvn jbi..

2007-10-04 Thread KIRA1983

stack of my error
i put settings.xml both home/.m2/.. that HOME_MAVEN/conf/...
don't work..
why???
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.servicemix.samples:basic:jar:null

Reason: Cannot find parent: org.apache.servicemix:samples for project:
org.apache.servicemix.samples:basic:jar:null for project
org.apache.servicemix.samples:basic:jar:null


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.apache.servicemix:samples for project:
org.apache.servicemix.samples:basic:jar:null for project
org.apache.servicemix.samples:basic:jar:null
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.apache.servicemix:samples for project:
org.apache.servicemix.samples:basic:jar:null for project
org.apache.servicemix.samples:basic:jar:null
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1261)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:747)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:479)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
   
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.apache.servicemix:samples' not found in repository: Unable to download
the artifact from any repository

  org.apache.servicemix:samples:pom:3.3.0.0-fuse

from the specified remote repositories:
  apache-incubating
(http://people.apache.org/repo/m2-incubating-repository),
  open.iona.m2-snapshot (http://repo.open.iona.com/maven2-snapshot),
  open.iona.m2 (http://repo.open.iona.com/maven2),
  central (http://repo1.maven.org/maven2)
 for project org.apache.servicemix:samples
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:573)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1257)
... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository

  org.apache.servicemix:samples:pom:3.3.0.0-fuse

from the specified remote repositories:
  apache-incubating
(http://people.apache.org/repo/m2-incubating-repository),
  open.iona.m2-snapshot (http://repo.open.iona.com/maven2-snapshot),
  open.iona.m2 (http://repo.open.iona.com/maven2),
  central (http://repo1.maven.org/maven2)

at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:526)
... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact from any repository
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185)
... 20 more
[INFO]

[INFO] Total time: 9 minutes 27 seconds
[INFO] Finished at: Thu Oct 04 17:19:53 CEST 2007
[INFO] Final Memory: 1M/4M
[INFO]  




Wayne Fay wrote:
 
 Please send your questions to the ServiceMix 

Re: Multi-module deploy results in partial deployment on module build failure

2007-10-04 Thread Wayne Fay
Making deployment a transactional procedure has been discussed and is
certainly on the minds of the Maven Dev team, but I don't believe
there is any particular timeframe to resolve this issue. I imagine
there's a JIRA already posted -- you may want to search for it and
vote/watch it.

Wayne

On 10/4/07, Hayes, Peter [EMAIL PROTECTED] wrote:
 I have noticed that during a multi-module deploy build it is possible
 that poms / artifacts are deployed to the repository even if a
 subsequent module fails and the build is stopped.  This seems to be
 suboptimal (from my perspective).  Are there any thoughts about making
 this an all-or-nothing function?

 Peter Hayes
 Architecture  Shared Technology Services | Fidelity Investments
 Management Technology



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



Re: problem with profile changing artifact Id and install ignoring it

2007-10-04 Thread Wayne Fay
You should try classifier instead for this kind of functionality.
Not sure if it will change the installed name, but give it a try.

Wayne

On 10/4/07, cbrown [EMAIL PROTECTED] wrote:

 I create a simple project with;

   mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

 Then I edited the pom, and added the following profile;

profiles
 profile
   activation
 os
   namesunos/name
   archsparc/arch
 /os
   /activation
   properties
   artifactIdmy-app-withasuffix/artifactId
   /properties
 /profile
/profiles

 Then I did a 'mvn install'.  I see something unexpected when the
 install:install happens. The jar built in my project workspace is
 correctly named, but the install:install changes it to an incorrect
 name.

   [INFO] [jar:jar]
   [INFO] Building
 jar: 
 /export/home/cbrown/junk/my-app/target/my-app-withasuffix-1.0-SNAPSHOT.jar
   [INFO] [install:install]
   [INFO]
 Installing 
 /export/home/cbrown/junk/my-app/target/my-app-withasuffix-1.0-SNAPSHOT.jar to 
 /export/home/cbrown/.m2/repository/com/mycompany/app/my-app/1.0-SNAPSHOT/my-app-1.0-SNAPSHOT.jar

 Is this a maven bug, or am I missing a nuance of maven?



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



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



exclude .svn folders with maven-source-plugin

2007-10-04 Thread ossi petz

hallo

i dont know exaclty when this started to happen:
i added the maven source plugin to the build section.

i noticed the created sources.jar contains the '.svn' folders from the 
source directory.


is there a way to exclude them?


thanks a lot :)

ossi


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



Re: Load a property file in a pom.xml

2007-10-04 Thread Joshua ChaitinPollak
We have this same problem. How do you specify a version range in a  
dependancy?


On Oct 4, 2007, at 7:39 AM, Gisbert Amm wrote:


The Maven way is to use snapshots or version ranges for that.

-Gisbert

NiranjanG wrote:
Hi,  Can anyone let me know, How I can load a property file in  
pom.xml.
For eg., in my pom.xml, I have to update the version of a  
dependency jar .

dynamically, which will be available in a global property file.
This is needed because, the component I work depends on 15 otehr  
componets,
and I do not have any automated way to know the latest versions of  
the

binaries published by them.
I decided to have a global property file, which contains all the  
component's
latest versions( which will be updated dynamically ,when they  
publish their
binary, and I want update my pom automatically with the values in  
that file,

so that I will not need to modify my pom everyday.
Your suggestions will be invaluable to me.
Thanks,
Niranjan


--
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: [EMAIL PROTECTED]
Internet: www.1und1.de

11 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich,  
Andreas Gauger, Thomas Gottschlich, Matthias Greve, Robert  
Hoffmann, Norbert Lang, Achim Weiss

Aufsichtsratsvorsitzender: Michael Scheeren

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




--
Joshua ChaitinPollak
Software Engineer
Kiva Systems



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



RE: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-10-04 Thread houzecl

The enforcer plugin will hopefully help to have better control on plugin
version
with the Require Plugin Versions.
I tried to use it. (because I had myself to switch back to previous assembly
version: I suddenly got a .dir addition to the directories created by
assembly ) 

However this Require Plugin Versions seems only available in
1.0-alpha-4-SNAPSHOT
(I am currently using 1.0-alpha-3)

Totally agree that in corporate environment we must have a very close
control on the plugins used.

Christian-Luc



Peter Nilsson-2 wrote:
 
 The auto-resolver is a pain when using Maven in a corporate environment
 when
 there is a strong requirement to be able to reproduce a build. As
 mentioned
 by others one of the problems is to know which plugins are used and thus
 need to have their version locked down.
 
 I would prefer a property (command line or in pom) that disabled the
 auto-resolver and made a build fail if not all versions were explicit.
 Then you could choose to use auto-resolver or not, depending on your
 priorities on ease of use versus reproducibility.
 
   Peter
 
 -Original Message-
 From: John Casey [mailto:[EMAIL PROTECTED] 
 Sent: den 11 april 2007 18:19
 To: Maven Users List
 Subject: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous
 
 Hi everyone,
 
 I wanted to send out a quick email to let everyone know about some
 discussion that's been taking place on the developers' list regarding
 plugin
 versions. In trying to release the 2.2-beta-1 version of the assembly
 plugin, it became apparent that this version fixes some bugs in the
 2.1version that don't necessarily look like bugs. All discussion about
 what is
 or is not a bug aside, the discussion raises an interesting point: if you
 do
 not specify a version for the plugins in your POMs, a situation can arise
 where Maven will seamlessly resolve an incompatible plugin version and try
 to use it.
 
 Here's an example:
 
 Say I create a project that uses the assembly plugin, version 2.1. My
 assembly descriptor takes advantage of a bug in this version where the
 explicit inclusion of a .tar.gz dependency does not have its own
 transitive
 dependencies included, unless they too are explicitly included. This is
 incorrect, because there is no ArtifactHandler that specifies that the
 .tar.gz file contains its own dependencies (so, therefore, should not have
 its transitive dependencies resolved, much less factored into
 inclusion/exclusion)...also, from a semantics point of view, Maven's other
 dependency usages indicate that specifying a dependency implies that
 you're
 specifying that dependency's transitive dependencies...the whole sub-graph
 should be handled, in other words.
 
 Having created this project with its assembly descriptor, but WITHOUT A
 VERSION IN THE ASSEMBLY PLUGIN DECLARATION, I commit my project. Now, some
 time later, after the next version of the assembly plugin fixes this bug,
 a
 user comes along. He installs Maven, checks out my project, and tries to
 build. Without a single line of code changing in my project, the build
 fails, because his Maven instance resolved the plugin to the newer
 version.
 I cannot replicate his failed build, because my assembly-plugin version
 had
 not been updated (I didn't use -U during the build).
 
 
 You can say that the next version should make an effort to support users
 exploiting bugs like this, and you can say that plugins need to deprecate
 and gradually move away from behavior that has turned out to be bad
 design,
 counter-intuitive, etc. To this extent, you could argue that the next
 release that fixed the bug above should have made an allowance for this
 scenario.
 
 However, consider what happens if the plugin has been released several
 times...say that the newest version is actually 3.1 now. In this scenario,
 it's entirely reasonable to think that the developers have provided a long
 migration period - along with deprecation warnings - that spanned multiple
 versions, and then finally dropped the support for this broken
 configuration. However, Maven has no idea of any of this, and the
 aforementioned setup will break.
 
 All of this can be avoided by simply being careful about evaluating, then
 migrating, to new plugin versions in a very deliberate fashion. If you
 take
 a look at the world of systems administration, you see this sort of thing
 everywhere. People take enough time to pour over release notes and
 determine
 whether the new version is likely to wreck the existing setup. The same
 should go for building a reproducible build infrastructure.
 
 I'm going to start a discussion on the developers' for getting rid of the
 plugin-version auto-resolver in Maven 2.1 immediately, to start pushing
 the
 tools down this path. However, it will make everyone's lives easier to
 start
 the process now. Please, take a moment and put the plugin versions into
 your
 POMs.
 
 Thanks,
 
 John
 
 
 

Re: Load a property file in a pom.xml

2007-10-04 Thread Wayne Fay
There are various rules, but here's the general idea:
version[2,)/version == Anything v2 or higher is OK.

version[1,2)/version == I want version 1 (inclusive) to 2
(exclusive), so anything that starts with version 1 is valid (ie
1.0.1, 1.3, 1.9).

version[1.0.1]/version == Only version 1.0.1 is acceptable.

If you have a specific case that is not handled above, reply back.

Wayne

On 10/4/07, Joshua ChaitinPollak [EMAIL PROTECTED] wrote:
 We have this same problem. How do you specify a version range in a
 dependancy?

 On Oct 4, 2007, at 7:39 AM, Gisbert Amm wrote:

  The Maven way is to use snapshots or version ranges for that.
 
  -Gisbert
 
  NiranjanG wrote:
  Hi,  Can anyone let me know, How I can load a property file in
  pom.xml.
  For eg., in my pom.xml, I have to update the version of a
  dependency jar .
  dynamically, which will be available in a global property file.
  This is needed because, the component I work depends on 15 otehr
  componets,
  and I do not have any automated way to know the latest versions of
  the
  binaries published by them.
  I decided to have a global property file, which contains all the
  component's
  latest versions( which will be updated dynamically ,when they
  publish their
  binary, and I want update my pom automatically with the values in
  that file,
  so that I will not need to modify my pom everyday.
  Your suggestions will be invaluable to me.
  Thanks,
  Niranjan
 
  --
  Gisbert Amm
  Softwareentwickler Infrastruktur
  Telefon: (0721) 91374 - 4224
  Telefax: (0721) 91374 - 2740
  E-Mail: [EMAIL PROTECTED]
  Internet: www.1und1.de
 
  11 Internet AG
  Elgendorfer Strasse 57
  56410 Montabaur
 
  Amtsgericht Montabaur HRB 6484
 
  Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich,
  Andreas Gauger, Thomas Gottschlich, Matthias Greve, Robert
  Hoffmann, Norbert Lang, Achim Weiss
  Aufsichtsratsvorsitzender: Michael Scheeren
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 --
 Joshua ChaitinPollak
 Software Engineer
 Kiva Systems



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



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



Re: maven exec plug-in and the scope of dependency

2007-10-04 Thread Yan Huang
Actually, this issue was discovered and raised in JIRA back in April. The ID
is MEXEC-26.

On 10/3/07, Yan Huang [EMAIL PROTECTED] wrote:

 I have not filed it ...

 the exec plug-in is not able to inherit jars that are defined only in
 test scope.


 On 10/3/07, Wayne Fay  [EMAIL PROTECTED] wrote:
 
  Are you sure its a bug? Did you file the bug in JIRA? Only bugs in
  JIRA will ever get dealt with by the dev team.
 
  Wayne
 
  On 10/3/07, Yan Huang [EMAIL PROTECTED] wrote:
   Does anyone know if this defect would be fixed soon in exec plug-in?
  Right
   now, I have to define all of test dependencies (including versions)
  within
   plug-in, which is kind of pain of neck and not flexible since i have
  to
   hard-code the dependency version ...
  
   On 9/18/07, Wayne Fay  [EMAIL PROTECTED] wrote:
   
Try adding the mysql dependency to the plugin itself. Seems like the
exec plugin is not inheriting the test classpath, only the compile
classpath.
   
Wayne
   
On 9/18/07, Yan Huang [EMAIL PROTECTED] wrote:
 Hello,

 I have a situation where i define mysql dependency with test
  scope
as
 belows:

dependency
  groupIdmysql/groupId
  artifactIdmysql-jdbc-connector/artifactId
  version5.0.3/version
  scopetest/scope
/dependency

 According to the spec, this jar will be included in the classpath
  of
test
 compilation and execution. However, when I'm using maven exec
  plug-in to
 prepare some test tables installation in MySQL DB with the
  default
 classpath as part of test-compile phase:

  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
executions
  execution
phasetest-compile/phase
goals
  goaljava/goal
/goals
  /execution
/executions
configuration
  mainClassmyexample.foo.test/mainClass
  arguments
argumentinstall/argument
  /arguments
   /configuration
   /plugin

 The mvn test-compile failed to find 
  mysql-jdbc-connector-5.0.3.jar,
 which suggested that this jar was not available during
  test-compile
phase.
 After removing test scope of that dependency, test-compile phase
  went
 through fine.

 Did anyone observe the similar behavior? was the test-scoped
  dependency
 really not available in test-compile phase?

 Thanks
 Yan

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



Archiva build failure on missing archiva applet

2007-10-04 Thread Dietrich Schulten
I'm trying to get the fix for the HTTP 507 webdav error in 1.0-beta-2
running, therefore I built the current version from svn.
I ran into the same test problem as Arent-Jan Banck, so I ran mvn
compile only (Probably solvable with JDK 1.6).

But I'm stuck here:


[INFO] [dependency:copy {execution: copy}]
[INFO] Configured Artifact:
org.apache.maven.archiva:archiva-applet:null:1.0-bet
a-3-SNAPSHOT:jar
[INFO] snapshot
org.apache.maven.archiva:archiva-applet:1.0-beta-3-SNAPSHOT: che
cking for updates from codehaus.snapshots
[INFO] snapshot
org.apache.maven.archiva:archiva-applet:1.0-beta-3-SNAPSHOT: che
cking for updates from maven2-repository.dev.java.net
[INFO] snapshot
org.apache.maven.archiva:archiva-applet:1.0-beta-3-SNAPSHOT: che
cking for updates from apache.snapshots
Downloading:
http://snapshots.repository.codehaus.org//org/apache/maven/archiva/
archiva-applet/1.0-beta-3-SNAPSHOT/archiva-applet-1.0-beta-3-SNAPSHOT.jar
Downloading:
http://download.java.net/maven/2//org/apache/maven/archiva/archiva-
applet/1.0-beta-3-SNAPSHOT/archiva-applet-1.0-beta-3-SNAPSHOT.jar
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/mav
en/archiva/archiva-applet/1.0-beta-3-SNAPSHOT/archiva-applet-1.0-beta-3-SNAPSHOT
.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Unable to find artifact.

Embedded error: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.archiva
-DartifactId=arc
hiva-applet \
-Dversion=1.0-beta-3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.apache.maven.archiva
-DartifactId=archiva
-applet \
-Dversion=1.0-beta-3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
 -Durl=[url] -DrepositoryId=[id]


  org.apache.maven.archiva:archiva-applet:jar:1.0-beta-3-SNAPSHOT

from the specified remote repositories:
  codehaus.snapshots (http://snapshots.repository.codehaus.org/),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  maven2-repository.dev.java.net (http://download.java.net/maven/2/),
  central (http://repo1.maven.org/maven2)

-- 
Dietrich Schulten
Project Manager

Email: [EMAIL PROTECTED]

SIC! Software GmbH
Ferdinand-Braun-Str. 1
D-74074 Heilbronn
Mobil: (+49) 0176 12191201

Telefon: (+49) 07131 9199110
Telefax: (+49) 07131 9199435
www.sic-software.com

---

HRB 109169 Stuttgart

Geschäftsführer: Wolfram Herzog / Rayko Enz

---



Re: exclude .svn folders with maven-source-plugin

2007-10-04 Thread Wayne Fay
They are excluded by default. You must be doing something special.

Send the relevant portion of your pom and perhaps someone will have
specific advice.

Wayne

On 10/4/07, ossi petz [EMAIL PROTECTED] wrote:
 hallo

 i dont know exaclty when this started to happen:
 i added the maven source plugin to the build section.

 i noticed the created sources.jar contains the '.svn' folders from the
 source directory.

 is there a way to exclude them?


 thanks a lot :)

 ossi


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



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



adding with current classpath a resource?

2007-10-04 Thread Sonar, Nishant
Hello,

 

I want to add a reference (folder) for the current classpath

 

Ie .i wanna set something as

 

Classpath=classpath;some/folder/ref

 

Through sirefireplugin

 

I am not getting what to write for existing 'classpath'

 

I wrote as

 

plugin

  groupIdorg.apache.maven.plugins/groupId

  artifactIdmaven-surefire-plugin/artifactId

  configuration

 
argLine-classpath=${classpath};${project.build.outputDirectory}\somedi
r/argLine

  /configuration

/plugin

 

 

The maven is not taking ${classpath} it says null , I also 

Tried
{maven.test.classpath},{maven.compile.classpath},{maven.compile.classpat
h} 

But all are giving null

 

How to use current classpath here and add something to that classpath in
surefire plugin

 

Thanks

Nishant Sonar



Re: Archiva build failure on missing archiva applet

2007-10-04 Thread Joakim Erdfelt

Dietrich,

A few tips.
* Compile using JDK 1.5 (Use 1.5.0_10 or newer)
* Use maven 2.0.5 or newer (most of the devs use maven 2.0.7)
* Compile using [archiva/trunk]$ mvn clean install

You *must* use the install phase in order for the build to find its 
dependencies.


Now about the failed tests ...
Can you zip up the contents of your target/surefire-reports/* for any 
module you detect a build failure on and attach it to the following 
issue ticket?

http://jira.codehaus.org/browse/MRM-514

We are very aggressive with fixing any testing issues that crop up, and 
all of the developers run unit tests on every build with their machines 
(a varied mix of WinXP, Linux, and OSX).
We also have a Continuum instance set up to build / test archiva when 
new code is detected in the subversion repository.


Now, as for the HTTP 507 issue.
That's been fixed in the past 2 weeks in archiva/trunk.
See http://jira.codehaus.org/browse/MRM-243

- Joakim

Dietrich Schulten wrote:

I'm trying to get the fix for the HTTP 507 webdav error in 1.0-beta-2
running, therefore I built the current version from svn.
I ran into the same test problem as Arent-Jan Banck, so I ran mvn
compile only (Probably solvable with JDK 1.6).

But I'm stuck here:


[INFO] [dependency:copy {execution: copy}]
[INFO] Configured Artifact:
org.apache.maven.archiva:archiva-applet:null:1.0-bet
a-3-SNAPSHOT:jar
[INFO] snapshot
org.apache.maven.archiva:archiva-applet:1.0-beta-3-SNAPSHOT: che
cking for updates from codehaus.snapshots
[INFO] snapshot
org.apache.maven.archiva:archiva-applet:1.0-beta-3-SNAPSHOT: che
cking for updates from maven2-repository.dev.java.net
[INFO] snapshot
org.apache.maven.archiva:archiva-applet:1.0-beta-3-SNAPSHOT: che
cking for updates from apache.snapshots
Downloading:
http://snapshots.repository.codehaus.org//org/apache/maven/archiva/
archiva-applet/1.0-beta-3-SNAPSHOT/archiva-applet-1.0-beta-3-SNAPSHOT.jar
Downloading:
http://download.java.net/maven/2//org/apache/maven/archiva/archiva-
applet/1.0-beta-3-SNAPSHOT/archiva-applet-1.0-beta-3-SNAPSHOT.jar
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/mav
en/archiva/archiva-applet/1.0-beta-3-SNAPSHOT/archiva-applet-1.0-beta-3-SNAPSHOT
.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Unable to find artifact.

Embedded error: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.archiva
-DartifactId=arc
hiva-applet \
-Dversion=1.0-beta-3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.apache.maven.archiva
-DartifactId=archiva
-applet \
-Dversion=1.0-beta-3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
 -Durl=[url] -DrepositoryId=[id]


  org.apache.maven.archiva:archiva-applet:jar:1.0-beta-3-SNAPSHOT

from the specified remote repositories:
  codehaus.snapshots (http://snapshots.repository.codehaus.org/),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  maven2-repository.dev.java.net (http://download.java.net/maven/2/),
  central (http://repo1.maven.org/maven2)

  




an issue with maven clean plug-in

2007-10-04 Thread Yan Huang
Hello,

It seems to me that maven clean plug-in doesn't handle excludes
configuration well. For example, I have this configuration:

  plugin
artifactIdmaven-clean-plugin/artifactId
configuration
  filesets
fileset
  directorysrc/directory
  includes
include**/*.xml/include
include**/*.sql/include
  /includes
  excludes
exclude**/*.init.xml/exclude
  /excludes
  …/plugin

My attention is to delete all *.xml file under src but leave *.init.xml
alone. However, the plug-in removes everything including *.init.xml. Did
anyone encounter the same issue? If so, how did you work around it? using
antrun plug-in instead?

Thanks
Yan


RE: selective modules build

2007-10-04 Thread Sonar, Nishant
Thanks Brian 
I think that this will work , I ddnt try it yet but will do shortly

I never knew activeByDefault thing

-Nishant

-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 26, 2007 1:16 AM
To: Maven Users List
Subject: RE: selective modules build

Put each module in a profile and then you could do mvn -P1,2 or -P3. If
you put all of them in a profile with activeByDefault then this one
will go if nothing else is active but is deactivated if something else
is.

-Original Message-
From: Sonar, Nishant [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 5:15 PM
To: Maven Users List
Subject: RE: selective modules build

Thanks tim,

But for this I need to add profiles /profiles for all kind of
combinations for modules.

e.g. 
profile
profile
id1n2/id
modules
module
Ch1
/module
module
Ch2
/module
/modules

/profile
profile
id3Only/id
modules
module
Ch3
/module
/modules

/profile
profiles

And the command as 
mvn clean -P3Only
mvn clean -P1n2

this is tedious, also when I need to do all the 
mvn clean -P3Only,1n2,somemore

Is there any workaround?


Thanks
Nishant


-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 3:09 AM
To: Maven Users List
Subject: Re: selective modules build

Hi,

$ mvn --help

usage: mvn [options] [goal(s)] [phase(s)]

Options:
[...]
  -P,--activate-profilesComma-delimited list of profiles to
activate

-Tim

Sonar, Nishant schrieb:
 Hi,
 
  
 
 I want to run a selective modules when I am building, my pom hierarchy
 is like
 
  
 
 * Super- parent
 
   *   Parent1
 
   *   Ch1
   *   Ch2
 
   *   Parent 2
 
   *   Ch1
   *   Ch2
 
   *   Parent 3
 
   *   Ch1
   *   Ch2
   *   Ch3
 
 I am running pom for super-parent as these are necessary tasks and
want
 to custom run modules like parent 1 only, parent 1@ only, parent 3
 only, in super-parent.pom I defined profiles as
 
 profile
 
 id1/id
 
 modules
 
 moduleparent1/module
 
 /profile
 
 profile
 
 id12/id
 
 modules
 
 moduleparent1/module
 
 moduleparent2/module
 
 /profile
 
 profile
 
 id3/id
 
 modules
 
 moduleparent3/module
 
 /profile
 
 profile
 
 idall/id
 
 modules
 
 moduleparent1/module
 
 moduleparent2/module
 
 moduleparent3/module
 
 /profile
 
  
 
 My intension is to control this selective module build from command
line
 specifying which modules to build, is it possible?
 
  
 
 Regards,
 
 Nishant Sonar
 
  
 
 


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


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


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


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



RE: maven-surefire-plugin

2007-10-04 Thread Sonar, Nishant
I came across your mail for providing the classpath argument in surefire
plugin. I am coming across the same need , for adding a dependency in
classpath plus the existing classpath. 
Did you come across the workaround , found some maven property to refer
to current classpath? If yes please share.
-Nishant

-Original Message-
From: Guillaume Boucherie [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 26, 2007 9:30 AM
To: Maven Users List
Subject: Re: maven-surefire-plugin

Thanks a lot, I've just tested on my project and it work fine.

-- 
CletteBou
clettebou.miniville.fr


2007/9/26, Tim Kettler [EMAIL PROTECTED]:

 Ah ok, that's something different. I understand that you don't want to
 create extra projects for this jars as they probably never will
change.

 First I thought you just could place the jars in a directory in your
 project and add system dependendcies to them. But then I realized that
 'system' is already a scope and thus one can't further limit the scope
 to 'test'. Thinking about this a bit I think 'system' shouldn't be a
 scope at all, it's more of a dependency type.

 The only other solution I can think of is to store the jars in a
 repository like directory layout (for example under src/test/testjars)
 and declare this directory as a repository in your pom:

repository
  idmy-test-artifact-repository/id
  urlfile://${basedir}/src/test/testjars/url
/repository

 and then declare the jars as normal test-scoped dependencies.

 -Tim

 Guillaume Boucherie schrieb:
  Oh I'm sorry I'm not clear.
  In my project I have a functionality that search xml files with the
same
  name in the classpath and merge it before read it.
  And to test it I must have jars that just contains xml file, I don't
 want to
  create a maven project just for this type of jar.
 


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



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



RE: The build classpath

2007-10-04 Thread Sonar, Nishant
Hi Yan


Did you get any solution to this one, got any hold on the property?

Please share.

-Nishant

-Original Message-
From: Yan Huang [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 01, 2007 12:28 PM
To: Maven Users List
Subject: The build classpath

Hello,

Is there a maven property which I can get the build classpath for a
project?
the ${java.class.path} doesn't provide that.

Or, I have to write a mojo to get it through the call to
MavenProject.get*ClasspathElements()?

Thanks
Yan

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



RE: an issue with maven clean plug-in

2007-10-04 Thread Sonar, Nishant
Hi

You can try different workaround of specifying the excludes first and
then includes.

I never tried it but you can give it a shot...

Like

plugin
artifactIdmaven-clean-plugin/artifactId
configuration
  filesets
fileset
  directorysrc/directory
excludes
exclude**/*.init.xml/exclude
  /excludes
  includes
include**/*.xml/include
include**/*.sql/include
  /includes
  
  .../plugin


-Nishant

-Original Message-
From: Yan Huang [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 1:11 PM
To: Maven Users List
Subject: an issue with maven clean plug-in

Hello,

It seems to me that maven clean plug-in doesn't handle excludes
configuration well. For example, I have this configuration:

  plugin
artifactIdmaven-clean-plugin/artifactId
configuration
  filesets
fileset
  directorysrc/directory
  includes
include**/*.xml/include
include**/*.sql/include
  /includes
  excludes
exclude**/*.init.xml/exclude
  /excludes
  .../plugin

My attention is to delete all *.xml file under src but leave
*.init.xml
alone. However, the plug-in removes everything including *.init.xml. Did
anyone encounter the same issue? If so, how did you work around it?
using
antrun plug-in instead?

Thanks
Yan

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



Re: an issue with maven clean plug-in

2007-10-04 Thread Yan Huang
I tried it but it didn't work

On 10/4/07, Sonar, Nishant [EMAIL PROTECTED] wrote:

 Hi

 You can try different workaround of specifying the excludes first and
 then includes.

 I never tried it but you can give it a shot...

 Like

 plugin
 artifactIdmaven-clean-plugin/artifactId
 configuration
   filesets
 fileset
   directorysrc/directory
 excludes
 exclude**/*.init.xml/exclude
   /excludes
   includes
 include**/*.xml/include
 include**/*.sql/include
   /includes

   .../plugin


 -Nishant

 -Original Message-
 From: Yan Huang [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 04, 2007 1:11 PM
 To: Maven Users List
 Subject: an issue with maven clean plug-in

 Hello,

 It seems to me that maven clean plug-in doesn't handle excludes
 configuration well. For example, I have this configuration:

   plugin
 artifactIdmaven-clean-plugin/artifactId
 configuration
   filesets
 fileset
   directorysrc/directory
   includes
 include**/*.xml/include
 include**/*.sql/include
   /includes
   excludes
 exclude**/*.init.xml/exclude
   /excludes
   .../plugin

 My attention is to delete all *.xml file under src but leave
 *.init.xml
 alone. However, the plug-in removes everything including *.init.xml. Did
 anyone encounter the same issue? If so, how did you work around it?
 using
 antrun plug-in instead?

 Thanks
 Yan

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




Running 2 phases in one command line

2007-10-04 Thread Yan Huang
Hi,

Basic question: if I run mvn clean install, is it any different from
running them seperately (i.e. run mvn clean and mvn install seperately)?


I got a case where the single command with multiple phases produces
different result than running it seperately.

Thanks
Yan


Re: Weird behavior in browsers not Firefox

2007-10-04 Thread Emmanuel Venisse

What is the jdk on your redhat? Sun JDK, gcj, other?

Emmanuel

Emmanuel Venisse a écrit :

I don't have a redhat to try but it is weird.

Emmanuel

fherrerav a écrit :
Standalone.  I reinstalled in the same server with no luck (red hat). 
I tried

installing another copy in windows and it works fine there.




Emmanuel Venisse wrote:

Tested with Safari 2.0.4 and IE6, it works fine for me.

Do you use the standalone version or the webapp?

Emmanuel

fherrerav a écrit :
Ok, this is very very weird, i'm using beta-3 and i'm able to login 
only

using firefox. I've tried IE6, Opera9 and safari beta and i only get to
the
login page. I try to login, i see the post to the server in the status
bar
but the app return to the empty group list with no user logged in. In
firefox works well. I check the server log and i see no activity unless
using firefox. I have cleaned cookies, cache, etc but the strange
behavior
remains. I tried installling beta-2 and i get the same. Any ideas what
should i look for?  It used to work fine on those browsers and suddenly
it
broke. Must be something on the server i guess.













Re: Maven-Changes-Plugin: Unable to find the mojo ...

2007-10-04 Thread Dennis Lundberg

Gisbert Amm wrote:

Out of the blue I'm getting this error:

Error getting reports from the plugin 
'org.apache.maven.plugins:maven-changes-plugin': Unable to find the mojo 
'org.apache.maven.plugins:maven-changes-plugin:2.0-beta-3-SNAPSHOT:changes-report' 
in the plugin 'org.apache.maven.plugins:maven-changes-plugin'


Does anybody have a glue why this happens and how to work around it?

-Gisbert



This pops up from time to time for different plugins. The general cure 
is to go into your local repository and remove the folder that contains 
all versions for that particular plugin. This will trigger maven to 
download a new copy of the plugin on the next run. It usually solves the 
problem. Somehow the metadata in the local repo gets corrupted.


--
Dennis Lundberg

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



Re: Build plugin without using it

2007-10-04 Thread Wendy Smoak
On 10/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 How does one go about calling mvn install for packaging type maven-plugin
 without actually executing the plugin?

Just 'mvn install' should work... I'm curious what makes you think otherwise?

-- 
Wendy

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



Re: checkstyle plugins: maven and eclipse

2007-10-04 Thread Greg_Vaughn
Thanks for mentioning that, Dimitris. I forgot about that piece. They're 
not mutually exclusive though. The .checkstyle file can point to the xml 
file in the maven repo.

houzecl, I don't think I was clear enough in my first message. I have both 
the xml in a jar and the xml out of a jar in the maven repo. Maven uses 
the one in the jar. The eclipse plugin uses the one out of the jar. 
There's only one source xml config file, but it gets deployed twice. It's 
not quite optimal, but it was close enough for our purposes.

Someone else commented that you can add extra info in a parent pom for the 
eclipse plugin that will add the metadata for checkstyle when 
eclipse:eclipse goal is run. We went with more of Dimitris' approach here. 
The .checkstyle file is part of our archetypes to make the eclipse plugin 
happy. But we do use the jar file for maven invocation.

-Greg Vaughn

Dimitris Kapanidis [EMAIL PROTECTED] wrote on 10/04/2007 03:47:17 
AM:

 I have another solution to this problem, which is not the maven way but 
 works equally.
 
 I have uploaded the file on a web server and accessing it from there:
 
 Eclipse is using .checkstyle config to see the remote location of the 
 configuration (there is an option for remote file)
 Maven is using the parent pom.xml to see the same remote location of the 

 configuration.
  plugin
 artifactIdmaven-checkstyle-plugin/artifactId
 configuration
 
 
configLocationhttp://www.someplace.net/scytl_checkstyle.xml/configLocation
 /configuration
  /plugin
 
 I'd prefer the jar solution though, is much cleaner.
 
 houzecl wrote:
  Yes, the last part of your post is what we'd like to do:
 
  One mavenized projet holding a set of configuration files.
  So that you can version, deploy, and access the jar containing the
  appropriate set of rules.
  We do not want to embed the rules inside the project(s) that will be 
using
  the rules.
  we want these rules to be common (as sun_checks). 
 
  Therefore, once the rules'jar is available in the repository, it can 
be
  accessed by maven (no probs)
  BUT how can you make it available to eclipse at the same time ? (do 
you
  explode the jar in the repository when you deploy it ?, so that 
eclipse
  checkstyle can reference the xml files ...)
 
  anyway, I posted the question in checkstyle mailing list.
  If I get an answer, I'll post it
 
  good day,
 
  Christian-Luc
 
 
 
  Greg_Vaughn wrote:
  
  I am using maven-checkstyle-plugin with a specific configuration 
file 
  (I made it as a resource in a jar and the plugin configuration works 

  
  fine:
  
  checkstyle - or the plugin - is clever enough to get the xml file 
out of 
  
  the
  
  dependency jar)
 
  I'd like to do the same within eclipse with the 
  
  eclipse-checkstyle-plugin
  
  (so that checkstyle can be active during eclipse work, not just when
  building with maven)
  Unfortunately the checkstyle preference window does not seem to 
allow a
  reference to a jar.
  it needs an xml file
  This is not really a maven question but someone may know if my 
request 
  
  is
  
  possible ???
  
  We did this last year, but the details aren't fresh on my mind. Let 
me 
  know
  if this general approach is not enough.
 
  We attached the checkstyle xml file to the project so it was deployed 

  along
  with the jar file to our corporate maven repository. Since that 
repository
  is available via http, we configured the eclipse plugin to use that 
url.
 
  Now we have one mavenized project to manage the checkstyle rules. 
When we
  deploy it, the checkstyle rules become available to both maven and 
eclipse
  at the same time.
 
  -Greg Vaughn
 
 
  
==
 
  Confidentiality Notice: The information contained in and transmitted 
with
  this communication is strictly confidential, is intended only for the 
use
  of the intended recipient, and is the property of Countrywide 
Financial
  Corporation or its affiliates and subsidiaries. If you are not the
  intended recipient, you are hereby notified that any use of the
  information contained in or transmitted with the communication or
  dissemination, distribution, or copying of this communication is 
strictly
  prohibited by law. If you have received this communication in error,
  please immediately return this communication to the sender and delete 
the
  original message and any copy of it in your possession.
 
  
==
 
 
 
  
 
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


==

Confidentiality Notice: The information contained in and transmitted with this 
communication is strictly confidential, is intended only for the use of the 
intended 

Build plugin without using it

2007-10-04 Thread robert . egan
How does one go about calling mvn install for packaging type maven-plugin 
without actually executing the plugin?

I only want to install it. I want others to actually use it.


This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.

Re: Build plugin without using it

2007-10-04 Thread robert . egan
I figured it out. I included a build/build section in one of my parent 
poms as a way of setting the different properties controlling the build of 
the plugins.

project
  ...
  build
directory${buildtools.custom.dir}/build/${project.name}/directory
 
sourceDirectory${buildtools.plugin.dir}/${project.name}/sourceDirectory
 
outputDirectory${buildtools.custom.dir}/build/${project.name}/outputDirectory
  /build
  ...
/project

Replacing that section with these three properties fixed it for all of my 
plugins

  properties
 
build.directory${buildtools.custom.dir}/build/${project.name}/build.directory
 
build.sourceDirectory${buildtools.plugin.dir}/${project.name}/build.sourceDirectory
 
build.outputDirectory${buildtools.custom.dir}/build/${project.name}/build.outputDirectory
  /properties

Is this expected behavior or have I stumbled across a previously untried 
combination of elements?


Thanks
Robert Egan

Wendy Smoak [EMAIL PROTECTED] wrote on 10/04/2007 02:59:29 PM:

 On 10/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] 
wrote:
 
  How does one go about calling mvn install for packaging type 
maven-plugin
  without actually executing the plugin?
 
 Just 'mvn install' should work... I'm curious what makes you think 
otherwise?
 
 -- 
 Wendy
 

This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.


Re: Fwd: maven cobertura errro

2007-10-04 Thread Stefan Reuter
Marco Mistroni wrote:
 i found a sample for configuring cobertura on the internet... could
 anyone help?

Thats for the Maven 1.x plugin.
For 2.x use:
http://mojo.codehaus.org/cobertura-maven-plugin/usage.html

=Stefan

-- 
reuter network consulting
Neusser Str. 110
50760 Koeln
Germany
Telefon: +49 221 1305699-0
Telefax: +49 221 1305699-90
E-Mail:  [EMAIL PROTECTED]
Jabber:  [EMAIL PROTECTED]

Steuernummern 215/5140/1791 USt-IdNr. DE220701760



signature.asc
Description: OpenPGP digital signature


Re: Fwd: maven cobertura errro

2007-10-04 Thread Marco Mistroni
Hello Stefan,
 thanks for the link but in same page is showing also the same config that i
had..

i'd like to do instrumentation and check. do you have any sample
configuration to send me?

thanks in advance and regards
 marco

On 10/4/07, Stefan Reuter [EMAIL PROTECTED] wrote:

 Marco Mistroni wrote:
  i found a sample for configuring cobertura on the internet... could
  anyone help?

 Thats for the Maven 1.x plugin.
 For 2.x use:
 http://mojo.codehaus.org/cobertura-maven-plugin/usage.html

 =Stefan

 --
 reuter network consulting
 Neusser Str. 110
 50760 Koeln
 Germany
 Telefon: +49 221 1305699-0
 Telefax: +49 221 1305699-90
 E-Mail:  [EMAIL PROTECTED]
 Jabber:  [EMAIL PROTECTED]

 Steuernummern 215/5140/1791 USt-IdNr. DE220701760





Fwd: maven cobertura errro

2007-10-04 Thread Marco Mistroni
hello all,
  i am getting this exception in my  pom.xml when i add in the report
section an entry for cobertura...


[INFO] Error building POM (may not be this project's POM).


Project ID: unknown
POM Location: C:\TrunkMaven\client-web\pom.xml

Reason: Parse error reading POM. Reason: Unrecognised tag: 'executions'
(positio
n: START_TAG seen .../version\r\n\t\texecutions... @226:15)


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Parse error reading POM.
Reaso
n: Unrecognised tag: 'executions' (position: START_TAG seen
.../version\r\n\t\
texecutions... @226:15)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException: Parse
error re
ading POM. Reason: Unrecognised tag: 'executions' (position: START_TAG seen
...
/version\r\n\t\texecutions... @226:15)
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel
(Default
MavenProjectBuilder.java:1423)
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel
(Default
MavenProjectBuilder.java:1380)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:477)
at org.apache.maven.project.DefaultMavenProjectBuilder.build
(DefaultMave
nProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:537)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java
:467)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
... 11 more
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognise
d tag: 'executions' (position: START_TAG seen
.../version\r\n\t\texecutions.
.. @226:15)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseReportPlugin
(Mave
nXpp3Reader.java:3596)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseReporting
(MavenXp
p3Reader.java:3725)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel
(MavenXpp3Re
ader.java:2363)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(
MavenXpp3Reader.j
ava:4438)
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel
(Default
MavenProjectBuilder.java:1419)
... 17 more
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Thu Oct 04 13:43:24 BST 2007
[INFO] Final Memory: 1M/2M
[INFO]


C:\TrunkMaven\client-webmvn -version
Maven version: 2.0.6


and here's my pom

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
version2.1/version
executions
execution
idclean/id
phasepre-site/phase
goals
goalclean/goal
/goals
/execution
execution
idinstrument/id
phasesite/phase
goals
goalinstrument/goal
goalcobertura/goal
goalcheck/goal
/goals
/execution
/executions
/plugin


i found a sample for configuring cobertura on the internet... could anyone
help?

thanks and regards
 marco
?xml version=1.0?
project
modelVersion4.0.0/modelVersion
groupIdclient-web/groupId
artifactIdclient-web/artifactId
namecollrisk/name
version1.0-SNAPSHOT/version
urlhttp://maven.apache.org/url
developers
developer
idCTB/id
nameCTB Team/name
emailCOLL_IT/email
roles
roleContinuum Admin/role
/roles
organizationBNPParibas/organization
timezone0/timezone
/developer
/developers
mailingLists
mailingList
nameCOLL IT/name
subscribe[EMAIL 

Re: Multi-module deploy results in partial deployment on module build failure

2007-10-04 Thread Michael McCallum
try a build process that does not involve deploying snapshots, it will make 
your life a _lot_ easier

On Friday 05 October 2007 03:32, Hayes, Peter wrote:
 I have noticed that during a multi-module deploy build it is possible
 that poms / artifacts are deployed to the repository even if a
 subsequent module fails and the build is stopped.  This seems to be
 suboptimal (from my perspective).  Are there any thoughts about making
 this an all-or-nothing function?

 Peter Hayes
 Architecture  Shared Technology Services | Fidelity Investments
 Management Technology

-- 
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]

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



Can't deploy jar

2007-10-04 Thread cbrown
when i try to deploy to archiva, I see the following.  Do I need to
deploy the first snapshot manually?


[INFO] Retrieving previous build number from sensis.dev
Uploading:
http://m2repo.atsdev.sensis.com:8080/archiva/sensis.dev/com/sensis/sds/genpur/1.0-SNAPSHOT/genpur-1.0-20071004.195415-1.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error deploying artifact: Resource to deploy not found: File:
http://m2repo.atsdev.sensis.com:8080/archiva/sensis.dev/com/sensis/sds/genpur/1.0-SNAPSHOT/genpur-1.0-20071004.195415-1.jar
 does not exist



Re: [Maven2] deploy:deploy-file

2007-10-04 Thread houzecl

you should be more specific when asking for info: 
just saying it fails wont help.
Also you must realize that when you run a maven command, one of the first
thing maven will do is probably look for a pom. therefore even though
deploy:deploy-file can be run independently from any project pom, it still
is a Maven deploy plugin's goal, and I guess the answer is no: you cant tell
maven to disregard its possible pom environment :-)

Christian-Luc


Angel Todorov wrote:
 
 Hi guys,
 
 i am executing deploy:deploy-file , but I am doing this from a directory
 where there are pom files and so on... Is there any way to tell maven to
 disregard the contents of the directory from where I execute
 deploy:deploy-file ? I ask this because if i execute deploy:deploy-file
 from
 somewhere that doesn't have any maven2 related things (such as POMs) in
 it,
 it works fine, but when i execute it from a directory that contains a POM,
 it fails.
 
 Thanks very much in advance.
 
 Regards,
 Angel
 
 

-- 
View this message in context: 
http://www.nabble.com/-Maven2--deploy%3Adeploy-file-tf4566135s177.html#a13048748
Sent from the Maven - Users mailing list archive at Nabble.com.


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



[maven-antrun-plugin] is it possible to aggregate

2007-10-04 Thread Raphaël Piéroni
Hi guys,

I have a build that make some extensive use of the antrun plugin.
My build is multi module and some of the child modules use antrun.
My parent module define an assembly and an antrun execution to copy
the resulting assembly in a samba directory.

my current complete build call is like mvn clean install
assembly:assembly antrun:run -Dtest=skip -Pdelivery
the asembly and parent antrun are define in the delivery profile.

I would like to only call mvn clean deploy by attaching the assembly
creation to the deploy phase of the parent build then call the parent
antrun in the same phase.
I also would like to have those goals called at the end of the build
as the assembly is made on the modules artifacts and some parent
module configuration files.

Is this possible to achieve? and how?
If not, what is best way to have the tests run once? and antrun not
propagated into the child modules?

Regards,


Raphaël


Re: adding with current classpath a resource?

2007-10-04 Thread Jim Sellers
Can't you have the contents of this folder as part of the project (in
src/test/resources) or jar'ed up and then just reference it with scope test?

Jim


On 10/4/07, Sonar, Nishant [EMAIL PROTECTED] wrote:

 Hello,



 I want to add a reference (folder) for the current classpath



 Ie .i wanna set something as



 Classpath=classpath;some/folder/ref



 Through sirefireplugin



 I am not getting what to write for existing 'classpath'



 I wrote as



 plugin

   groupIdorg.apache.maven.plugins/groupId

   artifactIdmaven-surefire-plugin/artifactId

   configuration


 argLine-classpath=${classpath};${project.build.outputDirectory}\somedi
 r/argLine

   /configuration

 /plugin





 The maven is not taking ${classpath} it says null , I also

 Tried
 {maven.test.classpath},{maven.compile.classpath},{maven.compile.classpat
 h}

 But all are giving null



 How to use current classpath here and add something to that classpath in
 surefire plugin



 Thanks

 Nishant Sonar




Re: help on downloading through the proxy

2007-10-04 Thread Angel Sotirov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

cbrown wrote:
 When i try to download component through archiva, it fails, and the
 archiva console shows;

 INFO: RepositoryServlet: Authorization Denied
 [ip=172.17.1.3,isWriteRequest=false,permission=archiva-read-repository,repo=internal]
: no matching permissions
 Oct 4, 2007 1:43:46 PM org.mortbay.jetty.servlet.ServletHandler$Context
 log

 what am I missing?

 in settings.xml I have;

   settings

 servers
   server
 idreleases/id
 usernamecbrown/username
 password...pw snipped.../password
   /server
 /servers

 profiles 
   profile
 idmyprofile/id
 activation
   activeByDefaulttrue/activeByDefault
 /activation
 repositories
   repository
 idinternal/id
 nameArchiva Mirror of Central/name

 urlhttp://neo.atsdev.sensis.com:8080/archiva/repository/internal/url
   /repository
 /repositories 
   /profile
 /profiles

   /settings

Yeah i had the same problem with my first installation.
Resolution seem to be adding a server with the same ID as your
repository in this case:

  server
- -- idinternal/id
usernameusername/username
passwordpassword/password
  /server

be sure that the username and the password are properly configured in
Archiva and have all required permissions.

Hope this would help.

Angel.


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHBV6uhgSIDFxSFd0RAvu+AKC7Tj1hyJlvg8epnsykfQ621VHFIACbBIiD
qe9mzCH+OHovfwbnqFgshfM=
=03OC
-END PGP SIGNATURE-


Re: Build plugin without using it

2007-10-04 Thread robert . egan
Apologies. I was incorrect.

The real issue is that I have a parent POM that contains this plugin (and 
the others), and even though the packaging of that parent is pom, it still 
seems to want to invoke the execute methods of its contained plugins.

This, of course is another issue, specifically how does one have an 
abstract parent pom. I gather, based on a Nabble search, that it 
involves profiles in some manner. So I'll just wait on it for now.

Thanks again for the help
Robert Egan

Wendy Smoak [EMAIL PROTECTED] wrote on 10/04/2007 02:59:29 PM:

 On 10/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] 
wrote:
 
  How does one go about calling mvn install for packaging type 
maven-plugin
  without actually executing the plugin?
 
 Just 'mvn install' should work... I'm curious what makes you think 
otherwise?
 

This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.


Re: doxia book with APT verbatim text not monospaced in PDF

2007-10-04 Thread David Roussel

I've created DOXIA-158, but fortunately for Vincent I don't have rights to
assign it to him (or I can't find the link!)

David


Lukas Theussl-3 wrote:
 
 looks like an issue in the itext module. Open a jira and assign it to 
 Vincent! ;)
 
 -Lukas
 
 
 David Roussel wrote:
 Hi,
 
 I'm using doxia-maven-plugin 1.0-alpha-9 with  APT as an imput source. 
 When
 I generate xhtml then the verbatim text comes out fine as a pre tag. 
 When I
 generate PDF the verbatim text is rendered with a variable width font,
 thus
 my code examples are all over the place.
 
 Should I raise an issue in Jira?
 
 Thanks
 
 David
 
 

-- 
View this message in context: 
http://www.nabble.com/doxia-book-with-APT-verbatim-text-not-monospaced-in-PDF-tf4568305.html#a13049466
Sent from the Doxia - Users mailing list archive at Nabble.com.



RE: Multi-module deploy results in partial deployment on module build failure

2007-10-04 Thread Hayes, Peter
Interesting.  We are planning on using snapshot builds.  What are the
issues you have faced? 

-Original Message-
From: Michael McCallum [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 3:24 PM
To: Maven Users List
Subject: Re: Multi-module deploy results in partial deployment on module
build failure

try a build process that does not involve deploying snapshots, it will
make 
your life a _lot_ easier

On Friday 05 October 2007 03:32, Hayes, Peter wrote:
 I have noticed that during a multi-module deploy build it is possible
 that poms / artifacts are deployed to the repository even if a
 subsequent module fails and the build is stopped.  This seems to be
 suboptimal (from my perspective).  Are there any thoughts about making
 this an all-or-nothing function?

 Peter Hayes
 Architecture  Shared Technology Services | Fidelity Investments
 Management Technology

-- 
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]

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




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



Re: Fwd: maven cobertura errro

2007-10-04 Thread Stefan Reuter
Hi Marco,

sorry, seems I should have read more ;)

I am using this:

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
version2.0/version
/plugin

Version 2.1 seems to be buggy so I just stick with 2.0 and that works fine.

=Stefan



signature.asc
Description: OpenPGP digital signature


Re: Fwd: maven cobertura errro

2007-10-04 Thread Stefan Reuter
and this one in the reporting section:

reporting
plugins
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
configuration
formats
formathtml/format
formatxml/format
/formats
/configuration

=Stefan


signature.asc
Description: PGP signature


signature.asc
Description: OpenPGP digital signature


exec-maven-plugin

2007-10-04 Thread robert . egan
I am using the exec-maven-plugin to manipulate some classes and the exec 
fails.

  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
executions
  execution
phaseprocess-classes/phase
goals
  goalexec/goal
/goals
configuration
  executable${ejbdeploy.output}/executable
/configuration
  /execution
/executions
  /plugin

${ejbdeploy.output} [if this wraps it's all one line]
D:/profiles/AppSrv01/bin/ejbdeploy.bat 
D:/wcmsuite73_maven/framework/components/framework-ejb/../../dist/generic/framework_Account.jar
 
D:/wcmsuite73_maven/framework/components/framework-ejb/build/ 
D:/wcmsuite73_maven/framework/components/framework-ejb/../../dist/was6/framework_Account.jar
 
-cp 
D:/wcmsuite73_maven/framework/components/framework-ejb/../../dist/framework.jar
 
-debug -trace -nowarn -noinform -quiet

Unfortunately, according to the output, the build succeeds. How can I make 
the build fail in this scenario?

[INFO] [exec:exec {execution: default}]
[INFO]
[INFO] 
D:\wcmsuite73_maven\framework\components\framework-ejbD:/profiles/AppSr
v01/bin/ejbdeploy.bat 
D:/wcmsuite73_maven/framework/components/framework-ejb/.
./../dist/generic/framework_Account.jar 
D:/wcmsuite73_maven/framework/componen
ts/framework-ejb/build/ 
D:/wcmsuite73_maven/framework/components/framework-ejb
/../../dist/was6/framework_Account.jar -cp 
D:/wcmsuite73_maven/framework/compo
nents/framework-ejb/../../dist/framework.jar -debug -trace -nowarn 
-noinform -q
uiet
[INFO] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: Account): 
CHKJ28
02E: ejb-class class com.ph.framework.entitlements.ejb.impl.AccountBean, 
or on
e of its supertypes, cannot be reflected. Check the classpath.
[INFO]
[INFO] Execution Halted: Validation Errors Reported
[INFO] 1 Errors
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing 
D:\wcmsuite73_maven\framework\components\framework-ejb\pom.xml
 to C:\Documents and 
Settings\eganr\.m2\repository\com\ph\framework\framework-ej
b\7.4.0.0\framework-ejb-7.4.0.0.pom
[INFO] 

[INFO] BUILD SUCCESSFUL
[INFO] 

[INFO] Total time: 43 seconds
[INFO] Finished at: Thu Oct 04 21:03:09 EDT 2007
[INFO] Final Memory: 9M/26M
[INFO] 




This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.

Re: How to deploy to a snapshot site?

2007-10-04 Thread Wendy Smoak
On 10/3/07, Chris Helck [EMAIL PROTECTED] wrote:

 In maven2 how can I have snapshots websites deploy to one URL and
 releases deploy to another?

The site plugin uses both distributionManagementsite and a
configuration element stagingSiteURL.

I don't know of a way to get it to automatically do one thing for
snapshots and another for releases, but if you can adjust your process
to do either site:deploy or site:stage, then you can get that result.

Maybe you will 'stage' the snapshot sites and 'deploy' the sites for
releases.  In the Maven Plugins parent pom [1] that Tim mentioned,
we're trying out configuration that uses ${artifactId}-${version} in
the staging url.

[1] http://svn.apache.org/repos/asf/maven/plugins/trunk/pom.xml

HTH,
-- 
Wendy

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



Re: How to use mvn eclipse:eclipse

2007-10-04 Thread LukeLallu

I copied the .project and changed the name and the project tag details. Rest
removed.

And from the all sub modules, I removed the .project and .classpath files.

In the main module .classpath is it required.

Then I imported it as existing workspace in Eclipse 3.3.

Now I could select pom.xml and run the build right and the EAR will be
created right.


Dave Feltenberger wrote:
 
 Yes, unfortunately the Eclipse plugin isn't smart enough to put a
 blank .project and .classpath file in the typepom/type project(s).
  Copy the .project from one of the sub-modules, change the project
 name, and remove all the project references.  Then do the same with
 the .classpath, removing the classpath entries from it.
 
 On 10/4/07, LukeLallu [EMAIL PROTECTED] wrote:


 I created a EAR Project using the following cammand

 mvn -U archetype:create -DgroupId=com.mycompany.app
 -DartifactId=my-ear-app
 -Dpackagename=com.mycompany.app
 -DarchetypeArtifactId=maven-archetype-j2ee-simple

 Then I ran mvn eclipse:eclipse

 I wanted to open as an Exsisting project(my-ear-app) in WSAD but .project
 files are created within my sub - modules inside my-ear-app and not in
 my-ear-app folder, so how to see the whole of EAR in WSAD with all the
 modules.

 Regards

 Luke
 --
 View this message in context:
 http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13033901
 Sent from the Maven - Users mailing list archive at Nabble.com.


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


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

-- 
View this message in context: 
http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13053629
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Build plugin without using it

2007-10-04 Thread Tim Kettler

[EMAIL PROTECTED] schrieb:

Apologies. I was incorrect.

The real issue is that I have a parent POM that contains this plugin (and 
the others), and even though the packaging of that parent is pom, it still 
seems to want to invoke the execute methods of its contained plugins.


This, of course is another issue, specifically how does one have an 
abstract parent pom.


buildplugins is for actually attaching plugins to the build 
lifecycle. If you just want to define common configuration (version, 
executions, ...) for a plugin use pluginManagement.


I gather, based on a Nabble search, that it 
involves profiles in some manner. So I'll just wait on it for now.


Thanks again for the help
Robert Egan

Wendy Smoak [EMAIL PROTECTED] wrote on 10/04/2007 02:59:29 PM:

On 10/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] 

wrote:
How does one go about calling mvn install for packaging type 

maven-plugin

without actually executing the plugin?
Just 'mvn install' should work... I'm curious what makes you think 

otherwise?

This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.





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