Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ webproj ---
- [INFO] No sources to compile
- [INFO]
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.4</version>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>exploded</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <webXml>WebContentWEB-INFweb.xml</webXml>
- <webappDirectory>WebContent</webappDirectory>
- <source>${project.basedir}src</source>
- <target>${maven.compiler.target}</target>
- <encoding>utf-8</encoding>
- </configuration>
- </plugin>
- <build>
- <sourceDirectory>/Java Resources/src</sourceDirectory>
- <plugins>
- ...
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>${version.build-helper-maven-plugin}</version>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>social/src/main/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- ...
- </plugins>
- <build>
- <project>
- ...
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <warSourceDirectory>old/project/source</warSourceDirectory>
- </configuration>
- </plugin>
- </plugins>
- </build>
- ...
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement