Skip to main content


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 15:55 Go to next message
Craig Day is currently offline Craig DayFriend
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] Wed, 06 July 2011 03:13 Go to previous message
Daniel Ford is currently offline Daniel FordFriend
Messages: 148
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 26 17:31:09 GMT 2024

Powered by FUDForum. Page generated in 0.02956 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top