I create blank app to use, maven + eclipse gae plugin

http://github.com/phstc/SpringGAE

I added this plugin in pom.xml, to copy libraries to WEB-INF/lib

http://github.com/phstc/SpringGAE/blob/master/pom.xml

<build>

    <plugins>
            <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <executions>
                            <execution>
                                    <id>copy-dependencies</id>
                                    <phase>package</phase>
                                    <goals>
                                            <goal>copy-dependencies</goal>
                                    </goals>
                                    <configuration>

<outputDirectory>./war/WEB-INF/lib</outputDirectory>

<excludeTransitive>false</excludeTransitive>
                                            <excludeTypes>pom</excludeTypes>
                                    </configuration>
                            </execution>
                    </executions>
            </plugin>
    </plugins>
</build>


You need run "mvn clean install" to copy libraries.

Best Regards,
Pablo

On Mon, Jun 21, 2010 at 4:14 PM, Rajeev Dayal <[email protected]> wrote:

> Are you using the Google Plugin for Eclipse, or is this just a Maven
> project in Eclipse?
>
> On Fri, Jun 18, 2010 at 5:17 PM, Jan-Hendrik Lendholt <
> [email protected]> wrote:
>
>> Thanks for the reply.
>>
>> I simply want to manage my dependencies that will at the end be copied
>> to war/WEB-INF/lib.
>>
>> Isn't there a more leightweight solution? Searching for all
>> dependencies for Spring 3 is pretty messy and it gets even more messy
>> when I try to upgrade :(
>>
>> On 18 Jun., 00:05, Robert Munteanu <[email protected]> wrote:
>> > On Jun 17, 10:34 pm, Jan-Hendrik Lendholt
>> >
>> > <[email protected]> wrote:
>> > > Hi there,
>> >
>> > > I created an app engine project (without GWT). All looks good: Folders
>> > > created, servlet there, startup, it runs.
>> >
>> > > Now I have m2eclipse and enabled the dependency resolution. I don't
>> > > necessarily need the GAE libraries as from maven, but Spring, webflow
>> > > and so on would be cool.
>> >
>> > > m2eclipse downloads the jars and adds them as a library to my project.
>> > > But those don't get copied to war/WEB-INF/lib so the app crashes.
>> >
>> > > Are there any secrets on how to let these jars be synced with the war/
>> > > WEB-INF/lib folder?
>> >
>> > I suggest you take a look at
>> >
>> > http://code.google.com/p/maven-gae-plugin/
>> >
>> > It's what I'm using and it works just fine.
>> >
>> > Robert
>> >
>> >
>> >
>> >
>> >
>> > > Thanks in advance!
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine-java%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to