Activation by property not working

2009-07-31 Thread aabhijit
http://www.nabble.com/file/p24751638/pom.jpeg I have defined property called daoAspectEnabled and set the value to true in the same profile. In the same profile in the activation section I am trying to activate the profile if this property is set to value true. I am expecting that once the

Missing site information in the distribution management element

2009-07-31 Thread Julien Martelli
Hi all, I get the following error message when trying to make a site:stage or site:deploy on my project with the following configuration: Missing site information in the distribution management element in the project: 'SNR ANNUREF METIER'. C:/project/composants/SNR ANNUREF METIER

Load and run artifact from shell script

2009-07-31 Thread Lewis, Eric
Hi I have a utility project whose classes should be called from a shell script. The problem is how to access it: It's in the local repo, so I would like to do the following: - Download it and its runtime dependencies based on group and artifact ID, using the latest version - Create a

Re: exec:java problem

2009-07-31 Thread ykyuen
ykyuen wrote: oh sorry, i have made a mistake, the sample works fine. the failure was caused by the firewall of my network. sorry for the misleading:-(( The solution is to add the proxy in the YahooRetriever.java System.getProperties().put(proxySet, true);

RE: Missing site information in the distribution management element

2009-07-31 Thread Julien Martelli
Ok sorry for this, I solved the issue. This is linked to a little mistake in the inheritance configuration. Thanks, julien De : Julien Martelli [mailto:jmarte...@pcap.fr] Envoyé : vendredi 31 juillet 2009 08:52 À : 'Maven Users List' Objet : Missing site information in the

Re: How do I turn off the maven-source-plugin altogether?

2009-07-31 Thread Mark Struberg
have you tried to set 'attached' to false in the configuration section? [1] From a quick look at the sources, it should then at least skip attaching the archive to the repository. But maybe we should introduce a 'skip' property like many other plugin have. Since I remember a discussion with

Re: Site inheritance

2009-07-31 Thread Lukas Theussl
I am currently reviewing the site plugin to get it ready for another release (might take a while still, though). If you find anything that's not working the way you expect it, please file an issue in jira and attach a simple test project (or a patch!). There are a couple of issues open

Re: Archetype plug-in and line end funnies.

2009-07-31 Thread Stephen Connolly
See http://www.w3.org/TR/REC-xml/#NT-S All CR characters are supposed to be removed from an XML file when parsed. -Stephen 2009/7/30 Nord, James jn...@nds.com Hi all, I've created an multi-module archetype and it seems to be working mostly well. However any multi line comments in the poms

[ANN] Maven Javadoc Plugin 2.6 Released

2009-07-31 Thread Vincent Siveton
The Maven team is pleased to announce the release of the Maven Javadoc Plugin, version 2.6. The Maven Javadoc Plugin is a plugin that uses the javadoc tool for generating javadocs for the specified project. http://maven.apache.org/plugins/maven-javadoc-plugin/ You should specify the version in

obtain artifact dependencies using Maven API

2009-07-31 Thread miri
Hi, in maven war plugin I need to obtain for each war artifact that the current project (war) is dependent on its dependencies? Is there any way how to do it using maven or any other plugin API? Thank you so much Mirek - To

RE: Site inheritance

2009-07-31 Thread EJ Ciramella
Done: http://jira.codehaus.org/browse/MSITE-420 I think the problem is that site doesn't honor all the options doxia makes available. -Original Message- From: Lukas Theussl [mailto:ltheu...@apache.org] Sent: Friday, July 31, 2009 4:03 AM To: Maven Users List Subject: Re: Site

RE: Archetype plug-in and line end funnies.

2009-07-31 Thread Nord, James
So it is buggy then? 1) it should translate all CRLFs to LF (it doesn't, it only coverts CRLFs in comments.) 2) it should really for convience replace all LFs to the platform default encoding on writing. It should be consistent - but it's not - it handles comments one way (apparantly correctly

Re: Archetype plug-in and line end funnies.

2009-07-31 Thread Stephen Connolly
CR's which are internal to the elements should be removed, the spec does not specify about CR's between elements and within ignorable whitespace... so technically it's not a bug... i.e. the CR's are being removed from the comment text but effectively it is! -Stephen 2009/7/31 Nord, James

Re: Load and run artifact from shell script

2009-07-31 Thread Alexander
Hello, What do you mean anywhere in system? It works fine as mvn dependency:build-classpath and could be invoked as command. You can invoke that action in script, parse output and use result classpath in script. [?] To download all dependencies you could use dependency:go-offline. [?] 2009/7/31

Re: obtain artifact dependencies using Maven API

2009-07-31 Thread Alexander
Did you read about http://maven.apache.org/plugins/maven-dependency-pluginhttp://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html ? [?] 2009/7/31 m...@volny.cz Hi, in maven war plugin I need to obtain for each war artifact that the current project (war) is

AW: Load and run artifact from shell script

2009-07-31 Thread Lewis, Eric
Hi No, apparently dependency:build-classpath needs to have a POM to work - or perhaps I'm doing something wrong. Anyway, I just tried the appassembler plugin, and it works well for what I need, namely having a script call my JAR. Best regards, Eric Von:

Re: Load and run artifact from shell script

2009-07-31 Thread Alexander
No, it needs POM to work. My fault [?] Oh, you meant to generate dependencies for non-maven project. I see. 2009/7/31 Lewis, Eric eric.le...@ipi.ch Hi No, apparently dependency:build-classpath needs to have a POM to work - or perhaps I'm doing something wrong. Anyway, I just tried the

Can I access timestamp version of SNAPSHOT dependency within a build?

2009-07-31 Thread Stephen Duncan Jr
I'm trying to manually build an assembly that aggregates multiple assemblies, to make an installer. So, I depend on the .tar.gz produced from other assemblies, I use the dependency-plugin to unpack those dependencies. While versions are SNAPSHOTs, all of the directories after unpacking have names

Maven Newbie

2009-07-31 Thread Samir
my previous setup was an ant environment where all the dependencies (both open source and internal) were all bundled up into a single jar file. I think I'm getting a handle on how to build project and add dependencies to open /freely available packages, I was wondering if anyone can point me

Issue with Maven Webstart Plugin while signing weblogic9.2.2 jar

2009-07-31 Thread Agrawal, Sandeep (IS Consultant)
Hi, We are using webstart maven plugin to genereate the webstart war file and for signing the jar also.(below is the pom part for signing) sign !--keystoresrc/main/keytool/GTSkey/keystore-- keypassGTSkey/keypass storepassGTSkey/storepass aliasGTS/alias verifytrue/verify /sign It does sign all

Re: Maven Newbie

2009-07-31 Thread Alexander
Did you read maven guide? http://www.sonatype.com/products/maven/documentation/book-defguide [?] http://maven.apache.org/repository-management.html 2009/7/31 Samir n...@esamir.com my previous setup was an ant environment where all the dependencies (both open source and internal) were all

RE: Issue with Maven Webstart Plugin while signing weblogic9.2.2 jar

2009-07-31 Thread Martin Gainty
depends on where the keystore implementation takes place here is an excerpt from axis2.xml transportReceiver name=https class=package.HttpCoreNIOSSLListener parameter name=keystore locked=false KeyStore LocationNameOfJKSFile.jks/Location

xradar

2009-07-31 Thread EJ Ciramella
Is anyone on this list familiar with the xradar set of reports? I'm trying to get this going for project branches (so people can capture problems quickly) and have sonar fed from mainline projects. It's almost looking like having the project branches feed sonar would just be easier

RE: Issue with Maven Webstart Plugin while signing weblogic9.2.2 jar

2009-07-31 Thread Agrawal, Sandeep (IS Consultant)
Thaks Marty...My problem got resolved for signing the jars.. I had key at two places just for testing purpose. Actually in keystore you need to put complete path like (keystore${basedir}/src/keytool/GTSkey/keystore) and if you do not, it looks for key in ${project.build.directory}

Re: Corporate Parent POM

2009-07-31 Thread Kalle Korhonen
And the last missing piece is that you need to make the released parent pom available to the other builds. The best way is to use a proxy repo that proxies everything (including the company parent), then instruct Maven to use that proxy as a mirror for all repos (you can distribute/make available

How to substitute a variable depending upon OS in Maven

2009-07-31 Thread Agrawal, Sandeep (IS Consultant)
Hi, We have one weblogic.xml file, in which we pass the variable value depending upon the OS type. weblogic-web-app virtual-directory-mapping local-path@clientPatchDir@/local-path url-pattern/static-content/*/url-pattern /virtual-directory-mapping /weblogic-web-app We were

Re: How to substitute a variable depending upon OS in Maven

2009-07-31 Thread Wayne Fay
We were able to do the same in ANT without any issue. Is there any way, I can achieve same in MAVEN ? 1. Maven is not Ant. Get used to that right now. 2. Use profiles and activate one or the other depending on the OS which will filter various values eventually giving you what you want during

Uploading a new version to internal remote repository

2009-07-31 Thread Qureshi,Shahzad [Ontario]
Hi all, I've an internal remote repository setup which is working fine. I just have one confusion. I uploaded a internally developed library to the internal remote repository a few months ago which worked fine. However, now there is a new version for it available and I wanted to upload the new

Re: Uploading a new version to internal remote repository

2009-07-31 Thread adasal
Are you sure? I think you have misconfigured something. The pom dictates the version of artifact you are using. This doesn't make sense to me. Adam 2009/7/31 Qureshi,Shahzad [Ontario] shahzad.qure...@ec.gc.ca Hi all, I've an internal remote repository setup which is working fine. I just have

RE: Uploading a new version to internal remote repository

2009-07-31 Thread Qureshi,Shahzad [Ontario]
This is what I did The pom for version 2.0 is 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;

RE: Uploading a new version to internal remote repository

2009-07-31 Thread Qureshi,Shahzad [Ontario]
Nevermind, it works fine. I had not enabled dependency management in eclipse and kept thinking that it wasn't getting latest version. Thanks adasal for your input Shahzad Qureshi Systems Analyst/Programmer Applications Directorate, CIOB Environment

RE: Issue with Maven Webstart Plugin while signing weblogic9.2.2 jar

2009-07-31 Thread Agrawal, Sandeep (IS Consultant)
Just an Update if someone else is also struggling with signing weblogic jar. It was issue with JDK1.5.0.9 and working fine with verson JDK1.5.0.11 (might be a bug in 1.5.0.9) Thanks Sandeep -Original Message- From: Agrawal, Sandeep (IS Consultant) Sent: Friday, July 31, 2009 1:03 PM

Re: Uploading a new version to internal remote repository

2009-07-31 Thread Alexander
Just be sure you got it. There is no difference between your internal developed libraries and external downloaded dependencies (as log4j). Artifact at repostory level it is no more than set of files. Get right feeling for repositories. [?] 2009/8/1 Qureshi,Shahzad [Ontario]

Re: Uploading a new version to internal remote repository

2009-07-31 Thread adasal
I believe the following is correct. groupId artifactId version triangulate the POM and, therefore, the artifact for which this POM is responsible. By enabling dependency management you have made your second POM the child of the first and allowed any version of a dependencies artifact to be

archetype plug-in vs custom plug-in

2009-07-31 Thread Murali Pottlapelli
Hi All, While searching through mailing list I found archetypes to add files to an existing project, http://www.nabble.com/Using-Archetypes-to-Add-to-an-Existing-Project-(Maven-2)-ts1274662.html#a1274662 This message is at least 3 years old, did this feature evolve? This feature might help

RE: archetype plug-in vs custom plug-in

2009-07-31 Thread Martin Gainty
could be accomplished by accepting user input data thru screens usually served by TC or GF or OAS within web framework such as Struts or JSF a plain CRUD webapp would accomplish the objective if you persist to individual properties files you could create archetype from the properties files