Re: Build profiles and overriding resources
Instead of having bunch of subdirectories with resources for every environment, try only one, but use bunch of filters. One filter per environment ;) V
Re: Migrate project to maven
Operating system can trigger activation of specific profile, so you can have operating system specific builds. On Nov 7, 2007 9:39 AM, Sean Qiu <[EMAIL PROTECTED]> wrote: > I am interested in this topic. > I have another question, what can maven handle the native code that is > distinct from operation systems? > Is there any reference to follow? > > > 2007/11/7, Vanja Petreski <[EMAIL PROTECTED]>: > > > > 1) Manually > > > > 2) You can play with super pom to override default settings, so that > Maven > > "knows" for your custom project structure. > > > > V > > > > On Nov 7, 2007 6:02 AM, Riaz uddin <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > I am trying to add a build process to my current project using maven. > > How > > > do I do this? The documentation shows creating a maven project from > > scratch > > > but how do i proceed when I already have code? > > > > > > Thanks > > > > > > __ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam protection around > > > http://mail.yahoo.com > > > > > > > > > -- > Sean Qiu > http://xiaoxia.turendui.com >
Re: Migrate project to maven
1) Manually 2) You can play with super pom to override default settings, so that Maven "knows" for your custom project structure. V On Nov 7, 2007 6:02 AM, Riaz uddin <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to add a build process to my current project using maven. How > do I do this? The documentation shows creating a maven project from scratch > but how do i proceed when I already have code? > > Thanks > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >
Re: Maven/Subversion/Eclipse/Subclipse Configuration
Check config file for the subversion. There you can find global-ignores option, where you can set filtering for target and other non-maven files (like IDE specific files). I am following the procedure: 1) Create Maven project structure 2) Import to the Subversion (with mentioned global-ignores) 3) Now everybody can checkout 4) Every developer now can choose IDE (for example mvn eclipse:eclipse) I don't use Eclipse plugins for Maven at all, because no one is good enough for me. I am using Subclipse as the SVN client, but import and checkout I am doing manually (using svn command). Regards, Vanja On Nov 6, 2007 2:13 PM, Simon Taylor <[EMAIL PROTECTED]> wrote: > Were configuring our first Maven project and wondering if we have the > right approach. > > Were using Maven2, Subversion accessible via WebDAV, Eclipse with both > Subclipse and Maven2Eclipse plugin. > > We created a new Maven2 project in Eclipse. > We have an existing project structure that we want to convert to Maven 2 > and check in to the repository so we can then check it out and work on > it in Eclipse. > In eclipse it seems you can only check out from the repository "As a new > project" - if we do this then we don't get the Maven2 structure. > One alternative is to create the Maven2 project structure import the src > code from the filesystem and then commit the whole project to Subversion > - but ths also commits the target dir and all the compiled classes which > to my mind shouldn't live in the repository. > > Whats the right way to use Maven2, Subversion and Eclipse. > > Thanks > > Simon > > > > Simon Taylor > Service Tools Solutions (STS) Engineer > Nortel > Email [EMAIL PROTECTED] > Office +44.1279 402291 (ESN 6 742 2291) > Mobile +44.7740.533743 (ESN 748 3743) > > > >
Re: configure build trigger ('after each commit') web-console
> > Isn't that same as the developer who are doing svn update for every > project > > every one minute? > > I'm not sure the developer run a svn update every minute ;) :)) > > > Personally, I don't understand why some users need to run a build for > each > >> commit??? > > > > > > Isn't that one of the feature of the Continuous Integration? To > discover > > problems ASAP? > > yes, but IMO, one hour is enough for asap. I agree :) Vanja
Re: Problem svn when I build Maven 2.0 project
Probably ;) You have to set up integration (Continuum) platform as any other development platform. In your case, you have to install and setup: JDK, SVN, Maven2. Vanja On 10/25/07, olivier lamy <[EMAIL PROTECTED]> wrote: > > Hi, > Not really familiar with the language :-) > But looks svn is not in the path. > > > > 2007/10/25, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > I'm newby with Continuum and I have the following error when I build my > > Maven 2.0 project: > > > > Provider message: The svn command failed. > > Command output: > > > --- > > "svn" no se reconoce como un comando interno o externo, > > programa o archivo por lotes ejecutable. > > > --- > > > > I have installed Continuum in my PC and svn server in other pc and I can > > access to svn from other programs like eclipse or Tortoise svn. > > Also I installed svn-win32-1.4.5 in my pc and I add c:\svn- > win32-1.4.5\bin > > directory in Windows path. > > > > My project settings are: > > I add in my pom.xml (in local): > > > > > > > scm:svn:http://:/svn/repo//trunk > > > scm:svn:http://:/svn/repo//trunk > > > > > > In admin management Continuum: > > SCM URL. scm:svn:http://:/svn/repo//trunk > > > > Can somebody help me?? Any idea?? > > > > Thx > > > > > -- > Olivier >
Re: Gentoo Linux init.d script?
Definitely not Gentoo init script... V On 10/24/07, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: > > Oops... > > I just realised I have changed the OS on my Maven/Continuum/Archiva > box ... it's no longer Gentoo but CentOS (the company uses RedHat by > default). So the init script I sent is for CentOS, not Gentoo. > > My apologies, I'll try to create an init script for Gentoo. > > Cheers, > Hilco >
Jabber Recipient Address - Address is invalid
Hi, typical JID on my network is [EMAIL PROTECTED] and not [EMAIL PROTECTED] web application has validation, so i can't enter [EMAIL PROTECTED] How to fix that? Thanx, Vanja
Re: Maven Proxy
Artifactory definitely! On 10/12/07, Michal Hlavac <[EMAIL PROTECTED]> wrote: > > Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal: > > I would definitely recommend Artifactory. > > I am using artifactory deployed on glassfish and works very good... > > m. > >
Re: Howto use libraries which are not in the repository?
Install them either in the local or inhouse repository and use it :) Vanja On 10/12/07, Thai Dang Vu <[EMAIL PROTECTED]> wrote: > > Hi, > > How can I use libraries which are not in the repository but in my hard > disk? > > Regards. > > > NOTICE: This message (including any attachments) from Momentum Systems, > Inc. contains information that is PRIVILEGED and CONFIDENTIAL. If you are > not an intended recipient, you are hereby notified that any dissemination of > this message is strictly prohibited. If you have received this message in > error, please do not read, copy or forward this message. Please permanently > delete all copies and any attachments and notify the sender immediately by > reply email or by calling our Office at 703.740.9300. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: list of companies using Maven 2.0.7
One more vote for Antegra (http://www.antegra.com/index.php?lang=2&menu=1). V > > > Can any one tell me which are the companies using Maven 2.0.7 or Maven > > 2.x? > > > > > > > > > thanks in advance. > > > -- > >
[SOLUTION] Filtering resources in the EAR artifact
Hello, I lost couple of hours with this problem, so I am giving the solution (and would like to hear the better one, if there is a such). The problem: We have ear with couple of modules (ejb, war...) and META-INF with standard and proprietary descriptors (data-sources.xml, orion-application.xml, etc.). Some of them need to be filtered (for example: data-sources.xml). In order to `mvn package` on the ear artifact generate desired structure, we have to put our descriptors in the ${basedir}/src/main/application (not in ${basedir}/src/main/resources). And that works. But filtering doesn't! If we set filtering on this folder, in the target we get classes folder with properly filtered resources, but the ear is not using them. Ear uses your-ear-artifact in the target to be made of. In the target/your-ear-artifact there is META-INF, but with non filtered resources. The quickest (and only one for now, as I know) solution: We have to tell ear plugin to use ${basedir}/target/classes as the resource folder, since there are located properly filtered resources: maven-ear-plugin target/classes Ofcourse, we are using now the standard ${basedir}/src/main/resources folder with filtering turned on. Regards, Vanja
Re: Is this a bug (Maven needs pom to read global settings.xml)?
done.. On 10/1/07, Gisbert Amm <[EMAIL PROTECTED]> wrote: > > Vote for it ... > > -Gisbert > > Vanja Petreski wrote: > > Yes! > > > > V > > > > On 10/1/07, Gisbert Amm <[EMAIL PROTECTED]> wrote: > > > >>This one? > >> > >>http://jira.codehaus.org/browse/ARCHETYPE-81 > >> > >>-Gisbert > >> > >>Vanja Petreski wrote: > >> > >>>Hello, > >>> > >>>I have Maven 2.0.7 installation on the SVN with configured settings.xml > , > >> > >>so > >> > >>>every developer can update changes (for example, about repo, etc..). > >>> > >>>I am using Artifactory for repository management and everything work > >>>perfectly until now. > >>> > >>>If I use, for example, mvn archetype:create > >>>-DgroupId=com.blah-DartifactId=modulX in a folder that doesn't contain > >>>pom.xml, Maven stucks at "update blah blah from central", where central > >> > >>is > >> > >>>my Artifactory cache repo. I thought that there is a problem with > >>>Artifactory, but after an hour of experimenting I realized when I use > >> > >>the > >> > >>>same command in a directory that contains pom.xml, it works. > >>> > >>>So, in the first case, Maven doesn't recognize global settings.xml!? > >>> > >>>Can somebody explain this strange behaviour or this is a bug? > >>> > >>>V > >>> > >> > >> > > > > -- > Gisbert Amm > Softwareentwickler Infrastruktur > Telefon: (0721) 91374 - 4224 > Telefax: (0721) 91374 - 2740 > E-Mail: [EMAIL PROTECTED] > Internet: www.1und1.de > > 1&1 Internet AG > Elgendorfer Strasse 57 > 56410 Montabaur > > Amtsgericht Montabaur HRB 6484 > > Vorstand: Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger > (Vorsitzender), Matthias Greve, Henning Ahlert, Norbert Lang, Achim > Weiss, Robert Hoffmann, > Aufsichtsratsvorsitzender: Michael Scheeren > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Is this a bug (Maven needs pom to read global settings.xml)?
Yes! V On 10/1/07, Gisbert Amm <[EMAIL PROTECTED]> wrote: > > This one? > > http://jira.codehaus.org/browse/ARCHETYPE-81 > > -Gisbert > > Vanja Petreski wrote: > > Hello, > > > > I have Maven 2.0.7 installation on the SVN with configured settings.xml, > so > > every developer can update changes (for example, about repo, etc..). > > > > I am using Artifactory for repository management and everything work > > perfectly until now. > > > > If I use, for example, mvn archetype:create > > -DgroupId=com.blah-DartifactId=modulX in a folder that doesn't contain > > pom.xml, Maven stucks at "update blah blah from central", where central > is > > my Artifactory cache repo. I thought that there is a problem with > > Artifactory, but after an hour of experimenting I realized when I use > the > > same command in a directory that contains pom.xml, it works. > > > > So, in the first case, Maven doesn't recognize global settings.xml!? > > > > Can somebody explain this strange behaviour or this is a bug? > > > > V > > > >
Is this a bug (Maven needs pom to read global settings.xml)?
Hello, I have Maven 2.0.7 installation on the SVN with configured settings.xml, so every developer can update changes (for example, about repo, etc..). I am using Artifactory for repository management and everything work perfectly until now. If I use, for example, mvn archetype:create -DgroupId=com.blah-DartifactId=modulX in a folder that doesn't contain pom.xml, Maven stucks at "update blah blah from central", where central is my Artifactory cache repo. I thought that there is a problem with Artifactory, but after an hour of experimenting I realized when I use the same command in a directory that contains pom.xml, it works. So, in the first case, Maven doesn't recognize global settings.xml!? Can somebody explain this strange behaviour or this is a bug? V
How to access ${project.build.finalName} from assembly?
Hello, I have assembly bin-release.xml: ... src/main/runscript true true bin *.sh *.bat 0544 ... My run.sh look like this: #!/bin/sh java -jar ${project.build.finalName}.jar When I fire mvn clean package assembly:assembly, resulting run.sh is the same as the original. I figure out that in the bin-release.xml there is no such property. Is there any way to access it, because i dont want to change my run script every time when I change the version, and, still, I want to have "versioned" jar. Btw, this is multi module project. Thanx, Vanja
Re: Multi module project and maven-assembly-plugin
lib-release.xml: lib-release zip true ${artifactId} com.antegra.aims:aims-bot-api com.antegra.aims:aims-bot-core lib false false On 8/20/07, Vanja Petreski <[EMAIL PROTECTED]> wrote: > > Hello, > > I have problem with attached goal. > > Parent POM: > > 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 > "> > > 4.0.0 > > com.antegra.aims > aims-bot > pom > 0.1.0-alpha-SNAPSHOT > aims-bot > http://www.antegra.com > AIMS Bot Library > > > 0.1.0-alpha-SNAPSHOT > > > > > > > maven-compiler-plugin > > 1.5 > 1.5 > > > > > maven-resources-plugin > > UTF-8 > > > > > maven-assembly-plugin > > > src/main/assembly > > > > > > lib-release > package > > attached > > > > > > > > > > aims-bot-api > aims-bot-core > > > > > > com.antegra.aims > aims-bot-api > ${aimsBotVersion} > > > com.antegra.aims > aims-bot-core > ${aimsBotVersion} > > > jivesoftware > smack > 3.0.4 > > > > > > > junit > junit > 3.8.1 > test > > > > > --- > > When I fire mvn package, the following error occurs: > > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] aims-bot > [INFO] aims-bot-api > [INFO] aims-bot-core > [INFO] > > [INFO] Building aims-bot > [INFO]task-segment: [package] > [INFO] > > [INFO] [site:attach-descriptor] > [INFO] [assembly:attached {execution: lib-release}] > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Failed to create assembly: Artifact: > com.antegra.aims:aims-bot-api:jar:0.1.0-alpha-SNAPSHOT (included by > module) does not have an artifact with a file. Please ensure the package > phase is run before the assembly is generated. > > > > If I dont bind attached goal to the package phase and fire mvn clean > package assembly:assembly, everything is ok. > > What is the problem? > > Thanx, > Vanja >
Multi module project and maven-assembly-plugin
Hello, I have problem with attached goal. Parent POM: 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";> 4.0.0 com.antegra.aims aims-bot pom 0.1.0-alpha-SNAPSHOT aims-bot http://www.antegra.com AIMS Bot Library 0.1.0-alpha-SNAPSHOT maven-compiler-plugin 1.5 1.5 maven-resources-plugin UTF-8 maven-assembly-plugin src/main/assembly lib-release package attached aims-bot-api aims-bot-core com.antegra.aims aims-bot-api ${aimsBotVersion} com.antegra.aims aims-bot-core ${aimsBotVersion} jivesoftware smack 3.0.4 junit junit 3.8.1 test --- When I fire mvn package, the following error occurs: [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] aims-bot [INFO] aims-bot-api [INFO] aims-bot-core [INFO] [INFO] Building aims-bot [INFO]task-segment: [package] [INFO] [INFO] [site:attach-descriptor] [INFO] [assembly:attached {execution: lib-release}] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to create assembly: Artifact: com.antegra.aims:aims-bot-api:jar:0.1.0-alpha-SNAPSHOT (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated. If I dont bind attached goal to the package phase and fire mvn clean package assembly:assembly, everything is ok. What is the problem? Thanx, Vanja
Plugin for making graphical dependency graph?
Hi, is there any such plugin which is capable for generating dependency graph image based on the maven multi module project? V
Re: Xstream 1.2.x is broken
Yes, because this pom is not valid 4.0.0 model version as you can see here: http://repo1.maven.org/maven2/xstream/xstream/1.2/xstream-1.2.pom V On 6/24/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: (However, repository poms are rarely changed unless they are broken. Is that the case here?) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Xstream 1.2.x is broken
Hi, you have wrong poms for XStream 1.2.x. Fix: xstream xstream 1.2.2 com.thoughtworks.xstream to this: 4.0.0 xstream xstream 1.2.2 com.thoughtworks.xstream V
Re: New User
Hi, http://maven.apache.org/ http://www.mergere.com/m2book_download.jsp http://www.sonatype.com/book/index.html http://en.wikipedia.org/wiki/XML http://www.google.com Vanja On 6/13/07, Choudhary, Jay <[EMAIL PROTECTED]> wrote: Dear All I am new user of Maven and CruiseControl, I would appreciate if any one could help me in understanding how Maven works and is configured. I don not have very good knowledge of xml scripting Regards -Jay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: won't build compile java 5 sources ...
You have to configure the compile plugin like this: ... ... maven-compiler-plugin 1.5 1.5 ... ... Vanja On 6/12/07, Giovanni Azua <[EMAIL PROTECTED]> wrote: Hi, I have the following pom.xml snippet: java/ java-test/ But the code does not compile because it is set to -source 1.3 instead of -source 1.5 I cant find where to set this? Help! Such detail that will make the code compile in 1.5 is impossible to find in the current documentation? TIA, Regards, Giovanni
Re: [ANN] Release of Apache MyFaces Trinidad's Maven plugins (1.0.1)
Hi, that is great news! Is there any documentation about plugin configuration? Thanx, V On 6/12/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: Hi, The Apache MyFaces community is pleased to announce its 1.0.1 release of the Apache MyFaces Trinidad Maven2 plugins. These Maven2 plugins have been deployed to the Apache Maven2 and they are mirrored by ibiblio as well. release notes Apache MyFaces Trinidad Plugins (version 1.0.1) (for JSF 1.1) This file contains informations for the 1.0.1 release of the Plugins for the Apache MyFaces Trinidad solved Jira issue: Issues: ADFFACES-487 - Change Component generator to us XXX.valueOf(x) instead of new XXX(x) when converting between primitives to Objects in components ADFFACES-459 - maven-faces-plugin doesn't support deprecated element in facet-metadata element ADFFACES-412 - JSLocaleElementsGenerator cannot be parsed by latest version of Qdox ADFFACES-411 - xrts plugin should support metadata content ADFFACES-406 - Tagdoc should list appropriate values if enumerated. ADFFACES-372 - The Trinidad Maven JDeveloper plugin is not able to handle multiple TLD files having the same name. Enjoy! -Matthias -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Creating internal remote repsistory for Oracle ADF project
Hi, try with this one: http://www.sonatype.com/book/index.html ;) Vanja On 6/8/07, Andrew Birchall <[EMAIL PROTECTED]> wrote: Thanks a lot Wayne, that's great help. It does seem a lot of work to do this for every jar file the project depends on but I guess I can write a script to do it. I feel that the documentation for Maven is not that good. Its not very clear or well structured, making it hard to find what you need, especially for people who are new to it. For example, the Introduction to Repositories page ( http://maven.apache.org/guides/introduction/introduction-to-repositories.html ), which talks about Internal Repositories, contains no information about using mvn deploy:deploy-file. There's also hardly anything on this in the Better Build with Maven book from Mergere. I think this is a gap in the Maven documentation. But I also feel that the Maven documentation is weakness in the Maven project generally and probably hinders it's adoption. Thanks very much Andy Birchall On 07/06/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > mvn install:install-file and mvn deploy:deploy-file are your friends > -- and they are very well-documented [1] [2] including a FAQ [3]. > Assuming you have oc4j.jar and want to push it into the shared > corporate repo: > > mvn deploy:deploy-file -DgroupId=com.oracle.jdeveloper > -DartifactId=oc4j -Dversion=10.1.3.2 -Dpackaging=jar -Dfile=oc4j.jar > -DgeneratePom=true -DrepositoryId=your_id > -Durl=file://somewhere/m2/repo > > You will have to pick the groupId, artifactId, version for all your > jars. Also, you will need to follow the directions regarding setting > up the repositoryId in your settings.xml and of course get the right > file:// path. But that's it. > > Wayne > > [1] http://maven.apache.org/plugins/maven-install-plugin/usage.html > [2] http://maven.apache.org/plugins/maven-deploy-plugin/usage.html > [3] http://maven.apache.org/guides/mini/guide-deploying-3rd-party- jars.html > > On 6/7/07, Andrew Birchall <[EMAIL PROTECTED]> wrote: > > Hello, > > I am trying to Mavenize a multi-module J2EE Oracle ADF project that is > > currently built with several Ant scripts and developed in JDeveloper > > 10.1.3.2 > > > > One of the main problems I have is that the project depends on many > > Artifacts (jar files) distributed with JDeveloper. > > > > Thus, In order to build this project with Maven I have to set up an > > internal repository in our company with all the JDeveloper jar files. > > At the moment I am trying to do this with the file:// protocol on a > > network share. > > > > However I'm not really sure the way to go about this and I can't seem > > to find any good documentation on it. Non of the jars distributed with > > JDeveloper are versioned. Do I have to version all the jar files > > myself and put them in the correct package directories, in order to > > conform to the Maven repository layout convention? How do I know what > > version to re-name the jar files to? > > > > If I do have to do this its a BIG and tedious job because there's so > > many dependencies. And what about the pom files for each jar, how do > > these get created? > > > > I'd be very grateful to hear from anyone who can help > > Kind regards > > Andy Birchall > > > > ----- > > 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: Re: [m204] Help getting Maven to run with JDeveloper 10.x please...???
Hi, My team is very interested to see jdev plugin! We are planning to use Maven2 in a very big project based on Oracle and JEE technologies, and ofcourse, we are using Jdeveloper and the big problem is lack of a jdev plugin. Btw, there is also very poor Cargo support for OC4J (>= 10.1.3) (have to use exec and OC4J specific tools..) Vanja On 6/7/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: Looks like nobody is interested in moving the JDev-Plugin from MyFaces to Maven -Matthias On 3/20/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hello, > > the JDEV plugin from Trinidad has been released as 1.0.0-incubating > > http://people.apache.org/repo/m2-incubating-repository/org/apache/myfaces/trinidadbuild/maven-jdev-plugin/1.0.0-incubating/ > > I would agree that it makes sense to bring it to maven plugins project. > Still interested ? > > Greetings, > Matthias > > On 8/24/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > This was donated with the intention of bringing it to Maven. If you > > both are interested, we're looking for people who can contribute to > > it. > > > > - Brett > > > > On 24/08/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > > There is a Maven plugin available in the myfaces trinidad project. You > > > have to build it yourself but work great. > > > > > > On 8/22/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > > > I am trying to add my maven application to JDeveloper workspace. Can anyone > > > > help me? When I import the ear file into JDeveloper, it just does not look > > > > the same?
Re: getting started
Create the settings.xml in C:\Documents and Settings\YOUR_USER\.m2\ file with the similar structure: http://maven.apache.org/guides/mini/guide-proxies.html Vanja On 6/5/07, Steven R Faber <[EMAIL PROTECTED]> wrote: I'm trying to get maven 2.0.6 installed using a proxy on a Windows XP PC with jdk1.5.0_11. I managed to get the path variable set as described although there are 2 different descriptions in the documentation, one using a M2_HOME and one not, so I'm assuming you don't need M2_HOME. I do get the mvn --version to work OK, but cannot access anything on the web. I wasn't sure where ~/.m2/ was supposed to be on a Win XP system but after running filemon I saw it was looking for something under C:\Documents and Settings\username\.m2 so i copied the settings.xml there and changed the proxy to match our company's configuration. I also changed the local repository to be C:\repo, however it seems to still use ~/.m2/repository and maven is unable to get any jars from the internet. It seems to be finding the settings.xml now but it isn't clear if the settings are being used. It seems that the documentation has a couple different formats shown for setting the proxy with elements in different orders. I tried both ways and also with and without some other elements that may or may not be optional. Can anyone help? Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]