Trouble moving project
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
Trouble moving project
I'm moving to a new work machine.
I've moved the sources from old to new machine but am seeing an error when Netbeans is trying to get the maven resources during build.
my settings file is from my old and working machine
I'm using the same version of netbeans, but new OS is Fedora . Same java version also.
Scott
I've moved the sources from old to new machine but am seeing an error when Netbeans is trying to get the maven resources during build.
Code: Select all
Failed to execute goal on project mbep-editor: Could not resolve dependencies for project myGroup:mbep-editor:jar:1.0-SNAPSHOT: Failed to collect dependencies at myGroup:bundle-frameworks:jar:1.0-SNAPSHOT: Failed to read artifact descriptor for myGroup:bundle-frameworks:jar:1.0-SNAPSHOT: Could not transfer artifact myGroup:bundle-frameworks:pom:1.0-SNAPSHOT from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [public (http://www.oxygenxml.com/maven, default, releases+snapshots)] -> [Help 1]
Code: Select all
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
<!-- ... Other settings .... -->
<profiles>
<profile>
<id>oxy</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>public</id>
<name>oXygen public artifacts</name>
<url>http://www.oxygenxml.com/maven</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!-- ... Other repository definitions ...-->
</repositories>
</profile>
</profiles>
<!-- ... Other settings .... -->
</settings>
Scott
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Trouble moving project
Hi Scott,
I googled for "maven Blocked mirror for repositories" and it seems Maven might block by default references to "http" repositories.
How about if you use our HTTPS address instead "https://www.oxygenxml.com/maven/" ?
Regards,
Radu
I googled for "maven Blocked mirror for repositories" and it seems Maven might block by default references to "http" repositories.
How about if you use our HTTPS address instead "https://www.oxygenxml.com/maven/" ?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
Re: Trouble moving project
Still no joy after changing to https
these are the 4 jars, I think they are all yours?
the pom entries are
which look ok to me?
these are the 4 jars, I think they are all yours?
Code: Select all
Resolving artifact myGroup:bundle-frameworks:jar:1.0-SNAPSHOT from [public (https://www.oxygenxml.com/maven, default, releases+snapshots), central (https://repo1.maven.org/maven2, default, releases), com.springsource.repository.bundles.release (https://repository.springsource.com/maven/bundles/release, default, releases+snapshots), com.springsource.repository.bundles.external (https://repository.springsource.com/maven/bundles/external, default, releases+snapshots)]
Resolving artifact myGroup:bundle-options:jar:1.0-SNAPSHOT from [public (https://www.oxygenxml.com/maven, default, releases+snapshots), central (https://repo1.maven.org/maven2, default, releases), com.springsource.repository.bundles.release (https://repository.springsource.com/maven/bundles/release, default, releases+snapshots), com.springsource.repository.bundles.external (https://repository.springsource.com/maven/bundles/external, default, releases+snapshots)]
Resolving artifact myGroup:bundle-samplefiles:jar:1.0-SNAPSHOT from [public (https://www.oxygenxml.com/maven, default, releases+snapshots), central (https://repo1.maven.org/maven2, default, releases), com.springsource.repository.bundles.release (https://repository.springsource.com/maven/bundles/release, default, releases+snapshots), com.springsource.repository.bundles.external (https://repository.springsource.com/maven/bundles/external, default, releases+snapshots)]
Resolving artifact mbep.junique:mbep.junique:jar:1.0.4 from [public (https://www.oxygenxml.com/maven, default, releases+snapshots), central (https://repo1.maven.org/maven2, default, releases), com.springsource.repository.bundles.release (https://repository.springsource.com/maven/bundles/release, default, releases+snapshots), com.springsource.repository.bundles.external (https://repository.springsource.com/maven/bundles/external, default, releases+snapshots)]
Code: Select all
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bundle-frameworks</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bundle-options</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bundle-samplefiles</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mbep.junique</groupId>
<artifactId>mbep.junique</artifactId>
<version>1.0.4</version>
</dependency>
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
Re: Trouble moving project
So I thought maybe this is a Netbeans issue, so I installed Eclipse and imported the project and got these 4 errors
Description Resource Path Location Type
Missing artifact myGroup:bundle-samplefiles:jar:1.0-SNAPSHOT pom.xml /mbep-editor line 63 Maven Dependency Problem
Missing artifact myGroup:bundle-options:jar:1.0-SNAPSHOT pom.xml /mbep-editor line 57 Maven Dependency Problem
Missing artifact myGroup:bundle-frameworks:jar:1.0-SNAPSHOT pom.xml /mbep-editor line 51 Maven Dependency Problem
Missing artifact mbep.junique:mbep.junique:jar:1.0.4 pom.xml /mbep-editor line 121 Maven Dependency Problem
Scott
Description Resource Path Location Type
Missing artifact myGroup:bundle-samplefiles:jar:1.0-SNAPSHOT pom.xml /mbep-editor line 63 Maven Dependency Problem
Missing artifact myGroup:bundle-options:jar:1.0-SNAPSHOT pom.xml /mbep-editor line 57 Maven Dependency Problem
Missing artifact myGroup:bundle-frameworks:jar:1.0-SNAPSHOT pom.xml /mbep-editor line 51 Maven Dependency Problem
Missing artifact mbep.junique:mbep.junique:jar:1.0.4 pom.xml /mbep-editor line 121 Maven Dependency Problem
Scott
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
Re: Trouble moving project
Solution found.
I removed these 3 jars as I wasn't using them
bundle-samplefiles:jar
bundle-options:jar
bundle-frameworks:jar
the junique.jar I changed its source , its not in the central or springs plugin repo anymore, or at least I can't find it
somebody did a custom build that is in the central repo
<!-- https://mvnrepository.com/artifact/de.h ... ty.junique -->
<dependency>
<groupId>de.huxhorn.lilith</groupId>
<artifactId>de.huxhorn.lilith.3rdparty.junique</artifactId>
<version>1.0.4</version>
</dependency>
So I added that and my project now builds and runs.
Scott
I removed these 3 jars as I wasn't using them
bundle-samplefiles:jar
bundle-options:jar
bundle-frameworks:jar
the junique.jar I changed its source , its not in the central or springs plugin repo anymore, or at least I can't find it
somebody did a custom build that is in the central repo
<!-- https://mvnrepository.com/artifact/de.h ... ty.junique -->
<dependency>
<groupId>de.huxhorn.lilith</groupId>
<artifactId>de.huxhorn.lilith.3rdparty.junique</artifactId>
<version>1.0.4</version>
</dependency>
So I added that and my project now builds and runs.
Scott
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service