[JBoss JIRA] (FORGE-1036) REGRESSION: Buld and Install an addon fails
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1036?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1036:
-----------------------------------
Fix Version/s: 2.0.0.Alpha9
(was: 2.0.0.Alpha8)
> REGRESSION: Buld and Install an addon fails
> -------------------------------------------
>
> Key: FORGE-1036
> URL: https://issues.jboss.org/browse/FORGE-1036
> Project: Forge
> Issue Type: Bug
> Components: Build Tools - Maven
> Affects Versions: 2.0.0.Alpha7
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.0.0.Alpha9
>
>
> {code}
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for com.george.app:demo:jar:1.0.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 54, column 15
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building demo 1.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.267s
> [INFO] Finished at: Thu Jul 25 08:52:44 BRT 2013
> [INFO] Final Memory: 4M/113M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: The repository system is offline but the artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 is not available in the local repository. -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
> !ENTRY org.jboss.tools.forge.ui.ext 4 1 2013-07-25 08:52:44.557
> !MESSAGE Error logged from Forge Plugin:
> !STACK 0
> org.jboss.forge.addon.projects.building.BuildException: Build failed.
> at org.jboss.forge.addon.maven.projects.MavenProjectBuilder.build(MavenProjectBuilder.java:84)
> at org.jboss.forge.addon.manager.impl.commands.AddonBuildAndInstallCommand.execute(AddonBuildAndInstallCommand.java:78)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:52)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:64)
> at org.jboss.forge.addon.manager.impl.commands.AddonBuildAndInstallCommand_$$_javassist_7fbe78ee-910c-4ba9-aa1b-dcf95619d99f.execute(AddonBuildAndInstallCommand_$$_javassist_7fbe78ee-910c-4ba9-aa1b-dcf95619d99f.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:84)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:60)
> at org.jboss.forge.addon.ui.UICommand_$$_javassist_f9b5ce0a-b954-4c61-97f6-930356fada4d.execute(UICommand_$$_javassist_f9b5ce0a-b954-4c61-97f6-930356fada4d.java)
> at org.jboss.tools.forge.ui.ext.wizards.ForgeWizard$FinishJob.runInWorkspace(ForgeWizard.java:159)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (FORGE-1050) DependencyInstaller duplicates the version already set in the dependencyManagement section
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1050?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III closed FORGE-1050.
-------------------------------------
Assignee: Lincoln Baxter III
Fix Version/s: 2.0.0.Alpha8
(was: 2.x Future)
Resolution: Done
> DependencyInstaller duplicates the version already set in the dependencyManagement section
> ------------------------------------------------------------------------------------------
>
> Key: FORGE-1050
> URL: https://issues.jboss.org/browse/FORGE-1050
> Project: Forge
> Issue Type: Enhancement
> Components: Build Tools - Maven
> Affects Versions: 2.0.0.Alpha7
> Reporter: George Gastaldi
> Assignee: Lincoln Baxter III
> Fix For: 2.0.0.Alpha8
>
>
> Eg:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <modelVersion>4.0.0</modelVersion>
> <groupId>simple</groupId>
> <artifactId>simple</artifactId>
> <version>1.0.0-SNAPSHOT</version>
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.jboss.forge.furnace</groupId>
> <artifactId>container-cdi</artifactId>
> <version>2.0.0.Alpha7</version>
> <classifier>forge-addon</classifier>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.jboss.forge.addon</groupId>
> <artifactId>ui</artifactId>
> <version>2.0.0-SNAPSHOT</version>
> <classifier>forge-addon</classifier>
> </dependency>
> </dependencies>
> </dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.jboss.forge.furnace</groupId>
> <artifactId>container-cdi</artifactId>
> <version>2.0.0.Alpha7</version>
> <classifier>forge-addon</classifier>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.jboss.forge.addon</groupId>
> <artifactId>ui</artifactId>
> <version>2.0.0-SNAPSHOT</version>
> <classifier>forge-addon</classifier>
> </dependency>
> </dependencies>
> <build>
> <plugins>
> <plugin>
> <artifactId>maven-jar-plugin</artifactId>
> <executions>
> <execution>
> <id>create-forge-addon</id>
> <phase>package</phase>
> <goals>
> <goal>jar</goal>
> </goals>
> <configuration>
> <classifier>forge-addon</classifier>
> </configuration>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>3.1</version>
> <configuration>
> <source>1.6</source>
> <target>1.6</target>
> <encoding>UTF-8</encoding>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (FORGE-1050) DependencyInstaller duplicates the version already set in the dependencyManagement section
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1050:
--------------------------------------
Summary: DependencyInstaller duplicates the version already set in the dependencyManagement section
Key: FORGE-1050
URL: https://issues.jboss.org/browse/FORGE-1050
Project: Forge
Issue Type: Enhancement
Components: Build Tools - Maven
Affects Versions: 2.0.0.Alpha7
Reporter: George Gastaldi
Fix For: 2.x Future
Eg:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>simple</groupId>
<artifactId>simple</artifactId>
<version>1.0.0-SNAPSHOT</version>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.forge.furnace</groupId>
<artifactId>container-cdi</artifactId>
<version>2.0.0.Alpha7</version>
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>ui</artifactId>
<version>2.0.0-SNAPSHOT</version>
<classifier>forge-addon</classifier>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.forge.furnace</groupId>
<artifactId>container-cdi</artifactId>
<version>2.0.0.Alpha7</version>
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>ui</artifactId>
<version>2.0.0-SNAPSHOT</version>
<classifier>forge-addon</classifier>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>create-forge-addon</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>forge-addon</classifier>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</project>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (FORGE-1049) Furnace should support path-level import/export restrictions
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1049?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1049:
-----------------------------------
Component/s: Addon Manager
> Furnace should support path-level import/export restrictions
> ------------------------------------------------------------
>
> Key: FORGE-1049
> URL: https://issues.jboss.org/browse/FORGE-1049
> Project: Forge
> Issue Type: Enhancement
> Components: Addon Manager, Furnace (Container)
> Affects Versions: 2.0.0.Alpha7
> Reporter: Lincoln Baxter III
> Fix For: 2.x Future
>
>
> the addon manager is going to need to be ugpraded to correspond to some changes in furnace when they occur at some point
> 3:17 basically right now, all classes are exported by the module to its dependents
> 3:17 which is wrong
> 3:17 we should only export "compile" scoped dependencies
> 3:17 this means we will need to separate deps by scope at some point
> 3:18 and eventually i'd even like to add path spec support to specify which packages are exported/imported if people want to get really paranoid
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (FORGE-1049) Furnace should support path-level import/export restrictions
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-1049:
-----------------------------------------
Summary: Furnace should support path-level import/export restrictions
Key: FORGE-1049
URL: https://issues.jboss.org/browse/FORGE-1049
Project: Forge
Issue Type: Enhancement
Components: Furnace (Container)
Affects Versions: 2.0.0.Alpha7
Reporter: Lincoln Baxter III
Fix For: 2.x Future
the addon manager is going to need to be ugpraded to correspond to some changes in furnace when they occur at some point
3:17 basically right now, all classes are exported by the module to its dependents
3:17 which is wrong
3:17 we should only export "compile" scoped dependencies
3:17 this means we will need to separate deps by scope at some point
3:18 and eventually i'd even like to add path spec support to specify which packages are exported/imported if people want to get really paranoid
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months