Do the module projects declare a parent, from which the distMgmt will be inherited?
/Anders (mobile) Den 2010 11 29 16:27 skrev "Pazmiño Mazón, Iván Andrés" <[email protected]>: > Hi, > > I'm having problems with a composite maven 2 project. I have set up a > base project which carries the <distributionManagement> configuration. > When it's extended by another project without modules it works just > fine. > > But now I happened to need to extend the base project from another > project which has some modules declared. The distribution management was > not inherited by the child project and when I tried to deploy it asked > for the configuration > > [INFO] Failed to configure plugin parameters for: > org.apache.maven.plugins:maven-deploy-plugin:2.4 > > check that the following section of the pom.xml is present and correct: > > <distributionManagement> > <!-- use the following if you're not using a snapshot version. --> > <repository> > <id>repo</id> > <name>Repository Name</name> > <url>scp://host/path/to/repo</url> > </repository> > <!-- use the following if you ARE using a snapshot version. --> > <snapshotRepository> > <id>repo</id> > <name>Repository Name</name> > <url>scp://host/path/to/repo</url> > </snapshotRepository> > </distributionManagement> > > What do I need to add in my configuration so it works? > > "Clausula de Confidencialidad: La información contenida en el presente mensaje es confidencial, está dirigida > exclusivamente a su destinatario y no puede ser vinculante. El Servicio de Rentas Internas no se > responsabiliza por su uso y deja expresa constancia que en los registros de la Institución consta la > información originalmente enviada. Este mensaje está protegido por la Ley de Propiedad Intelectual, Ley de > Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos internacionales relacionados. Si > usted no es el destinatario de este mensaje, recomendamos su eliminación inmediata. La distribución o copia > del mismo, está prohibida y será sancionada de acuerdo al Código Penal y demás normas aplicables. La > transmisión de información por correo electrónico, no garantiza que la misma sea segura o esté libre de error, > por consiguiente, se recomienda su verificación.Toda solicitud de información requerida de manera oficial al > SRI debe ser ingresada por Secretaría General y dirigida a la máxima autoridad de la Institución, conforme a > la Ley y demás normas vigentes." > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
