Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Maven static weaving plugin(Maven static weaving plugin)
Maven static weaving plugin [message #688756] Sat, 25 June 2011 11:55 Go to next message
Craig Day is currently offline Craig Day
Messages: 4
Registered: June 2011
Junior Member
There is now a native Maven plugin to perform static weaving:
    <build>
        <plugins>
            <plugin>
                <artifactId>eclipselink-staticweave-maven-plugin</artifactId>
                <groupId>au.com.alderaan</groupId>
                <version>1.0.1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>weave</goal>
                        </goals>
                        <phase>process-classes</phase>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

Further details can be found at code.google.com/p/eclipselink-staticweave-maven-plugin/
Re: Maven static weaving plugin [message #693213 is a reply to message #688756] Tue, 05 July 2011 23:13 Go to previous message
Daniel Ford is currently offline Daniel Ford
Messages: 138
Registered: July 2009
Location: New York
Senior Member
I thought I'd give this a try last night, but I ran into some problems.

Execution default of goal
au.com.alderaan:eclipselink-staticweave-maven-plugin:1.0.1:weave failed:
Plugin
au.com.alderaan:eclipselink-staticweave-maven-plugin:1.0.1 or one of
its dependencies could not be resolved:
The following artifacts could not be resolved:
org.eclipse.persistence:eclipselink:jar:2.2.0,
org.eclipse.persistence:javax.persistence:jar:2.0.0: Could not find
artifact org.eclipse.persistence:eclipselink:jar:
2.2.0 in central (http://repo1.maven.org/maven2)
(au.com.alderaan:eclipselink-staticweave-maven-plugin:
1.0.1:weave:default:process-classes)

The needed dependencies are sitting in the local repository on my
machine, but as the error message indicates, they are not to be found in
http://repo1.maven.org/maven2.

I'm still new to maven, but I would have thought that the artifacts in
my local repository would have been found first.

This discussion:

http://maven.40175.n5.nabble.com/Not-finding-artifact-in-local-repo-td3727753.html

seems relevant, but I wasn't able to resolve anything.

I'm running maven3.

Any suggestions?

Dan



On 6/25/2011 11:55 AM, Craig Day wrote:
> There is now a native Maven plugin to perform static weaving:
>
> <build>
> <plugins>
> <plugin>
> <artifactId>eclipselink-staticweave-maven-plugin</artifactId>
> <groupId>au.com.alderaan</groupId>
> <version>1.0.1</version>
> <executions>
> <execution>
> <goals>
> <goal>weave</goal>
> </goals>
> <phase>process-classes</phase>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
>
> Further details can be found at
> code.google.com/p/eclipselink-staticweave-maven-plugin/
Previous Topic:[Moxy] Mixed objects
Next Topic:Using @PrivateOwned
Goto Forum:
  


Current Time: Fri Apr 18 14:25:49 EDT 2014

Powered by FUDForum. Page generated in 0.02103 seconds