Have you tried "mvn clean process-classes"? "process-classes" being the phase you bound the antrun plugin to and occurs after "compile".
Chris > -----Original Message----- > From: Borut Bolčina [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 06 September, 2006 16:30 > To: Maven Users List > Subject: Re: Maven 2 RMI > > Hi Joe, > > I added this in my POM > > <build> > <plugins> > .... > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-antrun-plugin</artifactId> > <executions> > <execution> > <id>process-classes-rmic</id> <!-- needs to be > unique among executions --> > <phase>process-classes</phase> > <configuration> > <tasks> > <echo>Running RMIC</echo> > <rmic base="${project.build.directory}" > classpathref="maven.compile.classpath" > classname="com.my.class.to.be.RMICompiled" /> > </tasks> > </configuration> > <goals> > <goal>run</goal> > </goals> > </execution> > </executions> > </plugin> > > and neither > mvn clean compile > nor > mvn antrun:run > produces stub classes. Even "Running RMIC" is not displayed. > Do I have to set something before? Thanks. > > -Borut --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
