Grégory Joseph <[email protected]> wrote:
>[...]
> Now -- there is admittedly a problem with our build at the moment; I
> won't go into too much details, but our parent poms aren't properly
> synched to the central maven repository, so this is probably where the
> build started failing. A ~/.m2/settings.xml file like this should
> suffice:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <settings xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance "
>           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/settings-1.0.0.xsd ">
>    <profiles>
>     <profile>
>       <id>my-default-profile</id>
>       <activation>
>         <activeByDefault>true</activeByDefault>
>       </activation>
>       <repositories>
>         <repository>
>           <id>magnolia</id>
>           <url>http://repo.magnolia-cms.com/m2</url>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>         </repository>
>     </profile>
>   </profiles>
> </settings>

Thanks, this was the missing part of the puzzle. Your sample lacks
a </repositories> end tag, but after correcting this my module-build
worked flawlessly. I have verified this by clearing my ~/.m2 and
checking out a fresh version of "community" before building.

>[...]
> I am not going to say our current build is perfect, nor that Maven is.
> Far from there; see above. Now that you have a little more grasp on
> things, if it all works, I'm sure it'd be helpful for others if you
> shared your experience on the wiki; specifically, there are pages
> which are probably outdated, give wrong indications, or miss some
> details.
>
> Also, if you don't like working by "trial-and-horror" (I don't), why
> not report the problem clearly directly ? I'm sure that by reporting
> the error you got on this list, you'd have had better results (and
> probably less random ones at that) ...
>
> Cheers -- and please let me know if it all works now.

Yes it works now. Once again, thanks for your help!

-- 
Björn Danielsson  <[email protected]>

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to