Login  Register

Re: Problem with GLProfile and jogl2-rc2

Posted by reyman on Oct 28, 2011; 4:15pm
URL: https://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3461433.html

Le ven. 28 oct. 2011 17:41:25 CEST, gouessej [via jogamp] a écrit :

> One last problem: I don't know if Eclipse behaves correctly when a
> project is imported from SVN as a Maven project (by using M2Eclipse).
> Does it handle the dependencies as JARs in the class path? If not, the
> developers will see a lot of warnings, Eclipse builder will believe
> that the JARs are missing even though Maven will be able to make the
> build... except if you manually copy the JARs into the workspace :(
> Using Maven Eclipse plugin is not fine because it ties the project
> with Eclipse whereas there are some other IDEs...
> Julien Gouesse
> http://tuer.sourceforge.net
> http://gouessej.wordpress.com
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3461313.html 
>
> To unsubscribe from Problem with GLProfile and jogl2-rc2, click here
> <
>

If you create a maven with a plugin assembly, you have the dependencies
in the jar ( mvn assembly:assembly on cmd line)

<build>
    <plugins>
        <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-assembly-plugin</artifactId>
    <version>2.2</version>
    <configuration>
      <descriptorRefs>
        <descriptorRef>jar-with-dependencies</descriptorRef>
      </descriptorRefs>
    </configuration>
    <executions>
      <execution>
        <phase>package</phase>
        <goals>
          <goal>single</goal>
        </goals>
      </execution>
    </executions>
  </plugin>
    </plugins>
</build>