Properties from setting.xml are not populated in parent pom

2009-04-30 Thread Ackermann, Jan Florian
Hi 

I have a problem with populating properties wich are set in my settings.xml in 
my home directory.

So i have a parent pom, a child pom and the properties that look like:

settings.xml

properties
artifact-version7.1/artifact-version
/properties


parent pom.

dependency
groupIdid.group/groupId
artifactIdartifactName/artifactId
version${artifact-version}/version
/dependency

child pom
parent
groupIdid.someOtherGroup/groupId
artifactIdparentpom/artifactId
version1/version
/parent

So if i try to build the child project i get this error message

Downloading: 
http://some.repository/id/group/artifactName/${artifact-version}/artifactName-${artifact-version}.pom
[INFO] Unable to find resource 'id.group:artifactName:pom:${artifact-version}' 
in repository SomeRepo (Repo URL)

Same error for the try to download the jar file from this project.

If i use mvn help:effective-pom the correct values (in this case 7.1) is shown 
there.
If these artifacts are present in my local repository the build will succed, 
but if  i delete the artifact from the localrepository it will not be 
downloaded again except for the case i replace the property with the actual 
value in the parent pom.

Does someone has an idea of why this happens?

Geschaeftsfuehrung/Management Board: Heinz-Josef Boeck (Vorsitzender/CEO),  Dr. 
Dirk Toepfer, Dr. Gerd Wolfram
Sitz Duesseldorf, Amtsgericht Duesseldorf, HRB 18232/Commercial Register of the 
Duesseldorf Local Court, HRB 18232 

This e-mail message is intended exclusively for the addressee. If the e-mail 
was sent to you by mistake, would you please call us immediately? In this case, 
we also request you to destroy the e-mail and to neither use the content nor 
disclose them in any manner to third parties, because the message can contain 
confidential information which may be protected by professional secrecy.

Renaming Folder while creating project from archetype

2009-04-09 Thread Ackermann, Jan Florian
Hello,
 
I'm quite new to Maven and facing the a problem with the creation of projects 
from a (selfmade) archetype.
 
There are not much files within the archetype and the creatinion works fine but
i wonder if there is any possibility to rename folders while creating the 
project.
E.g.:
 
Folder structure within the created project:
 
projectArtifactId
|__src/main
   |___webapp
  |___WEB-INF
  |   |application
  |___application
 
Is there a way to create the project with the application folder 
automatically renamed to projectArtifactId?
Maybe someone has antoher idea how to solve this problem then let me know.
At the moment I think about placing a build.xml within the root of the project 
that contains an ant task
for renaming the the folders but the my main target is to only use maven is 
possible.


 
 
Mit freundlichen Grüßen/Best regards

Jan Florian Ackermann



Geschaeftsfuehrung/Management Board: Heinz-Josef Boeck (Vorsitzender/CEO),  Dr. 
Dirk Toepfer, Dr. Gerd Wolfram
Sitz Duesseldorf, Amtsgericht Duesseldorf, HRB 18232/Commercial Register of the 
Duesseldorf Local Court, HRB 18232 

This e-mail message is intended exclusively for the addressee. If the e-mail 
was sent to you by mistake, would you please call us immediately? In this case, 
we also request you to destroy the e-mail and to neither use the content nor 
disclose them in any manner to third parties, because the message can contain 
confidential information which may be protected by professional secrecy.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org