Re: first use of Maven -- how to check cvs repository and build when something has changed

2009-03-12 Thread Wendy Smoak
On Thu, Mar 12, 2009 at 8:30 PM, Chris Stoughton chris.stough...@gmail.com wrote: I have continuum installed, but I need to install a Maven2 build. 1.  Does continuum detect that there is a change in cvs? 2.  Given that there is a change, what phase of maven does the cvs checkout? Probably

Re: Why distributionManagement doesn't work?

2009-03-12 Thread Wendy Smoak
On Thu, Mar 12, 2009 at 9:54 PM, youhaodeyi youhaod...@gmail.com wrote: Thanks it solves my problem. I can get the dependency. But when I run mvn deploy command to deploy files, it will deploy the jar to the reposiroty not the snapshotRepository. My project has the version test-1.00-SNAPSHOTS.

Re: installing a war from a war based project automatically

2009-03-11 Thread Wendy Smoak
On Wed, Mar 11, 2009 at 12:48 PM, EJ Ciramella ecirame...@upromise.com wrote: Is there a good way to, when building a war type project, to have the resulting war file placed in the users local repository? Just 'mvn install' should do that. What command are you using and what's going wrong? --

Re: how to escape %{SOMENAME} characters in archetypes?

2009-03-10 Thread Wendy Smoak
On Tue, Mar 10, 2009 at 1:36 PM, Mick Knutson mickknut...@gmail.com wrote: I keep getting these errors created a project from my archetype: *[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [ * *line 84,column 44] :

Re: Not deploy certain files

2009-03-09 Thread Wendy Smoak
On Mon, Mar 9, 2009 at 12:33 PM, solo1970 sonia.lodoviche...@ericsson.com wrote: Anyone can explain to me how to not deploy certain files? Example:  I have a few POMs that produce jar files and then I have one POM that packages everything in a, let's say, zip file.  When I do my mvn clean

Re: Trouble getting mvn gram:gram to work

2009-03-09 Thread Wendy Smoak
On Mon, Mar 9, 2009 at 3:34 PM, Frans Slothouber frans.slothou...@gmail.com wrote: [INFO] Installing /home/tester/Sandbox3/maven-gram-plugin/maven-gram-plugin/target/maven-gram-plugin-4.x-incubator-SNAPSHOT.jar to

Re: release:prepare cannot find artifacts

2009-03-04 Thread Wendy Smoak
On Wed, Mar 4, 2009 at 3:06 PM, David C. Hicks dhi...@i-hicks.org wrote: I'm trying to run release:prepare on my project.  There are to modules in the project that other modules depend on.  The project builds just fine.  The problem seems to be that release:prepare does not do an install on

Re: how to stop pom downloads

2009-03-04 Thread Wendy Smoak
On Wed, Mar 4, 2009 at 3:48 PM, Davis Ford davisf...@zenoconsulting.biz wrote: Hi, we have an internal repo here (using Archiva), and I manually deployed some jars to it.  However, whenever I run a maven command it is constantly trying to check the pom against the server version. Example:

Re: how to stop pom downloads

2009-03-04 Thread Wendy Smoak
On Wed, Mar 4, 2009 at 3:56 PM, Davis Ford davisf...@zenoconsulting.biz wrote: slaps-forehead  -- I did mvn install:install-file -- can you make the install command generate a pom.xml? Install is for your _local_ repo. You need deploy:deploy-file, and yes, there's a parameter

Re: how to stop pom downloads

2009-03-04 Thread Wendy Smoak
On Wed, Mar 4, 2009 at 4:02 PM, David C. Hicks dhi...@i-hicks.org wrote: Does Archiva not have some kind of web interface from which you can do an install?  I know Nexus does.  It handles building the POM for you. Yes, it does have a web interface with a checkbox to generate the pom, so that's

Re: how to stop pom downloads

2009-03-04 Thread Wendy Smoak
On Wed, Mar 4, 2009 at 4:08 PM, Davis Ford davisf...@zenoconsulting.biz wrote: I have to wait a couple minutes while it hits the server to check for pom files.  I know how to fix it now.  I will deploy the jars to archiva, or else use the generatePom option for installing locally. The only

Re: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-26 Thread Wendy Smoak
On Wed, Feb 25, 2009 at 3:56 PM, Les Hazlewood l...@hazlewood.com wrote: I have a build that must run every 5 minutes or so in a Continuous Integration server.  It must do this because it downloads information that exists outside of a Maven artifact repository or any build environment and

Re: .Net Application Build using Maven

2009-02-25 Thread Wendy Smoak
On Wed, Feb 25, 2009 at 9:00 AM, SRINIVASA RAO srinivasv_amb...@yahoo.com wrote: I need to build the .Net application(dll file) by using Maven script. If any body having idea on that, please give me sample examples on both .Net and Maven. It will be great help to me. Check the links on the

Re: how to change the destination of JAR file

2009-02-23 Thread Wendy Smoak
On Mon, Feb 23, 2009 at 6:23 PM, ecca eric...@gmail.com wrote: I'm using the JAR plugin and I want to change the destination folder of the final JAR file created. How do I do that? It depends on what you mean... where is it going now, and where do you want it to go? By default Maven creates

Re: how to change the destination of JAR file

2009-02-23 Thread Wendy Smoak
On Mon, Feb 23, 2009 at 7:43 PM, ecca eric...@gmail.com wrote: What about if I just want the JAR file to be placed in the default target directory as well as another additional directory? (Just the JAR file) You can do it with the Antrun plugin and the copy task, but take care that you don't

Re: Auto creating the tool version string

2009-02-22 Thread Wendy Smoak
On Sun, Feb 22, 2009 at 7:00 AM, Google Mail olegtarane...@googlemail.com wrote: Is there maven support to supply this three parameters (versionId, svn version and compile timestamp) direct into the java source code without handy synchronization with pom.xml, svn info and so on? Take a look

Re: Rename file in target dir

2009-02-22 Thread Wendy Smoak
On Sun, Feb 22, 2009 at 7:25 AM, Oleg Taranenko taranenko.for...@googlemail.com wrote: How I can rename the artifact jar from format mytool-1.0.1-SNAPSHOT.jar to mytool.jar, before packaging it into assembly? I'm using now bootstrap batch file a la mvn.bat. java -classpath

Re: Using super pom

2009-02-21 Thread Wendy Smoak
On Sat, Feb 21, 2009 at 6:48 AM, John Wooten jwoo...@shoulderscorp.com wrote: I have the following file structure: /Deep6MasterPOM pom.xml /Foundation pom.xml I have a local maven repository in ~woo/.m2/repository, of course. I'm trying to put a few common things into the

Re: Archiva and LDAP Integration

2009-02-17 Thread Wendy Smoak
On Tue, Feb 17, 2009 at 1:40 PM, lsacco occ...@gmail.com wrote: Does Archiva 1.1.3 provide LDAP integration? I see some stuff in JIRA about LDAP issues but I don't see any documentation anywhere on the site that describes how to set it up. Archiva is now a separate project with its own

Re: Set system properties in pom.xml?

2009-02-16 Thread Wendy Smoak
On Mon, Feb 16, 2009 at 6:01 PM, David C. Hicks dhi...@i-hicks.org wrote: The surefire documentation is plenty clear, but the feature apparently doesn't work. At least, I have been unsuccessful with it, thus far. I'm just trying to pass in a simple string for my tests to pick up. The string

Re: Velocity chokes on ${not empty user}

2009-02-13 Thread Wendy Smoak
On Fri, Feb 13, 2009 at 7:42 AM, Blake Martin blakecmar...@gmail.com wrote: I'm attempting to create an archetype. One of my JSP's contains the following el expression: ${not empty user} I tried escaping the $, but Velocity chokes anyways. Any ideas? There's a HOWTO about escaping variables

Re: Maven Release Plugin

2009-02-11 Thread Wendy Smoak
On Wed, Feb 11, 2009 at 9:19 AM, Terry Bell tb...@selkirksystems.com wrote: Is there any way to stop the release:perform from generating any reports at all? I would looking for an option that just does the subversion tagging commits, and the artifactory uploads. By default, release:perform

Re: Integration Testing from a separate module.

2009-02-05 Thread Wendy Smoak
On Thu, Feb 5, 2009 at 3:07 PM, David C. Hicks dhi...@i-hicks.org wrote: Essentially, I have two modules - the war module and the integration-test module. (I intend to split the war stuff up soon, as well.) Obviously, the integration-test module must have a dependency on war (it can't run

Re: Archiva and Assembly Artifact

2009-02-04 Thread Wendy Smoak
On Wed, Feb 4, 2009 at 8:46 AM, Salgar, Mehmet (external) mehmet.sal...@external.t-mobile.de wrote: Upload process functions but we are not able to see the artifact later in the archiva... Please ask on the Archiva users list. (Archiva is a separate project and has its own mailing lists.)

Re: Automate modifying Maven site index when releasing

2009-02-04 Thread Wendy Smoak
On Wed, Feb 4, 2009 at 4:34 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: The whole point of this thread was to automate it. How about... - write a plugin to modify the text of the file. - use the scm plugin to commit the change. -- Wendy

Re: Archiva and Maven 2.0.9, defect POM

2009-02-02 Thread Wendy Smoak
On Mon, Feb 2, 2009 at 9:45 AM, Michael Hüttermann mich...@huettermann.net wrote: I use Maven 2.0.9 and Archiva 1.1.1. In my environment the central proxy repository Archiva has a defect entry for \internal\org\apache\maven\maven\2.0.9. After some manual and suboptimal work there only dummy

Re: [archiva] Changing the identifier ID for internal and snapshot?

2009-01-30 Thread Wendy Smoak
On Fri, Jan 30, 2009 at 6:41 AM, Mick Knutson mknut...@baselogic.com wrote: How can I change the identifier ID for the internal and snapshot repositories? Add a new repository with the desired name and the same configuration, then delete 'internal'. (Repeat for 'snapshots'). -- Wendy

Re: [archiva] Changing the identifier ID for internal and snapshot?

2009-01-30 Thread Wendy Smoak
On Fri, Jan 30, 2009 at 7:50 AM, Wendy Smoak wsm...@gmail.com wrote: On Fri, Jan 30, 2009 at 6:41 AM, Mick Knutson mknut...@baselogic.com wrote: How can I change the identifier ID for the internal and snapshot repositories? Add a new repository with the desired name and the same configuration

Re: [archiva] Changing the identifier ID for internal and snapshot?

2009-01-30 Thread Wendy Smoak
On Fri, Jan 30, 2009 at 8:17 AM, Mick Knutson mickknut...@gmail.com wrote: That did not work. It keeps saying the database row does not exist. Okay, let's take this to the Archiva users list then. :) If you're not already subscribed, you can find info here:

Re: Maven for the internet afraid

2009-01-29 Thread Wendy Smoak
On Thu, Jan 29, 2009 at 9:27 PM, Merv Green paradeofh...@gmail.com wrote: Asking this embarrasses me, but must be done. I work for a company where the internet terrifies Them. They want to use Maven, but they think it should never go online, so they want a locked down internal repository

Re: create war and jar files at same time.

2009-01-27 Thread Wendy Smoak
[Answered only on users@ list. Please don't cross-post.] On Tue, Jan 27, 2009 at 1:08 AM, Minhaj minhaj...@gmail.com wrote: i am working on maven;s multi module project i have three modules with three pom.xml files all of them generating war files successfully and i want to generate a jar

Re: public html index for the site repo of org.apache.maven.plugins?

2009-01-23 Thread Wendy Smoak
On Fri, Jan 23, 2009 at 2:27 PM, ecc11718 ecc11...@gmail.com wrote: Is there a publicly-available html index of the org.apache.maven.plugins site documentation, with previous versions of the sites, etc? I see the upload url for the site documentation is

Re: How do I add all the jars in a directory in junit test exeicution classpath

2009-01-22 Thread Wendy Smoak
On Wed, Jan 21, 2009 at 3:57 AM, peppinolusuraio uaschits...@libero.it wrote: I have created a directory %M2_REPO%/myNewGroup/myNewArtifacId/ and I have copied all my jar in the lib. It does not work. You need to use the install plugin to put the jars into your local repository. mvn

Re: Unable to build a maven project ufter updating JMS to 1.1

2009-01-16 Thread Wendy Smoak
On Fri, Jan 16, 2009 at 9:28 AM, edgarosy edgar.l...@gmail.com wrote: I forgot to mention that I am unable to build the project from the build server, but if I run it from any other computer checking out the same project from svn it would work. How do you have _your_ computer configured to

Re: Build lifecycle and integration-test

2009-01-14 Thread Wendy Smoak
On Wed, Jan 14, 2009 at 2:14 AM, Niklas Koponen niklas.kopo...@iki.fi wrote: The documentation on the site ( http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html) says following about the integration-test phase. integration-test - process and deploy the package if

Re: Maven Archetype Plugin - MultiModule folder names

2009-01-14 Thread Wendy Smoak
On Wed, Jan 14, 2009 at 8:51 AM, Miguel Cohnen miguel.coh...@gmail.com wrote: I am able to give the artifacts of these modules the name I want, but not the folders. ... If I change booking-ejb, to let's say ${attributeId}-ejb, the archetype doesn't work as this seem to be the directory in

Re: Using maven for non-typical situations (i.e. not for building Java projects)

2009-01-14 Thread Wendy Smoak
On Wed, Jan 14, 2009 at 2:51 PM, Samuel Cox s...@pervasive.com wrote: For example, I'd like to do something like: Repository repo = new Repository(http://my_repo/basedir;); Artifact[] artifacts = repo.searchByGroupId(org.apache.maven) for (Artifact art : artifacts) // list dependencies I

Re: Maven looking for repository under root

2009-01-13 Thread Wendy Smoak
On Tue, Jan 13, 2009 at 8:37 PM, richard schmidt hangst...@gmail.com wrote: We have installed maven on a Linux pc following the instructions given on the web site. We expected maven to create a repository (.m2) directory under /home/username but instead we had to manually create a .m2

Re: Qualifier

2009-01-12 Thread Wendy Smoak
On Mon, Jan 12, 2009 at 7:00 AM, buters franzi2...@mail.ru wrote: what can I do, that after a build of my snapshot the artifact is named version-qualifier.jar instead of version-snapshot.jar An example would help here... where are you looking, and what is the actual filename vs. the one you

Re: war dependency not being picked up?

2009-01-12 Thread Wendy Smoak
On Mon, Jan 12, 2009 at 6:37 AM, Ben Avery b...@youthnet.org wrote: so I have created a functional-testing module, which contains the tests, but the tests have dependencies on classes in the other modules. I have listed the [war] modules as dependencies of the funtional test pom, but the

Re: Qualifier

2009-01-12 Thread Wendy Smoak
On Mon, Jan 12, 2009 at 10:36 AM, buters franzi2...@mail.ru wrote: Example: Ist: foo-3.0-SNAPSHOT.jar Soll: foo-3.0-20090110.064228-1.jar I assume you are looking in your remote repository? This is normal. You're seeing a timestamped snapshot. This is the default naming convention for

Re: md5 for assemblies - how do you do it?

2009-01-11 Thread Wendy Smoak
On Sun, Jan 11, 2009 at 4:30 AM, Mark Struberg strub...@yahoo.de wrote: First, we'll do the openwebbeans build with the maven-release-plugin. So SVN gets tagged, all modules are deployed to the maven-repo, etc. Later we will additionally start building the distribution packages manually

Re: How do I add all the jars in a directory in junit test exeicution classpath

2009-01-09 Thread Wendy Smoak
[moved from d...@] On Fri, Jan 9, 2009 at 6:48 AM, Nimbkar, Mandar mandar.nimb...@patni.com wrote: I have few junit test cases to be executed using Maven build. My test classes require all the jars located a directory (say %JBOSS_HOME%\server\default\lib dir) in the classpath. How do I add

Re: required artifact is missing ......

2009-01-09 Thread Wendy Smoak
On Fri, Jan 9, 2009 at 6:45 AM, thomas2004 thomas200...@yahoo.de wrote: I use mvn to build/compile my multi-project locally and it is successful. Later I deploy it to the TeamCity and build/compile it again. But htis time I got error as follow. From the error message one can see one that 1

Re: required artifact is missing ......

2009-01-09 Thread Wendy Smoak
On Fri, Jan 9, 2009 at 8:01 AM, thomas2004 thomas200...@yahoo.de wrote: I downloaded zip file which contains many jars and I unzip this and deployed this locally. But I also deploy this to the repository of our company. What commands did you use? 'local' is not intentional. But I think this

Re: Release mavn-scm plugin project

2009-01-09 Thread Wendy Smoak
On Fri, Jan 9, 2009 at 1:51 PM, Todd Thiessen thies...@nortel.com wrote: I have copied the scm plugin to my local repo and want to make some customizations (I can't submit these back to the public repo yet) but I am having trouble using the release plugin to release this project and deploy to

Re: Launching a stand-alone test program

2009-01-07 Thread Wendy Smoak
On Wed, Jan 7, 2009 at 10:06 AM, Trevor Harmon tre...@vocaro.com wrote: In addition to the usual automated unit tests that run in Maven's test phase, I now need to add a special kind of test program. It's stand-alone, requires user interaction, and should be run only occasionally, not during

Re: Deploy-file or a tar, zip, txt...

2009-01-06 Thread Wendy Smoak
On Tue, Jan 6, 2009 at 2:27 PM, solo1970 sonia.lodoviche...@ericsson.com wrote: Here is my dilemna, I have a POM file that calls one of our in-house plugins that produces a set of files that I need to be deployed in the same place that my jar is deployed (but not included in the jar). How

Re: The PluginDescriptor for the plugin Plugin [org.apache.maven.plugins:maven-aar-plugin] was not found.

2009-01-05 Thread Wendy Smoak
On Mon, Jan 5, 2009 at 12:49 PM, Martin Gainty mgai...@hotmail.com wrote: Page Not Found What page is not found? The one Justin mentioned is there: http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html (Watch wrapping, you may have to reconstruct the

Re: questions about maven2

2009-01-02 Thread Wendy Smoak
On Fri, Jan 2, 2009 at 3:48 AM, debuti soyunarumbe...@hotmail.com wrote: 1) How to make a unique jar with all the dependencies, resources, etc. by configuring maven? I tried the assembly plugin but i cant get it running :S It sounds like the Assembly plugin's jar-with-dependencies option might

Re: Maven SNAPSHOT deployment

2008-12-31 Thread Wendy Smoak
On Wed, Dec 31, 2008 at 8:24 AM, Jochen Hebbrecht joc...@jochus.be wrote: And then every build of the SNAPSHOT is stored in the repository? I did some research: *uniqueVersion*: The unique version takes a true or false value to denote whether artifacts deployed to this repository should get

Re: maven with different source directory

2008-12-30 Thread Wendy Smoak
On Tue, Dec 30, 2008 at 9:47 AM, idan72 is...@cisco.com wrote: I have project of RFT where the source code is under two directories : com , resources . Both directories include java source code and other files generated by RFT. How can I compile both directories into the target directory ?

Re: What changes I should add to my POM.xml to ask Maven copy a text file into META-INF/text folder of final jar file?

2008-12-29 Thread Wendy Smoak
On Mon, Dec 29, 2008 at 1:15 PM, legolas legola...@gmail.com wrote: how I can ask maven to include a text file into the META-INF/text folder of the final JAR file? I want to include my text file into META-INF/text folder of the final JAR file but I do not know what changes are required in the

Re: Maven2 changes to pom in repository not downloaded.

2008-12-26 Thread Wendy Smoak
On Fri, Dec 26, 2008 at 10:51 AM, Stephen More stephen.m...@gmail.com wrote: In November, maven 2.0.9 downloaded a jar and a pom into my local repository. In the remote repository, the jar has not changed, but the pom has. When I run maven today, the latest and greatest pom is not getting

Re: Maven2 changes to pom in repository not downloaded.

2008-12-26 Thread Wendy Smoak
On Fri, Dec 26, 2008 at 5:48 PM, Stephen More stephen.m...@gmail.com wrote: I have imported many artifacts that are not part of any repository, simply wiping out my local cache could create many hours of needless work. You don't have to delete your *entire* local repo, just the artifact that

Re: Maven2 - Where to put script files?

2008-12-24 Thread Wendy Smoak
On Wed, Dec 24, 2008 at 10:13 AM, Nick Stolwijk nick.stolw...@gmail.com wrote: If you take a look at the superpom [1] you'll see there is a default script directory: scriptSourceDirectorysrc/main/scripts/scriptSourceDirectory ... that needs to be added to

Re: Project Inheritance in Maven

2008-12-23 Thread Wendy Smoak
On Tue, Dec 23, 2008 at 8:36 AM, arun_rocky arunkumarave...@cognizant.com wrote: 1) I have created a parent maven project and i called the pom.xml file in child maven project. by using the parent/parent. its working fine. but i cant able to retrieve the user-created classes of parent maven

Re: Ear plugin: artifact is not a dependency of the project

2008-12-20 Thread Wendy Smoak
On Sat, Dec 20, 2008 at 3:05 AM, Laurens Blankers laur...@blankersfamily.com wrote: How do I get the plugin to drop the ejb3 prefix, or how do I get the dependency to include the prefix? Try using typeejb/type similar to this:

Re: Expand jar dependency in war

2008-12-18 Thread Wendy Smoak
On Thu, Dec 18, 2008 at 4:44 AM, Stevo Slavić ssla...@gmail.com wrote: Is there a way to have a jar dependency expanded in a war, so that war would also have all transitive dependencies jar has? The war should have all its dependency jars and their transitive dependencies in WEB-INF/lib. Is

Re: Expand jar dependency in war

2008-12-18 Thread Wendy Smoak
2008/12/18 Stevo Slavić ssla...@gmail.com: Yes, all dependency jars (and transitive ones) end up well in WEB-INF/lib. Problem is that I need to configure to have some of the dependencies expanded in WEB-INF/classes. Possibly a feature request for the war plugin... until then I'd probably just

Re: MAVEN certifications

2008-12-16 Thread Wendy Smoak
On Tue, Dec 16, 2008 at 12:32 AM, mohan_IBM mohanda...@gmail.com wrote: I am new to MAVEN, and just started using it. Is there any certifications to MAVEN or ANT build tools? There are some online certification tests at Java Black Belt. -- Wendy

Re: POM Private Inheritence

2008-12-15 Thread Wendy Smoak
On Mon, Dec 8, 2008 at 8:31 AM, Todd Thiessen thies...@nortel.com wrote: http://maven.apache.org/pom.html#Inheritance it sounds like only certain sections of the POM get inheritied. For instance, the SCM section is one section that is NOT mentioned as inherited. From experience, the scm

Re: POM Private Inheritence

2008-12-15 Thread Wendy Smoak
On Mon, Dec 15, 2008 at 11:45 AM, Todd Thiessen thies...@nortel.com wrote: What works out fine? You mean that if the name of the artifact ID is the name as the directory, the SCM section does not get inheritied?? The scm urls work out fine if you specify them only in the parent pom, and have

Re: Enforce plugin versions and reporting plugins

2008-12-12 Thread Wendy Smoak
On Fri, Dec 12, 2008 at 7:28 AM, Nick Stolwijk nick.stolw...@gmail.com wrote: 3. Declare reporting plugin in reporting section without a version and declare a build/pluginmanagement/plugin with a version - Enforcer plugin doesn't complain. - help:effective-pom doesn't show a version

Re: Please Unsubscribe me

2008-12-12 Thread Wendy Smoak
On Fri, Dec 12, 2008 at 12:59 AM, Baeriswyl Kuno - Extern (IT-BA-MV) kuno.baeris...@sbb.ch wrote: I'd like to unsubscribe from this list. Apparently, the unsubscribtion procedure doens't work, since I've tried a few times and never got any confirmation. But the message are still coming in.

Re: Reusing assembly descriptors aka. sharing them between projects

2008-12-12 Thread Wendy Smoak
On Fri, Dec 12, 2008 at 5:28 PM, Rusty Wright rusty.wri...@gmail.com wrote: Where is this documented on the maven site? If you don't find it in the Assembly plugin docs [1], please consider summarizing the info in this thread and submitting a patch to improve them, or at least opening an issue

Re: Can't generate POM file while deploying my own jar

2008-12-10 Thread Wendy Smoak
On Wed, Dec 10, 2008 at 7:29 AM, Harshal Joshi [EMAIL PROTECTED] wrote: mvn install:install-file -DgroupId=jsr168-api -DartifactId=jsr168-api -Dversion=1.0.0 -Dpackaging=jar -Dfile=D:\IBM\WebSphere\PortalServer\shared\app\jsr168-api.jar It deploy jar file in to my repository but it can't

Re: getting 3rd party javadoc for deps into local repo

2008-12-10 Thread Wendy Smoak
On Mon, Dec 8, 2008 at 6:48 AM, Adam Hardy [EMAIL PROTECTED] wrote: I'm using mvn dependency:source -Dclassifier=javadoc to try to get maven to retrieve the javadoc jars for all my dependencies from the central repo and put them into my local repo. It's not working though. The 'sources'

Re: creating a JAR file of the source code in a war project

2008-12-10 Thread Wendy Smoak
On Wed, Dec 10, 2008 at 8:48 AM, Richard Chamberlain [EMAIL PROTECTED] wrote: I've got a standard war project. I'd like to jar up my source code and put it in WEB-INF/lib instead of compiling it to WEB-INF/classes. This would allow me to overlay it into another war project without mixing up

Re: Maven lifecycle - Is there a run-only-once-in-a-lifetime phase?

2008-12-09 Thread Wendy Smoak
On Tue, Dec 9, 2008 at 7:07 AM, Jaikiran [EMAIL PROTECTED] wrote: Note the execution which will be run during install phase of each module (child-one, child-two etc...). I am looking for a phase which will be run only once during the lifetime of the maven build process. Or is there some way i

Re: Release Plugin Question

2008-12-09 Thread Wendy Smoak
On Tue, Dec 9, 2008 at 12:14 PM, Todd Thiessen [EMAIL PROTECTED] wrote: Is there still active development going on with this plugin? The potential of this plugin is very high but it doesn't seem to be quite there yet. Certainly it's still active, but plugin dev tends to go in cycles. Someone

Re: Up-to-date release

2008-12-09 Thread Wendy Smoak
On Tue, Dec 9, 2008 at 6:07 PM, sverhagen [EMAIL PROTECTED] wrote: Hi. We heavily use the Maven release plugin. Following scenario: * Developers update from SVN * Developer 1 commits a change * Developer 2 commits a change and releases (mvn release:prepare) Because developer 2 does not

Re: Up-to-date release

2008-12-09 Thread Wendy Smoak
On Tue, Dec 9, 2008 at 6:31 PM, sverhagen [EMAIL PROTECTED] wrote: Yours fails on inconsistent pom.xml. In my scenario I can tell you that the POM did not change due to the work of either one of the developers; the sources changed. Also, yours fails on commiting something to the trunk,

Re: Is there a way to also copy source jars using dependency plugin?

2008-12-08 Thread Wendy Smoak
On Mon, Dec 8, 2008 at 6:30 PM, stug23 [EMAIL PROTECTED] wrote: Our project has written a jar extractor that uses the dependency plugin to build a directory of jars from the Maven repository for a project. These jars are to be used by a non-Maven project (which eventually will be converted to

Re: Dependencies not available in a Maven repository (disabling repository check)

2008-12-01 Thread Wendy Smoak
On Mon, Dec 1, 2008 at 9:45 AM, Ryan Cuprak [EMAIL PROTECTED] wrote: I've got a bunch of dependencies from some open source projects which are not available in a central Maven repository. Until those projects some day publish them to a repository I do a 'mvn install ' to populate my local

Re: [Public service announcement] mirrors of Central and considerate repo use

2008-11-29 Thread Wendy Smoak
On Sat, Nov 29, 2008 at 6:48 AM, Torsten Werner [EMAIL PROTECTED] wrote: me too! ;-) And I like to have a minimal zip file: just one version of every core plugin and one version every direct or indirect dependency - not 4 versions of commons-collections, 4 versions of commons-logging, 3

Re: [Public service announcement] mirrors of Central and considerate repo use

2008-11-29 Thread Wendy Smoak
On Sat, Nov 29, 2008 at 5:16 AM, Alex Athanasopoulos [EMAIL PROTECTED] wrote: One of the most annoying problems I ran into with maven was when I setup a central mirror containing my old local repository, deleted my local repository, and then tried to rebuild it by doing a build. A local repo

Re: Retrieve last artifact URL from remote repository

2008-11-29 Thread Wendy Smoak
On Sat, Nov 29, 2008 at 4:36 PM, Gerrit Brehmer [EMAIL PROTECTED] wrote: I want to do a remote deploy to a jboss server. For that I need the URL from the last deployment to the remote repository (timestamped snapshots e.g., archiva server). The Url will be printed to the output console

Re: version for submodules

2008-11-28 Thread Wendy Smoak
On Fri, Nov 28, 2008 at 9:43 PM, Erwin Mueller [EMAIL PROTECTED] wrote: I don't like to update the version for the parent in each module's pom file, is there a solution? Barrie mentioned the release plugin and there is also a Versions plugin at Codehaus Mojo (possibly still in the sandbox

Re: Aggregating checkstyle reports

2008-11-26 Thread Wendy Smoak
On Wed, Nov 26, 2008 at 12:13 PM, Todd Thiessen [EMAIL PROTECTED] wrote: In a multi-module project, is it possible to aggregate all checkstyle reports of the child projects into a single report for all projects? If the plugin supports it, there is usually an 'aggregate' parameter or

Re: à ’à °Ñˆà µ à ¿à ¸Ñ ÑŒà ¼à ¾ Ñ ƒà ´à °à »à µà ½à ¾ à ·à ° Ñ à ¿à °à ¼

2008-11-24 Thread Wendy Smoak
I've asked infra to unsubscribe the help -at- netItd.ru email address from the Maven lists. You can reach the list moderators at users-owner -at- maven.apache.org if you continue to have problems with this. -- Wendy On Mon, Nov 24, 2008 at 7:10 AM, Marat Radchenko [EMAIL PROTECTED] wrote:

Re: Installing Maven on Mac OS X

2008-11-24 Thread Wendy Smoak
On Mon, Nov 24, 2008 at 9:12 AM, Ricky [EMAIL PROTECTED] wrote: I get this error that saying : INFO] Ignoring available plugin update: 2.0-alpha-4 as it requires Maven version 2.0.7 ... when i do mvn -v i get version 2.0.6 ... what should i do? Set M2_HOME to your new Maven install, and make

Re: Installing Maven on Mac OS X

2008-11-23 Thread Wendy Smoak
In order to help, we need to know what steps you took and what error message you're getting. I believe OS X ships with Maven 2.0.6, so if you haven't gotten it completely switched over to (I assume) 2.0.9, the archetype:generate goal will not be available as Archetype 2 requires at least 2.0.7.

Re: Remove old jar version

2008-11-23 Thread Wendy Smoak
On Sun, Nov 23, 2008 at 5:58 PM, traigo [EMAIL PROTECTED] wrote: I have an old jar for iText (1.3) that I need to remove. It is being used by jasperreports to convert to PDF. I need jasperreports to use the newer 2.1.4. I haven't found a way to remove it from maven. I have my pom set to

Re: Remove old jar version

2008-11-23 Thread Wendy Smoak
What does your dependency for 2.1.4 look like? I don't see it in the central repo, at least not in the same groupId as 1.3: http://repo2.maven.org/maven2/com/lowagie/itext/ If it's in a different groupId, you'll probably want an exclusion for com.lowagie:itext to get rid of 1.3, and then the

Re: How to deploy images onto internal maven repositories.

2008-11-21 Thread Wendy Smoak
On Fri, Nov 21, 2008 at 3:43 PM, [EMAIL PROTECTED] wrote: I need to have some image files on the maven repositories and so I have to deploy images onto internal maven repositories. I'm more concerned on what would be the packaging mode to deploy images onto maven repositories. It depends on

Re: generate PDF site

2008-11-19 Thread Wendy Smoak
You can check out Doxia from https://svn.apache.org/repos/asf/maven/doxia/trunks The doxia-doc-renderer module is under doxia-sitetools. If you need help building it (and better, if you want to help Lukas fix it!) please join us on the development mailing list. :) -- Wendy On Wed, Nov 19,

Re: Help creating Multi-Module Project

2008-11-19 Thread Wendy Smoak
On Wed, Nov 19, 2008 at 2:46 PM, msclovis [EMAIL PROTECTED] wrote: 5. Changed pom.xml in persist to show dependency: dependency groupId${project.groupId}/groupId artifactIdmodel/artifactId version${product.version}/version /dependency Unless you've

Re: How to avoid sources jar creation ?

2008-11-14 Thread Wendy Smoak
On Fri, Nov 14, 2008 at 4:59 AM, [EMAIL PROTECTED] wrote: Whenever I do an mvn install, it creates a Xyz-sources.jar and takes a lot of time creating that jar. I am not interested in the sources jar. How do I avoid that step during the install of a project ? Put the configuration for the

Re: Can mvn release get the new version info automatically?

2008-11-13 Thread Wendy Smoak
On Thu, Nov 13, 2008 at 2:07 PM, Todd Thiessen [EMAIL PROTECTED] wrote: It would be nice to merge the behaviour of http://mojo.codehaus.org/buildnumber-maven-plugin/ with the maven release plugin. Is there a way for maven to automatically get the information it needs so it does not have to

Re: buildnumber value not making it to local repo

2008-11-13 Thread Wendy Smoak
On Thu, Nov 13, 2008 at 5:14 PM, Harper, Brad [EMAIL PROTECTED] wrote: I've configured the buildnumber plugin to attach a timestamp ... But the build number is not carried into the local repo when installing the artifact. The finalName in the pom does not affect the filename in the repository.

Re: buildnumber value not making it to local repo

2008-11-13 Thread Wendy Smoak
On Thu, Nov 13, 2008 at 5:33 PM, Harper, Brad [EMAIL PROTECTED] wrote: I was hoping that build number would let us iteratively refine an artifact in UAT without relying on version number alone. Do you require the full release process with a tag for every one of these versions, or would unique

Re: Help me: Compile error!

2008-11-13 Thread Wendy Smoak
On Thu, Nov 13, 2008 at 8:14 AM, 梦秋雨 [EMAIL PROTECTED] wrote: First,I create an web application depends on hibernate, and install it into my local repository,so there is a war package in my repository. Then I create the second application. In pom.xml,I add a dependency to the first

Re: Assembly deployment?

2008-11-10 Thread Wendy Smoak
On Mon, Nov 10, 2008 at 9:16 AM, David C. Hicks [EMAIL PROTECTED] wrote: I have an assembly (a zip file containing my artifact and a few other files) that I generate on the packaging phase as part of a 'release' profile. I'd like to be able to deploy that zip file to my company repository.

Re: Two jars and also cannot read the resource file

2008-11-10 Thread Wendy Smoak
On Mon, Nov 10, 2008 at 6:13 PM, kunduruswaroop [EMAIL PROTECTED] wrote: 1) I used a assembly goal and run it using mvn assembly:assembly. I got 2 jar files instead of one they are as follows. java_app-1.0-SNAPSHOT-jar-with-dependencies.jar java_app-1.0-SNAPSHOT.jar I wanted to eliminate

Re: add generated classes

2008-11-06 Thread Wendy Smoak
On Wed, Nov 5, 2008 at 4:30 PM, David Ojeda [EMAIL PROTECTED] wrote: Quick question that I can't seem to find in google: How can I add a generated class directory so the packaging includes it? I've seen the build-helper plugin but it does only source directory. See if this helps...

Re: How do I found out when the next version of the maven-dependency-plugin is due to be released?

2008-11-05 Thread Wendy Smoak
On Wed, Nov 5, 2008 at 3:14 PM, Bracewell, Robert [EMAIL PROTECTED] wrote: I am looking to find out if it's possible to know when such is due and what the planned list of Jira fixes would be? You can look at JIRA or the report [1] to see what's been scheduled vs. fixed and not yet released,

Re: Trouble with Java Native Libraries

2008-11-04 Thread Wendy Smoak
On Mon, Nov 3, 2008 at 9:40 PM, Wendy Smoak [EMAIL PROTECTED] wrote: I was (eventually, with help from Craig and Henri,) able to follow the JNI 'Hello World' example [1] and get it to work both at the command line and in a test run with Maven. ...but it only works if the library is sitting

Re: Trouble with Java Native Libraries

2008-11-04 Thread Wendy Smoak
On Tue, Nov 4, 2008 at 9:27 AM, Wendy Smoak [EMAIL PROTECTED] wrote: ...but it only works if the library is sitting in the base directory of the Maven project. If I move it into some other directory and then configure Surefire to pass java.library.path to the tests, I get the same thing

Re: [Maven 2.0.9] Site output directory in target while deploy

2008-11-03 Thread Wendy Smoak
On Mon, Nov 3, 2008 at 10:55 AM, Emmanuel Séguin [EMAIL PROTECTED] wrote: To make it quick here is my problem : I'm using the site:deploy goal in my mvn command line to deploy the maven site somewhere on my disks and it's working fine. In the same time i'd like my site to be generated in my

<    1   2   3   4   5   6   7   8   9   10   >