> From: [email protected]
> Date: Wed, 21 May 2014 18:28:01 +0200
> Subject: Re: Invalid pom during release perform while valid during usual mvn
> install
> To: [email protected]
>
> My thanks for speedy reply Baptiste. I'm using
> org.apache.maven.plugins:maven-release-plugin:2.3.2
>
> pozdrawiam,
> LAFK
>
>
> 2014-05-21 17:12 GMT+02:00 Baptiste Mathus <[email protected]>:
>
> > Which version of the maven-release-plugin are you using?
> >
> > Cheers
> >
> >
> > 2014-05-21 13:54 GMT+02:00 Tomasz Borek <[email protected]>:
> >
> > > Ave!
> > >
> > > I've a problem with mvn release:perform, which fails on invalid POM and
> > > cuts of it's dependencies giving me compilation failure later
> > >
> > >
> > > *EVEN THOUGH POM is valid.*I've arrived here via:
> > >
> > http://maven.apache.org/maven-release/maven-release-plugin/mail-lists.html
> > >
> > > Full problem description is available at SO:
> > >
> > >
> > http://stackoverflow.com/questions/23546159/false-compile-error-during-mvn-releaseperform-says-invalid-pom-while-pom-is-fin
MG>at least *one * repository in <distribution-management> should reference
the repository which contains MG>org.springframework.jdbc-<version>.jar an
example of which is:
<distributionManagement>
<repository>
<id>spring-milestone</id>
<name>Spring Milestone Repository</name>
<url>http://maven.springframework.org/milestone</url>
</repository>
<snapshotRepository>
<id>spring-snapshot</id>
<name>Spring Snapshot Repository</name>
<url>http://maven.springframework.org/snapshot</url>
</snapshotRepository>
</distributionManagement>
MG>I dont know which version of spring you are implementing
MG>majority of Spring versions are listed in artifact folder of
mvnrepository.com here:
MG>http://mvnrepository.com/artifact/org.springframework/spring-jdbc
> > >
> > > I'm quite puzzled what's going on, any pointers are welcome.
> > >
> > > pozdrawiam,
> > > LAFK
> > >
> >
> >
> >
> > --
> > Baptiste <Batmat> MATHUS - http://batmat.net
> > Sauvez un arbre,
> > Mangez un castor !
> >