[MAGNOLIA-402] SVN version of project.xml maven POM defined dependencies NOT available Created: 23/May/05  Updated: 15/Jun/05  Resolved: 02/Jun/05

Status: Closed
Project: Magnolia
Component/s: build
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Bug Priority: Major
Reporter: Ramon Buckland Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Maven


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Three dependencies specified in the project.xml (Maven project file)
are not available via the URLs specified in the file, or are not
found at any of the listed repositories in the project.properties.

Workaround is to comment out the three dependencies
as it appears they are used to generate reports.

Either remove, if not needed, or put on a public repository.

The dependencies are ...
specified as

<dependency>
<groupId>maven-plugins</groupId>
<artifactId>maven-findbugs-plugin</artifactId>
<version>0.8.5</version>
<type>plugin</type>
<properties>
<comment>maven plugin for the findbug report. UNOFFICIAL RELEASE hosted at magnolia.sf.net</comment>
</properties>
</dependency>

<dependency>
<groupId>maven</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>1.7-UNOFFICIAL-1</version>
<type>plugin</type>
<url>http://magnolia.sourceforge.net/maven/repository/maven/plugins/maven-war-plugin-1.7-UNOFFICIAL-1.jar</url>
<properties>
<comment>
war plugin: unofficial builds which adds the patch in http://jira.codehaus.org/browse/MPWAR-30
</comment>
</properties>
</dependency>
<dependency>
<groupId>maven</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>1.10-UNOFFICIAL-2</version>
<type>plugin</type>
<url>http://magnolia.sourceforge.net/maven/repository/maven/plugins/maven-war-plugin-1.10-UNOFFICIAL-2.jar</url>
<properties>
<comment>
maven eclipse plugin: unofficial builds which contains WTP features
</comment>
</properties>
</dependency>



 Comments   
Comment by Fabrizio Giustina [ 23/May/05 ]

Hi Ramon
the dependencies are available in a maven repository at magnolia.sf.net, and they should be downloaded automatically by maven.

The repository is listed in project.properties:
maven.repo.remote=
http://magnolia.sourceforge.net/repository,
http://www.ibiblio.org/maven/,
http://www.day.com/maven/

Are you sure you didn't override maven.repo.remote in your configuration? If you have http://magnolia.sourceforge.net/repository it should work

Comment by Ramon Buckland [ 23/May/05 ]

Yep, that was it.

my ~/build.properties is a bit of a custom one and
was missing the magonlia.sourceforge.net/repository

Thanks Fabrizio.

The <url../> tags for the last two dependencies in that
case are wrong
http://magnolia.sourceforge.net/maven/repository/maven/plugins/maven-war-plugin-1.10-UNOFFICIAL-2.jar

needs to drop the top parent /maven

http://magnolia.sourceforge.net/repository/maven/plugins/maven-war-plugin-1.10-UNOFFICIAL-2.jar

No biggy .. all is well.

Comment by Fabrizio Giustina [ 02/Jun/05 ]

urls fixed in svn

Generated at Mon Feb 12 03:17:04 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.