Re: can we use maven in offline environment?

2010-12-01 Thread Anders Hammar
If you want to use Maven, I strongly suggest that you work out a solution where a central Maven Repository Manager (such as Nexus or Artifactory) in your corporate dev environment, have direct Internet connection. If you involve your infrastructure security people I'm sure they can come up with an

Re: maven-dependency-plugin 2.2 release?

2010-12-01 Thread Dan Tran
me too :-) On Wed, Dec 1, 2010 at 10:04 AM, Jim McCaskey wrote: > Hello all, > > I ran across a problem with the maven-dependency-plugin that is already fixed > (actually fixed almost a year ago it seems): > > http://jira.codehaus.org/browse/MDEP-138 > > I was wondering if there are any plans to

Re: can we use maven in offline environment?

2010-12-01 Thread maven apache
Thanks,I will have a try. 2010/12/1 Gajo Csaba > 1. create a dummy maven project > 2. in the pom.xml add in the , and ALL > the files you'll need... possibly include all the versions as well > 3. go to a computer that does have internet and run mvn clean site package > install deploy dependenc

faster release:perform

2010-12-01 Thread Phillip Hellewell
Would it make sense when using SVN to have release:perform do an svn switch (to the tag created by release:prepare) rather than check out the tag? Phillip - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additiona

Re: release fails with special chars

2010-12-01 Thread Pazmiño Mazón , Iván Andrés
It actually does! Thanks! -Original Message- From: Anders Hammar Reply-to: "Maven Users List" To: Maven Users List Subject: Re: release fails with special chars Date: Wed, 1 Dec 2010 18:58:40 +0100 I'm thinking that you should use the actual chars. If you specify the correct xml encodi

RE: release fails with special chars

2010-12-01 Thread Pazmiño Mazón , Iván Andrés
Thanks a lot! I t works just fine now. -Original Message- From: Christopher Taylor To: Maven Users List , iapazm...@sri.gob.ec Subject: RE: release fails with special chars Date: Wed, 1 Dec 2010 09:30:41 -0800 Hi, á etc are (X)HTML entities. XML only defines the <, > and & entities. Si

Re: Issue if colon in project path

2010-12-01 Thread Siegmar Alber
Hi Wayne, Am 28.11.2010 um 01:01 schrieb Wayne Fay: > Feel free to hack the Maven source code to add this functionality and > then donate it via Jira for inclusion in a future release. thank you for your answer. If I find some time, I will try to do this. :-) > I just > don't see anyone (else)

How do I augment the release plugin?

2010-12-01 Thread Niels B Nielsen
Hi, I would like to to utilize the maven-release-plugin (v 2.1) for one of our projects, but unfortunately I have a bit of a show stopper for actually doing this. The mojo's in the maven-release-plugin utilize the maven-release-manager, which has a set of predefined release phases, such as thi

Assembly filtering syntax - properties not filtered

2010-12-01 Thread Alberti Antoine
Hi all, is it possible that the syntax of a file to filter prevents the assembly plugin from detecting a variable to replace? If I filter the following run.bat file: ${project.version} @echo off FOR /F "eol=; tokens=2,2 delims==" %%i IN ('findstr /i "http_port" c

maven-dependency-plugin 2.2 release?

2010-12-01 Thread Jim McCaskey
Hello all, I ran across a problem with the maven-dependency-plugin that is already fixed (actually fixed almost a year ago it seems): http://jira.codehaus.org/browse/MDEP-138 I was wondering if there are any plans to release a new maven-dependency-plugin? According to Jira, there appear to be

Re: how to insert document modification date in doxia template

2010-12-01 Thread Dennis Lundberg
On 2010-12-01 13:40, Fritz Heinrichmeyer wrote: > Hello, i would like to insert document modification time in a doxia > velocity template. I only found $dateToday and $currentdate. What is the > name of the velocity template? A pointer to the source code would also > be fine. > Hi I don't know

Re: release fails with special chars

2010-12-01 Thread Anders Hammar
I'm thinking that you should use the actual chars. If you specify the correct xml encoding in the xml header and the correct encoding for your reporting output (see [1]), it should work. I think. :-) /Anders [1] http://www.sonatype.com/people/2009/11/special-character-encoding-properties/ 2010/1

Re: [M3] release plugin

2010-12-01 Thread Hilco Wijbenga
On 1 December 2010 09:05, Hauschel Fred Robert wrote: > Hey all, > i've some problems with releasing my artifacts with m3: > > [INFO] [ERROR] Plugin > org.apache.maven.plugins:maven-source-plugin:2.2-SNAPSHOT or one of its > dependencies could not be resolved: Failure to find > org.apache.maven

RE: Why is it complaining about ${WL_HOME}

2010-12-01 Thread Martin Gainty
Mickey-- then there has to be some small delta between your Weblogic environment and his ..the best way to solve this is to uninstall your gacked weblogic reinstall weblogic make SURE when you get to the item which states "set environment variable" that WL_HOME is set correctly best to write d

RE: release fails with special chars

2010-12-01 Thread Christopher Taylor
Hi, á etc are (X)HTML entities. XML only defines the <, > and & entities. Since the POM is an XML file, so you'll need to replace the HTML entities with their numeric equivalents. You can find a table to help you at http://artific.com/library/xhtml_1.0_entities.html Regards, --Chris > -

release fails with special chars

2010-12-01 Thread Pazmiño Mazón , Iván Andrés
Hi, I need some help on my releases. Some of the developers listed in the pom have special chars in their names like ñ, á, etc, so in order to be able to generate the site documentation those chars have been changed to ñ and á When running the maven-release-plugin's prepare goal fails with the fo

Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread Anders Hammar
They most likely have the property set in their settings.xml. /Anders (mobile) Den 2010 12 1 17:04 skrev "mickeys" : > > well I have changed it to env.WL_HOME but that aint working. Same error. > > Even if that would have worked. How come my other project teamworker can > build it ok? they dont us

[M3] release plugin

2010-12-01 Thread Hauschel Fred Robert
Hey all, i've some problems with releasing my artifacts with m3: [INFO] [ERROR] Plugin org.apache.maven.plugins:maven-source-plugin:2.2-SNAPSHOT or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-source-plugin:jar:2.2-2 0100510.060623-403 in http://x

Re: archetype:create-from-project and excluding files from to-be-created archetype

2010-12-01 Thread Wayne Fay
>  I have the same needs. I'd like to exclude the .project when creating my > archetype. > Is it possible ? The most effective route to getting this kind of issue resolved is to just do it yourself and donate the code back to the project via Jira. Otherwise the issue will simply sit for another ye

Re: inter-module dependencies and jetty/tomcat

2010-12-01 Thread Manuel Bernhardt
Hi, thanks for the answer > Not a good idea. >  - No reproducability I'm not sure what you mean by this >  - Too many dependencies Actually it's just one dependency, just that it's not depending on a packaged JAR but on a directory. >  - Too difficult for other members of the development to de

Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread mickeys
well I have changed it to env.WL_HOME but that aint working. Same error. Even if that would have worked. How come my other project teamworker can build it ok? they dont use any env.. and they dont even have it set in windows enviorment. I dont understand. -- View this message in context: ht

Re: inter-module dependencies and jetty/tomcat

2010-12-01 Thread Wayne Fay
> before migrating to maven, we had a tomcat / jetty set-up where B > would depend directly on the classes of A, so that you could debug & > do modifications on A while running / debugging B and not having to > re-build A. You can probably replicate this experience in Eclipse with m2e... or possib

Re: maven: How to include third party library to existing maven project

2010-12-01 Thread Justin Edelson
You need to use install:install-file On Dec 1, 2010, at 9:23 AM, Komal Agrawal wrote: > Hello there, > > I want to include external jar to my existing maven project. I used > following command to install it to local maven repository: > > mvn -e install:install > -Dfile="D:\test\com.project.MyA

maven: How to include third party library to existing maven project

2010-12-01 Thread Komal Agrawal
Hello there, I want to include external jar to my existing maven project. I used following command to install it to local maven repository: mvn -e install:install -Dfile="D:\test\com.project.MyApp.externalLib-1.0.jar" -DgroupId=com.project -DartifactId=MyApp -Dversion=1.0 -Dpackaging=jar and got

Re: Maven 3: deploy-file no longer work

2010-12-01 Thread Benjamin Bentmann
martib wrote: Return code is: 504 -> [Help 1] HTTP 5xx denotes server-side issues, so it's worth to check the proxy/server logs and start from there. Benjamin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: Maven 3: deploy-file no longer work

2010-12-01 Thread martib
Yes, sure I've checked the compatibility notes. Do I miss something? Standard deploy wagon is http, isn't it? So everthing should works as expected. But it doesn't -- View this message in context: http://maven.40175.n5.nabble.com/Maven-3-deploy-file-no-longer-work-tp3287456p3287704.html Sent fro

RE: can we use maven in offline environment?

2010-12-01 Thread Martin Gainty
this works for me mvn --offline goal bedankt, Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mit

Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread Greg Akins
On Wed, Dec 1, 2010 at 8:48 AM, mickeys wrote: >         > > WLI_IDE_COMPONENTBEANS_PATH=${project.artifactId}_WLI_ComponentBeans > > ,WLI_IDE_PROJECTBEANS_PATH=${project.artifactId}_WLI_ProjectBeans >            ,WLI_PROCESSOUTPUT_PATH=${project.build.directory}/processoutput >            ,WL_HOM

Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread mickeys
still same error. It seems it complaning about this 'wli:channel-build' that is a plugin -- View this message in context: http://maven.40175.n5.nabble.com/Why-is-it-complaining-about-WL-HOME-tp3287660p3287672.html Sent from the Maven - Users mailing list archive at Nabble.com. ---

RE: Resolving parent pom from the filesystem

2010-12-01 Thread ljnelson
Yanko, Curtis wrote: > > > It *always* looks up a level for a pom. This is why I would only use > that *up-a-level* pom for aggregation and not inheritance stuff. For > that we make the parentpom project at the module level and *build* it > (install or deploy) like any other project. > > Odd

Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread Justin Edelson
Use ${env.WL_HOME} On Dec 1, 2010, at 8:48 AM, mickeys wrote: > > I get this error message: > > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] O

Why is it complaining about ${WL_HOME}

2010-12-01 Thread mickeys
I get this error message: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] One or more required plugin parameters are invalid/missing for 'wli:channel-build'

Re: inter-module dependencies and jetty/tomcat

2010-12-01 Thread Ron Wheeler
On 01/12/2010 3:28 AM, Manuel Bernhardt wrote: Hi all, I have the following set-up: Project - module A: library (packaged as JAR) - module B: test webapp (packaged as WAR) B depends on A via a simple declaration. before migrating to maven, we had a tomcat / jetty set-up where B would depend

Re: Maven 3: deploy-file no longer work

2010-12-01 Thread Pazmiño Mazón , Iván Andrés
You might want to check the compatibility notes. https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html -Original Message- From: martib Reply-to: "Maven Users List" To: users@maven.apache.org Subject: Maven 3: deploy-file no longer work Date: Wed, 1 Dec 2010 02:36:55 -0800 (PS

how to insert document modification date in doxia template

2010-12-01 Thread Fritz Heinrichmeyer
Hello, i would like to insert document modification time in a doxia velocity template. I only found $dateToday and $currentdate. What is the name of the velocity template? A pointer to the source code would also be fine. -- Mit freundlichen Grüßen, Fritz Heinrichmeyer

Re: Creating a custom lifecycle

2010-12-01 Thread Gajo Csaba
Yes, I've created a new packaging. In my test project pom.xml, I now have: apple com.test.phases AppleLifecycle true The AppleLifecycle project defines the "apple" lifecycle. However, contrary to how custom lifecycles are usually defined, my components.xml looks like this: org.apa

Re: Creating a custom lifecycle

2010-12-01 Thread Tamás Cservenák
Not sure what you aiming for, but you could introduce new packaging, and that new packaging might introduce completely new lifecycle also. If you build some "custom" packaging, this would be the best, since it gives you freedom to do all what you need in your custom build, but also freedom to map

Re: Creating a custom lifecycle

2010-12-01 Thread Antonio Petrelli
2010/12/1 Gajo Csaba : > I didn't try it yet, but I'll try it now. > > I think this will not solve the problem. If you write mvn deploy, you will > probably have the compile, test etc. phases executed. What I need is, to not > run any of these phases, but immediately print out "this is not supporte

Re: Creating a custom lifecycle

2010-12-01 Thread Gajo Csaba
I didn't try it yet, but I'll try it now. I think this will not solve the problem. If you write mvn deploy, you will probably have the compile, test etc. phases executed. What I need is, to not run any of these phases, but immediately print out "this is not supported" and end the execution. Th

Re: Creating a custom lifecycle

2010-12-01 Thread Simone Tripodi
take a look at the maven deploy plugin configuration[1] and set true hope this helps Simo [1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Wed, Dec 1, 2010 at 12:18 PM, Gajo Csaba wrote: > I want to del

Re: Creating a custom lifecycle

2010-12-01 Thread Gajo Csaba
I want to delete the deploy goal. Make it exist as much as "mvn apple" does On 1.12.2010 12:14, Antonio Petrelli wrote: It's best to tell us what you want to accomplish. Fighting Maven is always a bad thing. Antonio 2010/12/1 Gajo Csaba: Hello, I'm trying to create a custom lifecycle. In thi

Re: can we use maven in offline environment?

2010-12-01 Thread Gajo Csaba
1. create a dummy maven project 2. in the pom.xml add in the , and ALL the files you'll need... possibly include all the versions as well 3. go to a computer that does have internet and run mvn clean site package install deploy dependency:go-offline and a handful of other commands you can th

Re: Creating a custom lifecycle

2010-12-01 Thread Antonio Petrelli
It's best to tell us what you want to accomplish. Fighting Maven is always a bad thing. Antonio 2010/12/1 Gajo Csaba : > Hello, > > I'm trying to create a custom lifecycle. In this case, I don't mean > providing custom classes for one of the defined phases, but redefining the > phases themselves.

Maven 3: deploy-file no longer work

2010-12-01 Thread martib
I'm facing a problem under M3 with   mvn deploy:deploy-file ... I'm getting this error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file (default-cli) on project : Failed to deploy artifacts: Could not transfer artifact com.oreilly:servlet:jar:200

Creating a custom lifecycle

2010-12-01 Thread Gajo Csaba
Hello, I'm trying to create a custom lifecycle. In this case, I don't mean providing custom classes for one of the defined phases, but redefining the phases themselves. For example, the DefaultLifecycleMapping seems to support clean, compile, test etc... How can I, for example, make it so th

Re: can we use maven in offline environment?

2010-12-01 Thread maven apache
2010/12/1 Antonio Petrelli > 2010/12/1 maven apache : > > In a word,all development related machine can not access the internet. > But > > they can access each other in the Local Area Network. > > > > I mean the build machine as my own work machine. It can access the > > repository machine throug

Re: can we use maven in offline environment?

2010-12-01 Thread Antonio Petrelli
2010/12/1 Antonio Petrelli : > 2010/12/1 maven apache : >> In a word,all development related machine can not access the internet. But >> they can access each other in the Local Area Network. >> >> I mean the build machine as my own work machine. It can access the >> repository machine through Local

Re: can we use maven in offline environment?

2010-12-01 Thread Antonio Petrelli
2010/12/1 maven apache : > In a word,all development related machine can not access the internet. But > they can access each other in the Local Area Network. > > I mean the build machine as my own work machine. It can access the > repository machine through Local Area Network. But the repository m

Re: can we use maven in offline environment?

2010-12-01 Thread Antonio Petrelli
2010/12/1 maven apache : > Hi: > Out work environment is offline,so I wonder if we can use maven. > > I know we can build our own repository ,then put the jars we are using in > the repositoryl,however jars we are using are so many,it is not a simple > work. > > ALso,even if we put all the jars in

can we use maven in offline environment?

2010-12-01 Thread maven apache
Hi: Out work environment is offline,so I wonder if we can use maven. I know we can build our own repository ,then put the jars we are using in the repositoryl,however jars we are using are so many,it is not a simple work. ALso,even if we put all the jars in the repository,how about when a new dep

Re: archetype:create-from-project and excluding files from to-be-created archetype

2010-12-01 Thread abousso...@gmail.com
Hi I have the same needs. I'd like to exclude the .project when creating my archetype. Is it possible ? thanks -- View this message in context: http://maven.40175.n5.nabble.com/archetype-create-from-project-and-excluding-files-from-to-be-created-archetype-tp124602p3287376.html Sent from the M

inter-module dependencies and jetty/tomcat

2010-12-01 Thread Manuel Bernhardt
Hi all, I have the following set-up: Project - module A: library (packaged as JAR) - module B: test webapp (packaged as WAR) B depends on A via a simple declaration. before migrating to maven, we had a tomcat / jetty set-up where B would depend directly on the classes of A, so that you could d