You need to have a master pom with the packaging of type "pom". Your configure.jar would be a module of this master pom having the packaging of type "jar". This way, every time you build, if something has changed in the configure.jar sources, this artefact will be rebuilt and redeployed. And yes, when the XSD changes, you have to rebuild the jar and, consequently, the associated maven artefact, doesn't it sound obvious to you ?
youhaodeyi <[email protected]> 27-08-2009 02:48 Please respond to "Maven Users List" <[email protected]> To [email protected] cc Subject Re: maven xmlbeans problem How can I create the first module? Do you mean I run the command "mvn install" on the configure.jar file? If so, every time the xsd file changed, I have to install the cnofigure.jar file manually. Nicolas Duminil wrote: > > You have to have a main pom having two modules: the first one installs > your configure.jar as an artefact in your local repository. The second one > is the one you've showed, to which you add a dependency to the previous > generated artefact. > > Nicolas > -- View this message in context: http://www.nabble.com/maven-xmlbeans-problem-tp25149630p25164219.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
