[
https://issues.jboss.org/browse/JBIDE-16730?page=com.atlassian.jira.plugi...
]
Fred Bricon resolved JBIDE-16730.
---------------------------------
Resolution: Done
Turns out the groovy script didn't build all the archetype versions from stacks.yaml.
Fixed now.
You can test the fix right now by issuing the following command in a terminal :
{code}
groovy
https://raw.githubusercontent.com/jbosstools/jbosstools-central/master/ex...
-e
{code}
Also, in your report, you didn't mention performing one critical step of the
procedure, which is to copy the content of your offline repository to your local maven
repo. The alternative is to make your settings.xml point at the local offline repo.
This step is explicitely stated in the Offline Preference page, I committed a modification
where it's put in bold, so it's harder to miss.
JBoss Maven Archetypes won't import in offline mode
---------------------------------------------------
Key: JBIDE-16730
URL:
https://issues.jboss.org/browse/JBIDE-16730
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples
Affects Versions: 4.1.2.CR1
Environment: JBT 4.1.2.CR1,
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Fedora 20
Reporter: Radim Hopp
Assignee: Fred Bricon
Fix For: 4.2.0.Beta2
I've executed groovy offline script and switched jboss tools to offline mode.
All examples are working, so I think I have the offline mode configured correclty.
Well... all examples except JBoss Maven Archetypes (those 4 from JBoss Central, and the
rest from New Project Example wizard under JBoss Maven Archetypes section).
All archetypes end up with "Could not resolve archetype" error
For example for HTML5 Project archetype:
{noformat}"Could not resolve artifact
org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:pom:1.0.0.M5"{noformat}
When I look into local repository, generated by groovy script, I see
org/jboss/aerogear/archetypes/jboss-html5-mobile-archetype/1.0.0.M5 folder empty (except
maven .lastUpdated and .properties files).
Although in org/jboss/aerogear/archetypes/jboss-html5-mobile-archetype/7.1.3.Final, there
is jar with that project.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)