maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <rwhee...@artifact-software.com>
Subject Re: Updating a properties file using Maven and project classpath information
Date Wed, 09 Mar 2011 14:45:45 GMT
That sounds like a bad idea.
The next person to work on the project is going to be unhappy.

Why do you want to do this?

It is always a good idea to describe the problem that you are trying to 
solve before asking a detailed question.

What are you building that is different from everything else.

Ron

On 09/03/2011 8:42 AM, BenoƮt DEL BASSO wrote:
> Hello,
>
> I'm trying to update a properties file using classpath information 
> from a POM file.
>
> For example my POM defines a dependency:
> <dependency>
> <groupId>commons-lang</groupId>
> <artifactId>commons-lang</artifactId>
> <version>2.4</version>
> </dependency>
>
> I would like to update the "private.properties" file (Netbeans) so 
> that it has:
> maven.dependency.classpath=/home/bdelbass/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar

>
>
> Does somebody has an idea on how to do that?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message