Costin Caraivan wrote: > > Hello, > > I have a plugin with the following configuration: > <configuration> > <featureId> > <groupId>com.axway.md</groupId> > <artifactId>com.axway.md</artifactId> > <version>${project.version}</version> > <type>zip</type> > </featureId> > <pluginsUnpackFolder>aoleu</pluginsUnpackFolder> > <featuresUnpackFolder>aoleu</featuresUnpackFolder> > </configuration> > This is inside an execution of my plugin. > > In my Mojo I have this: > /** > * @parameter > * @required > */ > private Map featureId; > > However, the featureId comes out as null, and when I added @required, > Maven tells me: > [0] Inside the definition for plugin 'axway-eclipse-plugin' specify the > following: > <configuration> > ... > <featureId>VALUE</featureId> > </configuration>. > > According to: > http://maven.apache.org/guides/plugin/guide-java-plugin-development.html > I'm doing everything right (or at least I hope so :) ). > > Why isn't the map loaded? > Thank you. > > Regards, > Costin. > By the way, this works when I move the <configuration> section in the root of the plugin. But I'd want it to be per execution. Any ideas how I could configure this per execution? Thanks :) -- View this message in context: http://www.nabble.com/Map-%40parameter-loading-problem-tp21854211p21854670.html Sent from the Maven Developers mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org