I must be sleeping on the job, I completely missed that sentence! :-S Roland
On Friday 02 June 2006 17:59, Wayne Fay wrote: > I agree with you on the rewriting POMs bit Roland, except that he said > "this worked a couple of days ago, so i can't tell if this is > something that i've done or something that's changed underneath me". > > So if it worked a few days ago, and he's done nothing, then I'd > suspect there might have been some Maven changes...? > > Wayne > > On 6/2/06, Roland Asmann <[EMAIL PROTECTED]> wrote: > > I'm not sure on this, but I've seen that Maven 'rewrites' the POM (e.g. > > when asking him for the effective-pom) and doesn't like the XML > > Namespace-stuff... As for the dependencies, it might be that Maven just > > ignores empty xml-blocks... Try putting a real dependency in there, just > > for testing sake... > > > > Roland > > > > On Friday 02 June 2006 17:42, Wayne Fay wrote: > > > Since you claim nothing has changed on your side, I would generally > > > suspect that some new archetype plugin was released in the last few > > > days/weeks that has changed something that you weren't aware of. > > > > > > Go check your local repo for artifacts with dates newer than the last > > > time this executed properly. Delete them, and run mvn -o ... to see if > > > it works with the old code, and if so, go file a JIRA regression bug > > > on the plugin. > > > > > > Wayne > > > > > > On 6/2/06, ertnutler <[EMAIL PROTECTED]> wrote: > > > > for some reason when i create a new project from an existing > > > > archetype, the pom.xml copied to the root of the new project has its > > > > <project> element stripped of the xml namespace information and the > > > > empty <dependencies> element is removed, as is the <packaging> > > > > element. this worked a couple of days ago, so i can't tell if this > > > > is something that i've done or something that's changed underneath > > > > me? any ideas? > > > > > > > > this is my pom.xml from archetype-resources: > > > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > <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"> > > > > > > > > <parent> > > > > <groupId>com.mycompany.lacrs</groupId> > > > > <artifactId>lacrs-parent</artifactId> > > > > <version>1.0-SNAPSHOT</version> > > > > </parent> > > > > > > > > <modelVersion>4.0.0</modelVersion> > > > > <name>${artifactId}</name> > > > > <artifactId>${artifactId}</artifactId> > > > > <packaging>jar</packaging> > > > > > > > > <dependencies> > > > > </dependencies> > > > > > > > > </project> > > > > > > > > when i create the archetype, this is the pom that's copied to the > > > > root of the project: > > > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > <project> > > > > <parent> > > > > <artifactId>lacrs-parent</artifactId> > > > > <groupId>com.mycompany.lacrs</groupId> > > > > <version>1.0-SNAPSHOT</version> > > > > </parent> > > > > <modelVersion>4.0.0</modelVersion> > > > > <artifactId>testjava</artifactId> > > > > <name>testjava</name> > > > > </project> > > > > > > > > -- > > > > View this message in context: > > > > http://www.nabble.com/archetype-pom.xml-not-same-as-archetype-resourc > > > >es-p om.xml-t1723419.html#a4681828 Sent from the Maven - Users forum > > > > at Nabble.com. > > > > > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > --------------------------------------------------------------------- > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
